P_EWM_PhysStkRefDocNumberItm01

DDL: P_EWM_PHYSSTKREFDOCNUMBERITM01 Type: view_entity COMPOSITE

P_EWM_PhysStkRefDocNumberItm01 is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_EWM_InbDeliveryItemBasic, I_EWM_ProdnMatlReqItem, I_EWM_WarehouseRequestOutItem) and exposes 17 fields with key fields EWMStockRefDocumentUUID, EWMStockRefDocItemUUID, EWMStockRefDocItemUUID, EWMStockRefDocItemUUID.

Data Sources (3)

SourceAliasJoin Type
I_EWM_InbDeliveryItemBasic I_EWM_InbDeliveryItemBasic from
I_EWM_ProdnMatlReqItem I_EWM_ProdnMatlReqItem union_all
I_EWM_WarehouseRequestOutItem I_EWM_WarehouseRequestOutItem union_all

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY EWMStockRefDocumentUUID InboundDeliveryUUID Document ID
KEY EWMStockRefDocItemUUID InboundDeliveryItemUUID Russia Statutory Reporting Report Land Tax, Run Item ID
EWMStockReferenceDocCategory DeliveryDocumentCategory Doc. Category
EWMStockReferenceDocument Number
EWMStockReferenceDocumentItem EWMInboundDeliveryItem Sequence number
EWMStockRefDocumentItemCat EWMInboundDeliveryItemCategory WComp Item Cat.
KEY EWMStockRefDocItemUUID EWMWarehouseRequestItemUUID Russia Statutory Reporting Report Land Tax, Run Item ID
EWMStockReferenceDocCategory EWMWhseRequestDocumentCategory Doc. Category
EWMStockReferenceDocument Number
EWMStockReferenceDocumentItem EWMWarehouseRequestItem Sequence number
EWMStockRefDocumentItemCat EWMWhseRequestItemCategory WComp Item Cat.
KEY EWMStockRefDocItemUUID EWMProductionMatlReqItemUUID Russia Statutory Reporting Report Land Tax, Run Item ID
EWMStockReferenceDocCategory EWMDeliveryDocumentCategory Doc. Category
EWMStockReferenceDocument Number
EWMStockReferenceDocumentItem EWMProductionMaterialReqItem Sequence number
EWMStockRefDocumentItemCat EWMProdnMatlReqItemCategory WComp Item Cat.
EWMStockRefDocumentItemType EWMProductionMatlReqItemType Object Type

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_PhysStkRefDocNumberItm01.
-- 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_PhysStkRefDocNumberItm01 AS
SELECT
  InboundDeliveryUUID AS EWMStockRefDocumentUUID,
  InboundDeliveryItemUUID AS EWMStockRefDocItemUUID,
  DeliveryDocumentCategory AS EWMStockReferenceDocCategory,
  cast(EWMInboundDelivery as ewm_de_referencedocument preserving type ) AS EWMStockReferenceDocument,
  EWMInboundDeliveryItem AS EWMStockReferenceDocumentItem,
  EWMInboundDeliveryItemCategory AS EWMStockRefDocumentItemCat,
  EWMProductionMatlReqItemType AS EWMStockRefDocumentItemType
FROM I_EWM_InbDeliveryItemBasic
-- UNION ALL with additional select branch(es): I_EWM_WarehouseRequestOutItem, I_EWM_ProdnMatlReqItem
;