P_EWM_HandlingUnitItem03_2

DDL: P_EWM_HANDLINGUNITITEM03_2 Type: view_entity COMPOSITE

P_EWM_HandlingUnitItem03_2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_EWM_HandlingUnitItem02_2) and exposes 28 fields with key fields EWMWarehouse, HandlingUnitNumber, ParentHandlingUnitUUID, StockItemUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_EWM_HandlingUnitItem02_2 P_EWM_HandlingUnitItem02_2 from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartnerSupplier _Supplier $projection.BusinessPartnerUUID = _Supplier.BusinessPartnerUUID

Annotations (7)

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

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY EWMWarehouse EWMWarehouse Warehouse No.
KEY HandlingUnitNumber HandlingUnitNumber
KEY ParentHandlingUnitUUID ParentHandlingUnitUUID
KEY StockItemUUID StockItemUUID
CurrentNumberOfKeyTable CurrentNumberOfKeyTable
EWMStockType EWMStockType Stock Type
DeliveryCategory DeliveryCategory
EWMDocumentCategory EWMDocumentCategory
DeliveryUUID DeliveryUUID
EWMRefDeliveryDocumentNumber EWMRefDeliveryDocumentNumber
DeliveryItemUUID DeliveryItemUUID
EWMRefDeliveryDocumentItem EWMRefDeliveryDocumentItem
ProductUUID ProductUUID UUID
Product Product Product Sold
ProductName ProductName Description
BatchUUID BatchUUID Target Grp GUID
Batch Batch Lot No.
EntitledToDisposeParty EntitledToDisposeParty Disposal Party
EWMStockOwner EWMStockOwner Character Field with Length 10
BusinessPartnerUUID BusinessPartnerUUID UUID
Supplier _Supplier Supplier Supplier
HandlingUnitQuantity HandlingUnitQuantity Packed Quantity
HandlingUnitBaseUnitOfMeasure HandlingUnitBaseUnitOfMeasure
HandlingUnitAltUnitOfMeasure HandlingUnitAltUnitOfMeasure
ShelfLifeExpirationDate ShelfLifeExpirationDate SLED/BBD
GoodsReceiptUTCDateTime GoodsReceiptUTCDateTime
CountryOfOrigin CountryOfOrigin Country/Region of Origin
SerialNumberProfile SerialNumberProfile SerialNoProfile

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_HandlingUnitItem03_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_HandlingUnitItem03_2 AS
SELECT
  EWMWarehouse,
  HandlingUnitNumber,
  ParentHandlingUnitUUID,
  StockItemUUID,
  CurrentNumberOfKeyTable,
  EWMStockType,
  DeliveryCategory,
  EWMDocumentCategory,
  DeliveryUUID,
  EWMRefDeliveryDocumentNumber,
  DeliveryItemUUID,
  EWMRefDeliveryDocumentItem,
  ProductUUID,
  Product,
  ProductName,
  BatchUUID,
  Batch,
  EntitledToDisposeParty,
  EWMStockOwner,
  BusinessPartnerUUID,
  _Supplier.Supplier AS Supplier,
  HandlingUnitQuantity,
  HandlingUnitBaseUnitOfMeasure,
  HandlingUnitAltUnitOfMeasure,
  ShelfLifeExpirationDate,
  GoodsReceiptUTCDateTime,
  CountryOfOrigin,
  SerialNumberProfile
FROM P_EWM_HandlingUnitItem02_2
LEFT OUTER JOIN I_BusinessPartnerSupplier AS _Supplier ON BusinessPartnerUUID = _Supplier.BusinessPartnerUUID  -- association [0..1]
;