P_HndlgUnitItmCmptblty_F4674

DDL: P_HNDLGUNITITMCMPTBLTY_F4674 SQL: PHUITMCOMPTF4674 Type: view COMPOSITE Package: RFM_STORE_MY_STORE_OVERVIEW

Handling Unit Item Compatibility

P_HndlgUnitItmCmptblty_F4674 is a Composite CDS View that provides data about "Handling Unit Item Compatibility" in SAP S/4HANA. It reads from 2 data sources (I_DeliveryDocumentItem, I_HandlingUnitItem) and exposes 4 fields with key fields HandlingUnitInternalID, HandlingUnitItem. Part of development package RFM_STORE_MY_STORE_OVERVIEW.

Data Sources (2)

SourceAliasJoin Type
I_DeliveryDocumentItem DeliveryItem inner
I_HandlingUnitItem HandlingUnitItem from

Annotations (7)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY HandlingUnitInternalID HandlingUnitInternalID Internal HU no.
KEY HandlingUnitItem HU item
PurchaseOrderItem
HandlingUnitQuantity HandlingUnitQuantity Packed Quantity

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_HndlgUnitItmCmptblty_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: PHUITMCOMPTF4674

CREATE VIEW P_HndlgUnitItmCmptblty_F4674 AS
SELECT
  HandlingUnitInternalID,
  cast(HandlingUnitItem as abap.int4) AS HandlingUnitItem,
  cast(right(DeliveryItem.ReferenceSDDocumentItem, 5) as ebelp) AS PurchaseOrderItem,
  HandlingUnitQuantity
FROM I_HandlingUnitItem AS HandlingUnitItem
INNER JOIN I_DeliveryDocumentItem AS DeliveryItem ON /* join condition not captured in parsed metadata */
;