C_CustRetSubsqntOutbDeliv
Returns Order Subsqnt Outbound Delivery
C_CustRetSubsqntOutbDeliv is a Consumption CDS View that provides data about "Returns Order Subsqnt Outbound Delivery" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocumentItem) and exposes 11 fields with key fields OutboundDelivery, OutboundDeliveryItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DeliveryDocumentItem | OutboundDelivery | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MaterialText | _MaterialText | $projection.Product = _MaterialText.Material |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CCRTOUTBDELIV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Returns Order Subsqnt Outbound Delivery | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OutboundDelivery | DeliveryDocument | ||
| KEY | OutboundDeliveryItem | DeliveryDocumentItem | ||
| TargetDelivQtyInOrderQtyUnit | ||||
| DeliveryQuantityUnit | DeliveryQuantityUnit | |||
| ActualDeliveredQtyInBaseUnit | ActualDeliveredQtyInBaseUnit | |||
| BaseUnit | BaseUnit | |||
| ReferenceSDDocument | ReferenceSDDocument | |||
| ReferenceSDDocumentItem | ReferenceSDDocumentItem | |||
| Product | ||||
| _MaterialText | _MaterialText | |||
| _DeliveryDocument | _DeliveryDocument |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'CCRTOUTBDELIV'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Returns Order Subsqnt Outbound Delivery'
@VDM.viewType: #CONSUMPTION
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
}
define view C_CustRetSubsqntOutbDeliv
as select from I_DeliveryDocumentItem as OutboundDelivery
association [0..*] to I_MaterialText as _MaterialText on $projection.Product = _MaterialText.Material
{
key DeliveryDocument as OutboundDelivery,
key DeliveryDocumentItem as OutboundDeliveryItem,
@Semantics.quantity.unitOfMeasure: 'DeliveryQuantityUnit'
(DIVISION (ActualDeliveryQuantity * DeliveryToBaseQuantityDnmntr, DeliveryToBaseQuantityNmrtr,3)) as TargetDelivQtyInOrderQtyUnit,
@Semantics.unitOfMeasure: true
DeliveryQuantityUnit,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
ActualDeliveredQtyInBaseUnit,
@Semantics.unitOfMeasure: true
BaseUnit,
@UI.hidden: true
ReferenceSDDocument,
@UI.hidden: true
ReferenceSDDocumentItem,
@ObjectModel.text.association: '_MaterialText'
cast(Product as productnumber preserving type) as Product,
_MaterialText,
_DeliveryDocument
}
where SDDocumentCategory = 'J'
and ReferenceSDDocumentCategory='I'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DELIVERYDOCUMENTITEM"
],
"ASSOCIATED":
[
"I_DELIVERYDOCUMENT",
"I_MATERIALTEXT"
],
"BASE":
[
"I_DELIVERYDOCUMENTITEM"
],
"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