C_CustRetSubsqntOutbDeliv

DDL: C_CUSTRETSUBSQNTOUTBDELIV SQL: CCRTOUTBDELIV Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_DeliveryDocumentItem OutboundDelivery from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MaterialText _MaterialText $projection.Product = _MaterialText.Material

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/