P_DelivHndlgUnitForStore_F4674

DDL: P_DELIVHNDLGUNITFORSTORE_F4674 SQL: PDELHUSTOREF4674 Type: view COMPOSITE

P_DelivHndlgUnitForStore_F4674 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_HandlingUnitHeader, I_HandlingUnitItem) and exposes 10 fields with key fields Store, DeliveryDocument, HandlingUnitInternalID.

Data Sources (2)

SourceAliasJoin Type
I_HandlingUnitHeader HandlingUnit inner
I_HandlingUnitItem HandlingUnitItem inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PDELHUSTOREF4674 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Store Delivery Store Plant
KEY DeliveryDocument Delivery DeliveryDocument Outbound Delivery
KEY HandlingUnitInternalID I_HandlingUnitHeader HandlingUnitInternalID Internal HU no.
HandlingUnitExternalID I_HandlingUnitHeader HandlingUnitExternalID Handling Unit
DeliveryDate Delivery DeliveryDate Delivery Date
OverallGoodsMovementStatus Delivery OverallGoodsMovementStatus
SupplyingSite Delivery SupplyingSite
Supplier Delivery Supplier Supplier
PurchaseOrder Delivery PurchaseOrder Purchasing Document
HandlingUnitPackingObjectType Delivery HandlingUnitPackingObjectType

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_DelivHndlgUnitForStore_F4674.
-- 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: PDELHUSTOREF4674

CREATE VIEW P_DelivHndlgUnitForStore_F4674 AS
SELECT
  Delivery.Store AS Store,
  Delivery.DeliveryDocument AS DeliveryDocument,
  HandlingUnit.HandlingUnitInternalID AS HandlingUnitInternalID,
  HandlingUnit.HandlingUnitExternalID AS HandlingUnitExternalID,
  Delivery.DeliveryDate AS DeliveryDate,
  Delivery.OverallGoodsMovementStatus AS OverallGoodsMovementStatus,
  Delivery.SupplyingSite AS SupplyingSite,
  Delivery.Supplier AS Supplier,
  Delivery.PurchaseOrder AS PurchaseOrder,
  Delivery.HandlingUnitPackingObjectType AS HandlingUnitPackingObjectType
INNER JOIN I_HandlingUnitHeader AS HandlingUnit ON /* join condition not captured in parsed metadata */
INNER JOIN I_HandlingUnitItem AS HandlingUnitItem ON /* join condition not captured in parsed metadata */
;