P_EWM_OUTBDLVORDERHEADER01_2
P_EWM_OUTBDLVORDERHEADER01_2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_EWM_OutbDelivOrdHdr) and exposes 41 fields with key field OutboundDeliveryOrderUUID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EWM_OutbDelivOrdHdr | pdo_h | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EWM_WhseSystIsDecentralized | _WhseSystIsDecentralized | 1 = 1 |
| [1..1] | I_EWM_WarehouseNumber_2 | _WarehouseText | $projection.EWMWarehouse = _WarehouseText.EWMWarehouse |
| [0..*] | I_EWM_MnsOfTransptTypeText_2 | _MeansOfTransportText | $projection.EWMMeansOfTransportType = _MeansOfTransportText.EWMMeansOfTransportType |
| [0..*] | I_EWM_DeliveryTypeText_2 | _OutbDelivOrderHdrTypeText | $projection.EWMDeliveryDocumentCategory = _OutbDelivOrderHdrTypeText.EWMDeliveryDocumentCategory and $projection.EWMDeliveryDocumentType = _OutbDelivOrderHdrTypeText.EWMDeliveryDocumentType |
| [0..*] | I_EWM_WhseReqStatusValueText | _ShippingReadinessStatusText | $projection.EWMShippingReadinessStatus = _ShippingReadinessStatusText.EWMWarehouseRequestStatus and _ShippingReadinessStatusText.EWMWarehouseRequestStatusType = 'DSH' |
| [0..*] | I_EWM_WhseReqTrPlngTypeText | _TranspPlanningTypeText | $projection.EWMTranspPlanningType = _TranspPlanningTypeText.EWMTranspPlanningType |
| [0..*] | I_RouteText | _RouteText | $projection.EWMRoute = _RouteText.Route |
| [0..*] | I_EWM_SCMRouteText | _SCMRouteText | $projection.EWMRoute = _SCMRouteText.EWMRoute |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OutboundDeliveryOrderUUID | OutboundDeliveryOrderUUID | Document ID | |
| EWMWarehouse | EWMWarehouse | Warehouse No. | ||
| EWMOutboundDeliveryOrder | EWMOutboundDeliveryOrder | Document Number | ||
| EWMDeliveryDocumentCategory | EWMDeliveryDocumentCategory | Doc. Category | ||
| EWMDeliveryDocumentType | EWMDeliveryDocumentType | Document Type | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| ShipToPartyName | ShipToPartyName | Ship-To Party Name | ||
| EWMShipToIsBusPurposeCmpltd | EWMShipToIsBusPurposeCmpltd | Purpose Completed | ||
| Carrier | Carrier | Service Agent | ||
| CarrierName | CarrierName | Carrier Name | ||
| EWMCarrierIsBusPurposeCmpltd | EWMCarrierIsBusPurposeCmpltd | Purpose Completed | ||
| OutboundDelivery | OutboundDelivery | LE Delivery | ||
| BusinessSystemName | BusinessSystemName | Business System | ||
| FreightOrder | FreightOrder | Freight Order | ||
| MasterBillOfLading | MasterBillOfLading | Bill of Lading | ||
| TranspOrdPartnerReference | TranspOrdPartnerReference | Ext. Consignment | ||
| EWMShippingReadinessStatus | EWMShippingReadinessStatus | Shipping Readiness Status | ||
| PlannedDeliveryUTCDateTime | PlannedDeliveryUTCDateTime | Planned Delivery Date | ||
| PlannedOutOfYardUTCDateTime | PlannedOutOfYardUTCDateTime | Departure Date for Route | ||
| WarehouseTimeZone | WarehouseTimeZone | Time Zone | ||
| IncotermsPart1 | IncotermsPart1 | Incoterms | ||
| IncotermsPart2 | IncotermsPart2 | Incoterms 2 | ||
| EWMRoute | EWMRoute | Route | ||
| EWMMeansOfTransport | EWMMeansOfTransport | Means of Tr. ID | ||
| EWMMeansOfTransportType | EWMMeansOfTransportType | Means of Trans. | ||
| EWMTranspPlanningType | EWMTranspPlanningType | Transportation Planning Type | ||
| EWMOutbDlvOrdImmdLoadgIsActv | Truth Value | |||
| EWMOutbDlvOrdAdhocLoadgIsActv | EWMOutbDlvOrdAdhocLoadgIsActv | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| ShippingOffice | ShippingOffice | Location Number | ||
| EWMWhseReqProductionCode | EWMWhseReqProductionCode | |||
| EWMDeliveryCreationUTCDateTime | EWMDeliveryCreationUTCDateTime | |||
| EWMDelivLastChangeUTCDateTime | EWMDelivLastChangeUTCDateTime | Time Stamp | ||
| EWMWhseReqHasWarehouseTask | EWMWhseReqHasWarehouseTask | Warehouse Task | ||
| RouteNameendasRouteName | ||||
| _WhseSystIsDecentralized | _WhseSystIsDecentralized | |||
| _WarehouseText | _WarehouseText | |||
| _OutbDelivOrderHdrTypeText | _OutbDelivOrderHdrTypeText | |||
| _MeansOfTransportText | _MeansOfTransportText | |||
| _ShippingReadinessStatusText | _ShippingReadinessStatusText | |||
| _TranspPlanningTypeText | _TranspPlanningTypeText |
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 P_EWM_OUTBDLVORDERHEADER01_2.
-- 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.
CREATE VIEW P_EWM_OUTBDLVORDERHEADER01_2 AS
SELECT
OutboundDeliveryOrderUUID,
EWMWarehouse,
EWMOutboundDeliveryOrder,
EWMDeliveryDocumentCategory,
EWMDeliveryDocumentType,
ShipToParty,
ShipToPartyName,
EWMShipToIsBusPurposeCmpltd,
Carrier,
CarrierName,
EWMCarrierIsBusPurposeCmpltd,
OutboundDelivery,
BusinessSystemName,
FreightOrder,
MasterBillOfLading,
TranspOrdPartnerReference,
EWMShippingReadinessStatus,
PlannedDeliveryUTCDateTime,
PlannedOutOfYardUTCDateTime,
WarehouseTimeZone,
IncotermsPart1,
IncotermsPart2,
EWMRoute,
EWMMeansOfTransport,
EWMMeansOfTransportType,
EWMTranspPlanningType,
cast( EWMOutbDlvOrdImmdLoadgIsActv as abap_boolean preserving type ) AS EWMOutbDlvOrdImmdLoadgIsActv,
EWMOutbDlvOrdAdhocLoadgIsActv,
SalesOrganization,
ShippingOffice,
EWMWhseReqProductionCode,
EWMDeliveryCreationUTCDateTime,
EWMDelivLastChangeUTCDateTime,
EWMWhseReqHasWarehouseTask,
case when _SCMRouteText[1:Language = $session.system_language].RouteName is not null then _SCMRouteText[1:Language = $session.system_language].RouteName else _RouteText[1:Language = $session.system_language].RouteName end as RouteName AS RouteNameendasRouteName
FROM I_EWM_OutbDelivOrdHdr AS pdo_h
LEFT OUTER JOIN I_EWM_WhseSystIsDecentralized AS _WhseSystIsDecentralized ON 1 = 1 -- association [1..1]
LEFT OUTER JOIN I_EWM_WarehouseNumber_2 AS _WarehouseText ON EWMWarehouse = _WarehouseText.EWMWarehouse -- association [1..1]
LEFT OUTER JOIN I_EWM_MnsOfTransptTypeText_2 AS _MeansOfTransportText ON EWMMeansOfTransportType = _MeansOfTransportText.EWMMeansOfTransportType -- association [0..*]
LEFT OUTER JOIN I_EWM_DeliveryTypeText_2 AS _OutbDelivOrderHdrTypeText ON EWMDeliveryDocumentCategory = _OutbDelivOrderHdrTypeText.EWMDeliveryDocumentCategory AND EWMDeliveryDocumentType = _OutbDelivOrderHdrTypeText.EWMDeliveryDocumentType -- association [0..*]
LEFT OUTER JOIN I_EWM_WhseReqStatusValueText AS _ShippingReadinessStatusText ON EWMShippingReadinessStatus = _ShippingReadinessStatusText.EWMWarehouseRequestStatus AND _ShippingReadinessStatusText.EWMWarehouseRequestStatusType = 'DSH' -- association [0..*]
LEFT OUTER JOIN I_EWM_WhseReqTrPlngTypeText AS _TranspPlanningTypeText ON EWMTranspPlanningType = _TranspPlanningTypeText.EWMTranspPlanningType -- association [0..*]
LEFT OUTER JOIN I_RouteText AS _RouteText ON EWMRoute = _RouteText.Route -- association [0..*]
LEFT OUTER JOIN I_EWM_SCMRouteText AS _SCMRouteText ON EWMRoute = _SCMRouteText.EWMRoute -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA