C_SustDeliveryDocumentDEX
Delivery Documents Extractor
C_SustDeliveryDocumentDEX is a Consumption CDS View (Fact) that provides data about "Delivery Documents Extractor" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 22 fields with key field DeliveryDocument. It has 1 association to related views. Part of development package VDM_SUS_FND_EXTRACTION.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DeliveryDocument | I_DeliveryDocument | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SDDocumentPartner | _SDDocumentCompletePartners | $projection.DeliveryDocument = _SDDocumentCompletePartners.SDDocument and _SDDocumentCompletePartners.PartnerFunction = 'WE' and ( _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'D' or _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'E' or _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'F' ) |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Delivery Documents Extractor | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.sapObjectNodeType.name | DeliveryDocument | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.technicalName | CSUSTDLVRYDOCDEX | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DeliveryDocument | DeliveryDocument | ||
| DeliveryDocumentType | DeliveryDocumentType | |||
| SalesOrganization | SalesOrganization | |||
| ShippingPoint | ShippingPoint | |||
| ShipToParty | ShipToParty | |||
| ShipToPartyAddressID | _SDDocumentCompletePartners | AddressID | ||
| ShipToPartyCountry | ||||
| ShipToPartyRegion | ||||
| SoldToParty | SoldToParty | |||
| SoldToPartyAddressID | _SoldToParty | AddressID | ||
| SoldToPartyCountry | _SoldToParty | Country | ||
| SoldToPartyRegion | _SoldToParty | Region | ||
| ActualGoodsMovementDate | ActualGoodsMovementDate | |||
| IncotermsClassification | IncotermsClassification | |||
| OverallSDProcessStatus | OverallSDProcessStatus | |||
| OverallGoodsMovementStatus | OverallGoodsMovementStatus | |||
| CreatedByUser | CreatedByUser | |||
| CreationDate | CreationDate | |||
| CreationTime | CreationTime | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDate | LastChangeDate | |||
| DeletionIndicator | DeletionIndicator |
@EndUserText.label: 'Delivery Documents Extractor'
@AccessControl: {
authorizationCheck: #PRIVILEGED_ONLY,
personalData.blocking: #NOT_REQUIRED
}
@Metadata: {
ignorePropagatedAnnotations: true
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #XL
},
sapObjectNodeType.name: 'DeliveryDocument',
supportedCapabilities: [#EXTRACTION_DATA_SOURCE],
modelingPattern: #NONE
}
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@Analytics: {
dataCategory: #FACT,
internalName:#LOCAL,
technicalName: 'CSUSTDLVRYDOCDEX',
dataExtraction: {
enabled: true,
delta.changeDataCapture:
{ mapping:
[
{ role: #MAIN, table: 'likp', tableElement: ['vbeln'], viewElement: ['DeliveryDocument'] },
{ role: #LEFT_OUTER_TO_ONE_JOIN, table: 'vbpa', tableElement: ['vbeln'], viewElement: ['DeliveryDocument'] },
{ role: #LEFT_OUTER_TO_ONE_JOIN, table: 'adrc', tableElement: ['addrnumber'], viewElement: ['ShipToPartyAddressID'] },
{ role: #LEFT_OUTER_TO_ONE_JOIN, table: 'adrc', tableElement: ['addrnumber'], viewElement: ['SoldToPartyAddressID'] }
]
}
}
}
define view entity C_SustDeliveryDocumentDEX
as select from I_DeliveryDocument
//Associations
association [0..1] to I_SDDocumentPartner as _SDDocumentCompletePartners on $projection.DeliveryDocument = _SDDocumentCompletePartners.SDDocument
and _SDDocumentCompletePartners.PartnerFunction = 'WE'
and (
_SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'D'
or _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'E'
or _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'F'
)
{
key DeliveryDocument,
DeliveryDocumentType,
SalesOrganization,
ShippingPoint,
//Ship to party
ShipToParty,
_SDDocumentCompletePartners.AddressID as ShipToPartyAddressID, //necessary for delta CDC only
_SDDocumentCompletePartners._DfltAddrRprstn.Country as ShipToPartyCountry,
_SDDocumentCompletePartners._DfltAddrRprstn.Region as ShipToPartyRegion,
//Sold to party
SoldToParty,
_SoldToParty.AddressID as SoldToPartyAddressID, //necessary for delta CDC only
_SoldToParty.Country as SoldToPartyCountry,
_SoldToParty.Region as SoldToPartyRegion,
//Goods movement
ActualGoodsMovementDate,
IncotermsClassification,
//Status
OverallSDProcessStatus,
OverallGoodsMovementStatus,
//Admin
CreatedByUser,
CreationDate,
CreationTime,
LastChangedByUser,
LastChangeDate,
DeletionIndicator
};
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