I_NominationDocNumberVH
Nomination Document Number
I_NominationDocNumberVH is a Basic CDS View that provides data about "Nomination Document Number" in SAP S/4HANA. It reads from 4 data sources (ekko, ekpo, vbak, vbap) and exposes 19 fields with key fields NominationReferenceDocument, NominationReferenceDocItem, NominationReferenceDocItem. It has 4 associations to related views.
Data Sources (4)
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _ShipToParty | $projection.ShipToParty = _ShipToParty.Customer |
| [0..1] | I_Customer | _SoldToParty | $projection.SoldToParty = _SoldToParty.Customer |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | INOMRDOCNUM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Nomination Document Number | view | |
| Consumption.ranked | true | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | NominationReferenceDocument | ekpo | ebeln | |
| KEY | NominationReferenceDocItem | Ref. Document Item | ||
| Supplier | ekko | lifnr | ||
| Customer | ekpo | kunnr | ||
| ShipToParty | Ship To Party | |||
| SoldToParty | Sold To Party | |||
| _Customer | _Customer | |||
| _ShipToParty | _ShipToParty | |||
| _SoldToParty | _SoldToParty | |||
| vbelnasNominationReferenceDocument | ||||
| KEY | NominationReferenceDocItem | posnr | ||
| Supplier | ||||
| Customer | ||||
| ShipToParty | ||||
| SoldToParty | vbak | kunnr | ||
| _Customer | _Customer | |||
| _ShipToParty | _ShipToParty | |||
| _SoldToParty | _SoldToParty | |||
| _Supplier | _Supplier |
@AbapCatalog.sqlViewName: 'INOMRDOCNUM'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #BASIC
@Search.searchable: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel:{
usageType.serviceQuality: #B,
usageType.sizeCategory: #XL,
usageType.dataClass: #TRANSACTIONAL,
dataCategory:#VALUE_HELP
}
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Nomination Document Number'
@Consumption.ranked: true
define view I_NominationDocNumberVH
as select from ekpo
inner join ekko on ekpo.ebeln = ekko.ebeln
association [0..1] to I_Customer as _ShipToParty on $projection.ShipToParty = _ShipToParty.Customer
association [0..1] to I_Customer as _SoldToParty on $projection.SoldToParty = _SoldToParty.Customer
association [0..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
association [0..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
{
@Search.defaultSearchElement: true
@Search: { ranking: #HIGH, fuzzinessThreshold: 0.8 }
key ekpo.ebeln as NominationReferenceDocument,
@EndUserText.label: 'Ref. Document Item'
@Search: { defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
key cast(ebelp as abap.char(6)) as NominationReferenceDocItem,
//dpp relevant fields added
ekko.lifnr as Supplier,
ekpo.kunnr as Customer,
@EndUserText.label: 'Ship To Party'
@Search: { defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
cast(' ' as abap.char(10)) as ShipToParty,
@EndUserText.label: 'Sold To Party'
@Search: { defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
cast(' ' as abap.char(10)) as SoldToParty,
_Customer,
_ShipToParty,
_SoldToParty,
_Supplier
}
union
select from vbap
inner join vbak on vbap.vbeln = vbak.vbeln
association [0..1] to I_Customer as _ShipToParty on $projection.ShipToParty = _ShipToParty.Customer
association [0..1] to I_Customer as _SoldToParty on $projection.SoldToParty = _SoldToParty.Customer
association [0..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
association [0..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
{
@Search.defaultSearchElement: true
key vbak.vbeln as NominationReferenceDocument,
key posnr as NominationReferenceDocItem,
//dpp relevant fields added
cast(' ' as abap.char(10)) as Supplier,
cast(' ' as abap.char(10)) as Customer,
// vbap.oid_ship as ShipToParty,
cast(' ' as abap.char(10)) as ShipToParty,
vbak.kunnr as SoldToParty,
_Customer,
_ShipToParty,
_SoldToParty,
_Supplier
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EKKO",
"EKPO",
"VBAK",
"VBAP"
],
"ASSOCIATED":
[
"I_CUSTOMER",
"I_SUPPLIER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA