R_EWM_InbDeliveryHeaderDraft

DDL: R_EWM_INBDELIVERYHEADERDRAFT Type: view_entity BASIC Package: VDM_EWM_DLV_RAP

Inbound Delivery Header Draft

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

Data Sources (1)

SourceAliasJoin Type
rewm_idh_d WhseInboundDeliveryHeadDraft from

Associations (2)

CardinalityTargetAliasCondition
[0..1] E_WhseInboundDeliveryDraft _Extension $projection.EWMInboundDelivery = _Extension.EWMInboundDelivery and $projection.DraftUUID = _Extension.draftuuid
[1..*] R_EWM_InbDeliveryItemDraft _WhseInbDeliveryItem

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Inbound Delivery Header 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 CDH view
AbapCatalog.extensibility.quota.maximumFields 408 view
AbapCatalog.extensibility.quota.maximumBytes 8160 view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY EWMInboundDelivery ewminbounddelivery Document Number
KEY DraftUUID draftuuid UUID
SAPObjectNodeType sapobjectnodetype SONT Name
EWMInboundDeliveryUUIDHex ewminbounddeliveryuuidhex
InboundDeliveryUUID inbounddeliveryuuid Document ID
EWMWarehouse ewmwarehouse Warehouse No.
EWMDeliveryDocumentCategory ewmdeliverydocumentcategory Doc. Category
EWMDeliveryDocumentType ewmdeliverydocumenttype Document Type
ShipFromParty shipfromparty Busn. Partner
ShipFromPartyName shipfrompartyname Ship-From Party Name
Carrier carrier Service Agent
CarrierName carriername Carrier Name
AdvancedShippingNotification advancedshippingnotification Document Number
InboundDelivery inbounddelivery LE Delivery
PlannedDeliveryUTCDateTime planneddeliveryutcdatetime Planned Delivery Date
ReceivingOffice receivingoffice Location Number
EWMWhseReqHasHandlingUnit ewmwhsereqhashandlingunit
EWMDelivLastChangeUTCDateTime ewmdelivlastchangeutcdatetime Time Stamp
WarehouseTimeZone warehousetimezone Time Zone
EWMShipFromIsBusPurposeCmpltd ewmshipfromisbuspurposecmpltd Purpose Completed
EWMCarrierIsBusPurposeCmpltd ewmcarrierisbuspurposecmpltd Purpose Completed
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
_WhseInbDeliveryItem _WhseInbDeliveryItem

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_InbDeliveryHeaderDraft.
-- 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_InbDeliveryHeaderDraft AS
SELECT
  EWMInboundDelivery,
  DraftUUID,
  SAPObjectNodeType,
  EWMInboundDeliveryUUIDHex,
  InboundDeliveryUUID,
  EWMWarehouse,
  EWMDeliveryDocumentCategory,
  EWMDeliveryDocumentType,
  ShipFromParty,
  ShipFromPartyName,
  Carrier,
  CarrierName,
  AdvancedShippingNotification,
  InboundDelivery,
  PlannedDeliveryUTCDateTime,
  ReceivingOffice,
  EWMWhseReqHasHandlingUnit,
  EWMDelivLastChangeUTCDateTime,
  WarehouseTimeZone,
  EWMShipFromIsBusPurposeCmpltd,
  EWMCarrierIsBusPurposeCmpltd,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM rewm_idh_d AS WhseInboundDeliveryHeadDraft
LEFT OUTER JOIN E_WhseInboundDeliveryDraft AS _Extension ON EWMInboundDelivery = _Extension.EWMInboundDelivery AND DraftUUID = _Extension.draftuuid  -- association [0..1]
LEFT OUTER JOIN R_EWM_InbDeliveryItemDraft AS _WhseInbDeliveryItem ON /* condition not available in parsed metadata */  -- association [1..*]
;