R_EWM_InbDeliveryItemDraft
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)
| Source | Alias | Join Type |
|---|---|---|
| rewm_idi_d | WhseInboundDeliveryItemDraft | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA