R_EWM_InbDeliveryItemDraft

DDL: R_EWM_INBDELIVERYITEMDRAFT Type: view_entity BASIC Package: VDM_EWM_DLV_RAP

Inbound Delivery Item Draft

R_EWM_InbDeliveryItemDraft is a Basic CDS View that provides data about "Inbound Delivery Item Draft" in SAP S/4HANA. It reads from 1 data source (rewm_idi_d) and exposes 77 fields with key fields EWMInboundDelivery, EWMInboundDeliveryItem, DraftUUID. It has 2 associations to related views. Part of development package VDM_EWM_DLV_RAP.

Data Sources (1)

SourceAliasJoin Type
rewm_idi_d WhseInboundDeliveryItemDraft from

Associations (2)

CardinalityTargetAliasCondition
[0..1] E_WhseInbDeliveryItemDraft _Extension $projection.EWMInboundDelivery = _Extension.EWMInboundDelivery and $projection.EWMInboundDeliveryItem = _Extension.EWMInboundDeliveryItem and $projection.DraftUUID = _Extension.DraftUUID
[0..*] R_EWM_InbDelivItemSrlNmbrDraft _WhseInbDeliveryItemSerialNo

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Inbound Delivery Item Draft view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix CDI view
AbapCatalog.extensibility.quota.maximumFields 408 view
AbapCatalog.extensibility.quota.maximumBytes 8160 view

Fields (77)

KeyFieldSource TableSource FieldDescription
KEY EWMInboundDelivery ewminbounddelivery Document Number
KEY EWMInboundDeliveryItem ewminbounddeliveryitem Item Number
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
InboundDeliveryUUID inbounddeliveryuuid Document ID
InboundDeliveryItemUUID inbounddeliveryitemuuid Item ID
EWMWarehouse ewmwarehouse Warehouse No.
WarehouseTimeZone warehousetimezone Time Zone
EWMDeliveryDocumentCategory ewmdeliverydocumentcategory Doc. Category
EWMInboundDeliveryItemCategory ewminbounddeliveryitemcategory Item Category
EWMInboundDeliveryItemType ewminbounddeliveryitemtype Item Type
Product product Product Sold
ProductExternalID productexternalid Material
Batch batch Lot No.
EWMWhseReqItmBatchIsCreated ewmwhsereqitmbatchiscreated
EWMBatchBySupplierPlanned ewmbatchbysupplierplanned Supplier Batch
EWMProductBySupplier ewmproductbysupplier
CountryOfOrigin countryoforigin Country/Region of Origin
ProductQuantity productquantity Quantity
EWMWhseReqItmProductUIQuantity ewmwhsereqitmproductuiquantity
QuantityUnit quantityunit Unit of measure
EWMInbDelivItmQuantitySAPCode ewminbdelivitmquantitysapcode Internal SAP Code
EWMInbDelivItmQuantityISOCode ewminbdelivitmquantityisocode ISO Code
EWMWhseReqItmBatSpltParentItem ewmwhsereqitmbatspltparentitem Higher Level Batch Item
EWMWhseReqItmHierParentItem ewmwhsereqitmhierparentitem Higher Level Item
SerialNumberRequiredLevel serialnumberrequiredlevel Serial No. Reqm
EWMWhseReqItmBBDSLEDUTCDteTme ewmwhsereqitmbbdsledutcdtetme BBD / SLED
EWMWhseReqItmProdnDteTme ewmwhsereqitmprodndtetme
StagingAreaGroup stagingareagroup Stg. Area Group
StagingArea stagingarea Stag. Area
StagingBay stagingbay Staging Bay
GoodsReceiptStatus goodsreceiptstatus Status Value
EWMGoodsReceiptAndDistrStatus ewmgoodsreceiptanddistrstatus Status Value
PlanningPutawayStatus planningputawaystatus Status Value
EWMPlndPutawayAndDistrStatus ewmplndputawayanddistrstatus Status Value
PutawayStatus putawaystatus Status Value
EWMPutawayAndDistrStatus ewmputawayanddistrstatus Status Value
CompletionStatus completionstatus Status Value
OverallBlockStatus overallblockstatus Status Value
FldLogsStatus fldlogsstatus FL Process Status
WarehouseProcessType warehouseprocesstype Whse Proc. Type
GoodsMovementBin goodsmovementbin Goods Mvt Bin
EWMProductionSupplyArea ewmproductionsupplyarea PSA
EWMDelivLastChangeUTCDateTime ewmdelivlastchangeutcdatetime Time Stamp
EntitledToDisposeParty entitledtodisposeparty Disposal Party
EntitledToDisposePartyName entitledtodisposepartyname
EWMStockUsage ewmstockusage Usage
EWMStockType ewmstocktype Stock Type
EWMStockOwner ewmstockowner Character Field with Length 10
EWMStockOwnerName ewmstockownername
EWMGoodsRecipient ewmgoodsrecipient Goods Recipient
EWMRecipientLocationName ewmrecipientlocationname Recipient Location
DeliveryItemStockTypeDetnCode deliveryitemstocktypedetncode Determin. Ind.
ExternalStockDocumentNumber externalstockdocumentnumber Special Ref. Stk Doc
StockDocumentCategory stockdocumentcategory Special Reference Stock Type
WBSElementInternalID wbselementinternalid WBS Internal ID
WBSElementExternalID wbselementexternalid WBS Element External ID
SpecialStockIdfgSalesOrder specialstockidfgsalesorder Stock Ident Header
SpecialStockIdfgSalesOrderItem specialstockidfgsalesorderitem Stock Ident Item
PurchasingDocument purchasingdocument Purchasing Document
PurchasingDocumentItem purchasingdocumentitem Purchasing Doc. Item
PurchaseOrder purchaseorder Purchasing Document
PurchaseOrderItem purchaseorderitem Purchasing Document Item
ManufacturingOrder manufacturingorder Order
Reservation reservation Reservation
MaintenanceOrderOperation maintenanceorderoperation Suboperation
MaintenanceOrder maintenanceorder Order
InboundDelivery inbounddelivery LE Delivery
InboundDeliveryItem inbounddeliveryitem Item
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes
_WhseInbDeliveryHead _WhseInbDeliveryHead
_WhseInbDeliveryItemSerialNo _WhseInbDeliveryItemSerialNo

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 R_EWM_InbDeliveryItemDraft.
-- 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 R_EWM_InbDeliveryItemDraft AS
SELECT
  EWMInboundDelivery,
  EWMInboundDeliveryItem,
  DraftUUID,
  ParentDraftUUID,
  InboundDeliveryUUID,
  InboundDeliveryItemUUID,
  EWMWarehouse,
  WarehouseTimeZone,
  EWMDeliveryDocumentCategory,
  EWMInboundDeliveryItemCategory,
  EWMInboundDeliveryItemType,
  Product,
  ProductExternalID,
  Batch,
  EWMWhseReqItmBatchIsCreated,
  EWMBatchBySupplierPlanned,
  EWMProductBySupplier,
  CountryOfOrigin,
  ProductQuantity,
  EWMWhseReqItmProductUIQuantity,
  QuantityUnit,
  EWMInbDelivItmQuantitySAPCode,
  EWMInbDelivItmQuantityISOCode,
  EWMWhseReqItmBatSpltParentItem,
  EWMWhseReqItmHierParentItem,
  SerialNumberRequiredLevel,
  EWMWhseReqItmBBDSLEDUTCDteTme,
  EWMWhseReqItmProdnDteTme,
  StagingAreaGroup,
  StagingArea,
  StagingBay,
  GoodsReceiptStatus,
  EWMGoodsReceiptAndDistrStatus,
  PlanningPutawayStatus,
  EWMPlndPutawayAndDistrStatus,
  PutawayStatus,
  EWMPutawayAndDistrStatus,
  CompletionStatus,
  OverallBlockStatus,
  FldLogsStatus,
  WarehouseProcessType,
  GoodsMovementBin,
  EWMProductionSupplyArea,
  EWMDelivLastChangeUTCDateTime,
  EntitledToDisposeParty,
  EntitledToDisposePartyName,
  EWMStockUsage,
  EWMStockType,
  EWMStockOwner,
  EWMStockOwnerName,
  EWMGoodsRecipient,
  EWMRecipientLocationName,
  DeliveryItemStockTypeDetnCode,
  ExternalStockDocumentNumber,
  StockDocumentCategory,
  WBSElementInternalID,
  WBSElementExternalID,
  SpecialStockIdfgSalesOrder,
  SpecialStockIdfgSalesOrderItem,
  PurchasingDocument,
  PurchasingDocumentItem,
  PurchaseOrder,
  PurchaseOrderItem,
  ManufacturingOrder,
  Reservation,
  MaintenanceOrderOperation,
  MaintenanceOrder,
  InboundDelivery,
  InboundDeliveryItem,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM rewm_idi_d AS WhseInboundDeliveryItemDraft
LEFT OUTER JOIN E_WhseInbDeliveryItemDraft AS _Extension ON EWMInboundDelivery = _Extension.EWMInboundDelivery AND EWMInboundDeliveryItem = _Extension.EWMInboundDeliveryItem AND DraftUUID = _Extension.DraftUUID  -- association [0..1]
LEFT OUTER JOIN R_EWM_InbDelivItemSrlNmbrDraft AS _WhseInbDeliveryItemSerialNo ON /* condition not available in parsed metadata */  -- association [0..*]
;