C_OutboundDeliveryCreate

DDL: C_OUTBOUNDDELIVERYCREATE SQL: CCREATEOBNDDELV Type: view CONSUMPTION

Create Outbound Delivery

C_OutboundDeliveryCreate is a Consumption CDS View that provides data about "Create Outbound Delivery" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDueIndex) and exposes 61 fields with key fields DeliveryCreationDate, GoodsIssueDate, SDDocument, ShippingPoint, ShipToParty. It has 11 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDueIndex I_DeliveryDueIndex from

Associations (11)

CardinalityTargetAliasCondition
[0..1] C_DeliveryShipToPartyVH _DlvShipToPartyVH $projection.ShipToParty = _DlvShipToPartyVH.Customer and $projection.ShipToPartyAddressID = _DlvShipToPartyVH.AddressID
[0..1] C_DeliverySoldToPartyVH _DlvSoldToPartyVH $projection.SoldToParty = _DlvSoldToPartyVH.Customer and $projection.SoldToPartyAddressID = _DlvSoldToPartyVH.AddressID
[0..1] C_SDDocumentVH _SDDocumentVH $projection.SDDocument = _SDDocumentVH.SalesDocument
[0..1] I_DeliveryPriority _DeliveryPriority $projection.DeliveryPriority = _DeliveryPriority.DeliveryPriority
[0..1] C_ShippingPointVH _ShippingPointVH $projection.ShippingPoint = _ShippingPointVH.ShippingPoint
[0..1] C_DeliverySalesDocumentTypeVH _DeliverySalesDocumentTypeVH $projection.SalesDocumentType = _DeliverySalesDocumentTypeVH.SalesDocumentType
[0..1] I_TranspMgmtIntegrationControl _SoForTM $projection.TransportationMgmtControlKey = _SoForTM.TransportationMgmtControlKey
[0..1] I_SlsOrderToTranspMgmt _SlsOrderToTranspMgmt $projection.SlsOrdIsRelevantForTranspMgmt = _SlsOrderToTranspMgmt.SlsOrdIsRelevantForTranspMgmt
[0..1] C_SDDocCatOutbDelivSlsOrdVH _DocumentCategoryVH $projection.SDDocumentCategory = _DocumentCategoryVH.SDDocumentCategory
[0..1] I_OrganizationAddress _ShipToPartyAddress $projection.ShipToPartyAddressID = _ShipToPartyAddress.AddressID and _ShipToPartyAddress.AddressPersonID is initial and _ShipToPartyAddress.AddressRepresentationCode is initial
[0..1] I_OrganizationAddress _SoldToPartyAddress $projection.SoldToPartyAddressID = _SoldToPartyAddress.AddressID and _SoldToPartyAddress.AddressPersonID is initial and _SoldToPartyAddress.AddressRepresentationCode is initial

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CCREATEOBNDDELV view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Create Outbound Delivery view
ObjectModel.compositionRoot true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.updateEnabled true view
UI.headerInfo.typeName Sales Order Due for Delivery view
UI.headerInfo.typeNamePlural Sales Orders Due for Delivery view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value SDDocument view
UI.headerInfo.title.label Sales Order view
UI.headerInfo.description.value DeliveryCreationDate view

Fields (61)

KeyFieldSource TableSource FieldDescription
KEY DeliveryCreationDate Delivery Date
KEY GoodsIssueDate Goods Issue Date CCD
KEY SDDocument SDDocument SD Document
KEY ShippingPoint ShippingPoint Shipping Point
KEY ShipToParty ShipToParty Ship-To Party (obsolete)
KEY Route Route Vehicle route
KEY ForwardingAgent ForwardingAgent Fwd Agent
KEY DeliveryBlockReason DeliveryBlockReason Delivery Block
ShipToPartyName _ShipToPartyAddress AddresseeFullName Full Name
HeaderGrossWeight Weight
HeaderWeightUnit HeaderWeightUnit Weight Unit
SoldToParty SoldToParty Sold-to Party
SoldToPartyName _SoldToPartyAddress AddresseeFullName Full Name
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
HeaderVolume HeaderVolume Volume
HeaderVolumeUnit HeaderVolumeUnit Volume Unit
ProcessingTimeInDays I_DeliveryDueIndex ProcessingTimeInDays Processing Time
SoldToPartyAddressID SoldToPartyAddressID Sold-To Address
ShipToPartyAddressID ShipToPartyAddressID Ship-to Party Address
SalesDocumentType SalesDocumentType Sales Doc. Type
SDDocumentCategory _DeliverySalesDocumentTypeVH SDDocumentCategory Document Cat.
SDDocumentCategoryName _DeliverySalesDocumentTypeVH SDDocumentCategoryName
OrderCombinationIsAllowed OrderCombinationIsAllowed Order Combinat.
DocRelationshipUUID
TransportationMgmtControlKey TransportationMgmtControlKey TranspMgmtControlKey
OverallChmlCmplncStatus OverallChmlCmplncStatus Product Marketability Status
int1asOvrlChmlCmplncStsCriticality
OverallDangerousGoodsStatus OverallDangerousGoodsStatus Dangerous Goods Status
int1asOvrlDngrsGdsStsCriticality
OverallSafetyDataSheetStatus OverallSafetyDataSheetStatus Safety Data Sheet Status
int1asOvrlSftyDataSheetStsCritlty
DeliveryCreationSelToDate
_ShippingPoint _ShippingPoint
_Route _Route
_DeliveryBlockReason _DeliveryBlockReason
_ShipToParty _ShipToParty
_SoldToParty _SoldToParty
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_Division _Division
_SalesOffice _SalesOffice
_SalesGroup _SalesGroup
_HeaderWeightUnit _HeaderWeightUnit
_HeaderVolumeUnit _HeaderVolumeUnit
_DeliveryPriority _DeliveryPriority
_DlvShipToPartyVH _DlvShipToPartyVH
_SDDocumentVH _SDDocumentVH
_DlvSoldToPartyVH _DlvSoldToPartyVH
_SalesDocumentType _SalesDocumentType
_SlsOrderToTranspMgmt _SlsOrderToTranspMgmt
_ShippingPointVH _ShippingPointVH
_DeliverySalesDocumentTypeVH _DeliverySalesDocumentTypeVH
_SalesDocument _SalesDocument
_OverallChmlCmplncSts _OverallChmlCmplncSts
_OvrlDngrsGdsSts _OvrlDngrsGdsSts
_OvrlSftyDataShtSts _OvrlSftyDataShtSts
_DocumentCategoryVH _DocumentCategoryVH

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_OutboundDeliveryCreate.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CCREATEOBNDDELV

CREATE VIEW C_OutboundDeliveryCreate AS
SELECT
  cast(DeliveryCreationDate as ledat_plan) AS DeliveryCreationDate,
  cast(GoodsIssueDate as wadat_plan) AS GoodsIssueDate,
  SDDocument,
  ShippingPoint,
  ShipToParty,
  Route,
  ForwardingAgent,
  DeliveryBlockReason,
  _ShipToPartyAddress.AddresseeFullName AS ShipToPartyName,
  cast (HeaderGrossWeight as le_brgew) AS HeaderGrossWeight,
  HeaderWeightUnit,
  SoldToParty,
  _SoldToPartyAddress.AddresseeFullName AS SoldToPartyName,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesOffice,
  SalesGroup,
  HeaderVolume,
  HeaderVolumeUnit,
  I_DeliveryDueIndex.ProcessingTimeInDays AS ProcessingTimeInDays,
  SoldToPartyAddressID,
  ShipToPartyAddressID,
  SalesDocumentType,
  _DeliverySalesDocumentTypeVH.SDDocumentCategory AS SDDocumentCategory,
  _DeliverySalesDocumentTypeVH.SDDocumentCategoryName AS SDDocumentCategoryName,
  OrderCombinationIsAllowed,
  cast( ' ' as char40 ) AS DocRelationshipUUID,
  TransportationMgmtControlKey,
  OverallChmlCmplncStatus,
  cast( case OverallChmlCmplncStatus when '' then 0 when 'A' then 3 when 'C' then 1 when 'D' then 1 when 'E' then 1 when 'F' then 1 else 0 end as abap.int1 ) as OvrlChmlCmplncStsCriticality AS int1asOvrlChmlCmplncStsCriticality,
  OverallDangerousGoodsStatus,
  cast( case OverallDangerousGoodsStatus when '' then 0 when 'A' then 3 when 'B' then 2 when 'C' then 1 when 'D' then 1 else 0 end as abap.int1 ) as OvrlDngrsGdsStsCriticality AS int1asOvrlDngrsGdsStsCriticality,
  OverallSafetyDataSheetStatus,
  cast( case OverallSafetyDataSheetStatus when '' then 0 when 'A' then 3 when 'B' then 2 when 'C' then 1 when 'D' then 1 else 0 end as abap.int1 ) as OvrlSftyDataSheetStsCritlty AS int1asOvrlSftyDataSheetStsCritlty,
  cast( '00000000' as shp_vl10_ledat_high ) AS DeliveryCreationSelToDate
FROM I_DeliveryDueIndex
LEFT OUTER JOIN C_DeliveryShipToPartyVH AS _DlvShipToPartyVH ON ShipToParty = _DlvShipToPartyVH.Customer AND ShipToPartyAddressID = _DlvShipToPartyVH.AddressID  -- association [0..1]
LEFT OUTER JOIN C_DeliverySoldToPartyVH AS _DlvSoldToPartyVH ON SoldToParty = _DlvSoldToPartyVH.Customer AND SoldToPartyAddressID = _DlvSoldToPartyVH.AddressID  -- association [0..1]
LEFT OUTER JOIN C_SDDocumentVH AS _SDDocumentVH ON SDDocument = _SDDocumentVH.SalesDocument  -- association [0..1]
LEFT OUTER JOIN I_DeliveryPriority AS _DeliveryPriority ON DeliveryPriority = _DeliveryPriority.DeliveryPriority  -- association [0..1]
LEFT OUTER JOIN C_ShippingPointVH AS _ShippingPointVH ON ShippingPoint = _ShippingPointVH.ShippingPoint  -- association [0..1]
LEFT OUTER JOIN C_DeliverySalesDocumentTypeVH AS _DeliverySalesDocumentTypeVH ON SalesDocumentType = _DeliverySalesDocumentTypeVH.SalesDocumentType  -- association [0..1]
LEFT OUTER JOIN I_TranspMgmtIntegrationControl AS _SoForTM ON TransportationMgmtControlKey = _SoForTM.TransportationMgmtControlKey  -- association [0..1]
LEFT OUTER JOIN I_SlsOrderToTranspMgmt AS _SlsOrderToTranspMgmt ON SlsOrdIsRelevantForTranspMgmt = _SlsOrderToTranspMgmt.SlsOrdIsRelevantForTranspMgmt  -- association [0..1]
LEFT OUTER JOIN C_SDDocCatOutbDelivSlsOrdVH AS _DocumentCategoryVH ON SDDocumentCategory = _DocumentCategoryVH.SDDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_OrganizationAddress AS _ShipToPartyAddress ON ShipToPartyAddressID = _ShipToPartyAddress.AddressID AND _ShipToPartyAddress.AddressPersonID is initial AND _ShipToPartyAddress.AddressRepresentationCode is initial  -- association [0..1]
LEFT OUTER JOIN I_OrganizationAddress AS _SoldToPartyAddress ON SoldToPartyAddressID = _SoldToPartyAddress.AddressID AND _SoldToPartyAddress.AddressPersonID is initial AND _SoldToPartyAddress.AddressRepresentationCode is initial  -- association [0..1]
;