P_EWM_HandlingUnitHistory05_2

DDL: P_EWM_HANDLINGUNITHISTORY05_2 Type: view_entity COMPOSITE

P_EWM_HandlingUnitHistory05_2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_EWM_HandlingUnitHeaderLog_2) and exposes 4 fields with key fields HandlingUnitExternalID, EWMWarehouse, HandlingUnitUUID.

Data Sources (1)

SourceAliasJoin Type
I_EWM_HandlingUnitHeaderLog_2 I_EWM_HandlingUnitHeaderLog_2 from

Annotations (4)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY HandlingUnitExternalID HandlingUnitExternalID Handling Unit
KEY EWMWarehouse EWMWarehouse Warehouse No.
KEY HandlingUnitUUID HandlingUnitUUID Parent
LastChangeUTCDateTime

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_HandlingUnitHistory05_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_HandlingUnitHistory05_2 AS
SELECT
  HandlingUnitExternalID,
  EWMWarehouse,
  HandlingUnitUUID,
  max( LastChangeUTCDateTime ) AS LastChangeUTCDateTime
FROM I_EWM_HandlingUnitHeaderLog_2
;