P_PackedDeliveryForStore_F4674

DDL: P_PACKEDDELIVERYFORSTORE_F4674 SQL: PPCKDDELVSTF4674 Type: view COMPOSITE Package: RFM_STORE_MY_STORE_OVERVIEW

Incoming Deliveries for Store

P_PackedDeliveryForStore_F4674 is a Composite CDS View that provides data about "Incoming Deliveries for Store" in SAP S/4HANA. It reads from 2 data sources (I_DeliveryDocumentItem, I_DeliveryDocumentItem) and exposes 15 fields with key fields Store, DeliveryDocument, DeliveryDocument. Part of development package RFM_STORE_MY_STORE_OVERVIEW.

Data Sources (2)

SourceAliasJoin Type
I_DeliveryDocumentItem Item inner
I_DeliveryDocumentItem Item inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PPCKDDELVSTF4674 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 (15)

KeyFieldSource TableSource FieldDescription
KEY Store Delivery ReceivingPlant Receiving Plant
KEY DeliveryDocument Delivery DeliveryDocument Outbound Delivery
DeliveryDate Delivery DeliveryDate Delivery Date
OverallGoodsMovementStatus Delivery OverallGoodsMovementStatus
SupplyingSite I_DeliveryDocumentItem Plant Valuation Area
Supplier Supplier
PurchaseOrder
PlantasStore
KEY DeliveryDocument Delivery DeliveryDocument Outbound Delivery
DeliveryDate Delivery DeliveryDate Delivery Date
OverallGoodsMovementStatus Delivery OverallGoodsMovementStatus
SupplyingSite Valuation Area
Supplier Delivery Supplier Supplier
PurchaseOrder
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_PackedDeliveryForStore_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: PPCKDDELVSTF4674

CREATE VIEW P_PackedDeliveryForStore_F4674 AS
SELECT
  Delivery.ReceivingPlant AS Store,
  Delivery.DeliveryDocument AS DeliveryDocument,
  Delivery.DeliveryDate AS DeliveryDate,
  Delivery.OverallGoodsMovementStatus AS OverallGoodsMovementStatus,
  Item.Plant AS SupplyingSite,
  cast('' as md_supplier) AS Supplier,
  cast(Item.ReferenceSDDocument as ebeln preserving type) AS PurchaseOrder,
  cast('01' as vpobj) as HandlingUnitPackingObjectType AS PlantasStore,
  cast('03' as vpobj) AS HandlingUnitPackingObjectType
INNER JOIN I_DeliveryDocumentItem AS Item ON /* join condition not captured in parsed metadata */
;