P_EWM_HndlgUnitHdrDelivRef02_2

DDL: P_EWM_HNDLGUNITHDRDELIVREF02_2 Type: view_entity COMPOSITE

P_EWM_HndlgUnitHdrDelivRef02_2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_EWM_HandlingUnitRef_2) and exposes 4 fields with key fields HandlingUnitUUID, EWMDeliveryDocumentCategory, EWMWarehouseRequestUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_EWM_HandlingUnitRef_2 I_EWM_HandlingUnitRef_2 from

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_EWM_HndlgUnitHdrDelivRef01_2 _ReferenceDocument $projection.EWMWarehouseRequestUUID = _ReferenceDocument.DeliveryUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY HandlingUnitUUID HandlingUnitUUID Parent
KEY EWMDeliveryDocumentCategory EWMDeliveryDocumentCategory Doc. Category
KEY EWMWarehouseRequestUUID EWMWarehouseRequestUUID Snapshot ID
EWMRefDeliveryDocumentNumber _ReferenceDocument EWMRefDeliveryDocumentNumber

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_HndlgUnitHdrDelivRef02_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_HndlgUnitHdrDelivRef02_2 AS
SELECT
  HandlingUnitUUID,
  EWMDeliveryDocumentCategory,
  EWMWarehouseRequestUUID,
  _ReferenceDocument.EWMRefDeliveryDocumentNumber AS EWMRefDeliveryDocumentNumber
FROM I_EWM_HandlingUnitRef_2
LEFT OUTER JOIN P_EWM_HndlgUnitHdrDelivRef01_2 AS _ReferenceDocument ON EWMWarehouseRequestUUID = _ReferenceDocument.DeliveryUUID  -- association [1..1]
;