I_EWM_InboundDeliveryItemC

DDL: I_EWM_INBOUNDDELIVERYITEMC SQL: IEWMINBDELIVC Type: view COMPOSITE

Inbound Delivery Item - Cube

I_EWM_InboundDeliveryItemC (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Supply Chain

I_EWM_InboundDeliveryItemC is a Composite CDS View (Cube) that provides data about "Inbound Delivery Item - Cube" in SAP S/4HANA. It reads from 1 data source (P_EWM_InboundDeliveryItem) and exposes 186 fields with key fields InboundDeliveryUUID, InboundDeliveryItemUUID. It has 35 associations to related views.

SAP Help Documentation

CategoryCDS Views for Deliveries
Data CategoryCube
StatusReleased
Purpose
This CDS view provides information about inbound delivery items in your warehouse.

Structure
Measures and Attributes Some important measures and attributes are as follows: UUID of Inbound Delivery UUID of Inbound Delivery Item

View on SAP Help Portal →

SAP API Hub

StateDeprecated
Line of BusinessSupply Chain
Application ComponentSCM-EWM-DLP
CapabilitiesData Provider for Analytical Queries, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides information about inbound delivery items in your warehouse.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_EWM_InboundDeliveryItem InboundDeliveryItem from

Associations (35)

CardinalityTargetAliasCondition
[0..1] I_EWM_WarehouseNumber _Warehouse $projection.Warehouse = _Warehouse.Warehouse
[0..1] I_EWM_DeliveryItemType _DeliveryItemType $projection.DeliveryDocumentCategory = _DeliveryItemType.DeliveryCategory and $projection.InboundDeliveryItemType = _DeliveryItemType.DeliveryItemType
[0..1] I_EWM_DeliveryType _DeliveryType $projection.DeliveryDocumentCategory = _DeliveryType.DeliveryCategory and $projection.InboundDeliveryDocumentType = _DeliveryType.DeliveryType
[0..1] I_EWM_InboundDeliveryType _InboundDeliveryType $projection.DeliveryDocumentCategory = _InboundDeliveryType.EWMDeliveryDocumentCategory and $projection.InboundDeliveryDocumentType = _InboundDeliveryType.DeliveryType
[0..1] I_EWM_DeliveryCategory _DeliveryCategory $projection.DeliveryDocumentCategory = _DeliveryCategory.DeliveryCategory
[0..1] I_EWM_DeliveryItemCategory _ItemCat $projection.DeliveryItemCategory = _ItemCat.DeliveryItemCategory
[0..1] I_EWM_WrhsProcType _WarehouseProcessType $projection.WarehouseProcessType = _WarehouseProcessType.WarehouseProcessType and $projection.Warehouse = _WarehouseProcessType.Warehouse
[1] I_Product _Product $projection.Product = _Product.Product
[0..1] I_EWM_MnsOfTranspType _MeansOfTransportType $projection.MeansOfTransportType = _MeansOfTransportType.MeansOfTransportType
[0..1] I_EWM_BusinessPartner _ShipFromParty $projection.ShipFromParty = _ShipFromParty.BusinessPartner
[0..1] I_EWM_BusinessPartner _Carrier $projection.Carrier = _Carrier.BusinessPartner
[0..1] I_EWM_StorageSection _StagingArea $projection.Warehouse = _StagingArea.Warehouse and $projection.StagingAreaGroup = _StagingArea.StorageType and $projection.StagingArea = _StagingArea.StorageSection
[0..1] I_EWM_StorageType _StorageType $projection.StagingAreaGroup = _StorageType.StorageType and $projection.Warehouse = _StorageType.Warehouse
[0..1] I_EWM_DeliveryBPLocation _WarehouseLocation $projection.InboundDeliveryUUID = _WarehouseLocation.OutboundDeliveryOrderUUID and $projection.InboundDeliveryItemUUID = _WarehouseLocation.OutboundDeliveryOrderItemUUID
[0..1] I_EWM_StockType _StockType $projection.Warehouse = _StockType.Warehouse and $projection.StockType = _StockType.StockType --Other status text
[0..*] I_EWM_DelivStsHelperText _BlockStatusName $projection.OverallBlockStatus = _BlockStatusName.DeliveryStatus and _BlockStatusName.DeliveryStatusType = 'DBO'
[0..*] I_EWM_DelivStsHelperText _TranspPlanBlockStatusName $projection.TranspPlanBlockStatus = _TranspPlanBlockStatusName.DeliveryStatus and _TranspPlanBlockStatusName.DeliveryStatusType = 'DBT'
[0..*] I_EWM_DelivStsHelperText _ItemInconsistencyBlkStsName $projection.ItemInconsistencyBlkStatus = _ItemInconsistencyBlkStsName.DeliveryStatus and _ItemInconsistencyBlkStsName.DeliveryStatusType = 'DBD'
[0..*] I_EWM_DelivStsHelperText _GoodsMovementBlockStatusName $projection.GoodsMovementBlockStatus = _GoodsMovementBlockStatusName.DeliveryStatus and _GoodsMovementBlockStatusName.DeliveryStatusType = 'DWG'
[0..*] I_EWM_DelivStsHelperText _TransitProcedureStatusName $projection.TransitProcedureStatus = _TransitProcedureStatusName.DeliveryStatus and _TransitProcedureStatusName.DeliveryStatusType = 'DWN'
[0..*] I_EWM_DelivStsHelperText _WarehouseActivityStatusName $projection.WarehouseActivityStatus = _WarehouseActivityStatusName.DeliveryStatus and _WarehouseActivityStatusName.DeliveryStatusType = 'DWA'
[0..*] I_EWM_DelivStsHelperText _TranspUnitAssgmtStatusName $projection.TransportationUnitAssgmtStatus = _TranspUnitAssgmtStatusName.DeliveryStatus and _TranspUnitAssgmtStatusName.DeliveryStatusType = 'DTU'
[0..*] I_EWM_DelivStsHelperText _ValuationQtyAssgmtStatusName $projection.ValuationQtyAssignmentStatus = _ValuationQtyAssgmtStatusName.DeliveryStatus and _ValuationQtyAssgmtStatusName.DeliveryStatusType = 'DVQ'
[0..*] I_EWM_DelivStsHelperText _ValueAddedDelivStsName $projection.ValueAddedServiceOrderStatus = _ValueAddedDelivStsName.DeliveryStatus and _ValueAddedDelivStsName.DeliveryStatusType = 'DWV'
[0..*] I_EWM_DelivStsHelperText _UnloadingStatusName $projection.UnloadingStatus = _UnloadingStatusName.DeliveryStatus and _UnloadingStatusName.DeliveryStatusType = 'DUN'
[0..*] I_EWM_DelivStsHelperText _CheckToleranceStatusName $projection.CheckToleranceStatus = _CheckToleranceStatusName.DeliveryStatus and _CheckToleranceStatusName.DeliveryStatusType = 'DTL'
[0..*] I_EWM_DelivStsHelperText _PlngPutawayStatusName $projection.PlanningPutawayStatus = _PlngPutawayStatusName.DeliveryStatus and _PlngPutawayStatusName.DeliveryStatusType = 'DEU'
[0..*] I_EWM_DelivStsHelperText _TransitStatusName $projection.TransitStatus = _TransitStatusName.DeliveryStatus and _TransitStatusName.DeliveryStatusType = 'DTR'
[0..*] I_EWM_DelivStsHelperText _TranspPlngStatusName $projection.TransportationPlanningStatus = _TranspPlngStatusName.DeliveryStatus and _TranspPlngStatusName.DeliveryStatusType = 'DTD'
[0..*] I_EWM_DelivStsHelperText _CompletionStatusName $projection.CompletionStatus = _CompletionStatusName.DeliveryStatus and _CompletionStatusName.DeliveryStatusType = 'DCO'
[0..*] I_EWM_DelivStsHelperText _PutawayStatusName $projection.PutawayStatus = _PutawayStatusName.DeliveryStatus and _PutawayStatusName.DeliveryStatusType = 'DPT'
[0..*] I_EWM_DelivStsHelperText _GoodsReceiptStatusName $projection.GoodsReceiptStatus = _GoodsReceiptStatusName.DeliveryStatus and _GoodsReceiptStatusName.DeliveryStatusType = 'DGR'
[0..*] I_EWM_DelivStsHelperText _QualityMgmtInspectionStsName $projection.QualityMgmtInspectionStatus = _QualityMgmtInspectionStsName.DeliveryStatus and _QualityMgmtInspectionStsName.DeliveryStatusType = 'DQE'
[0..*] I_EWM_DelivStsHelperText _QltyMgmtCountPlngStatusName $projection.QualityMgmtCountPlngStatus = _QltyMgmtCountPlngStatusName.DeliveryStatus and _QltyMgmtCountPlngStatusName.DeliveryStatusType = 'DQS'
[0..*] I_EWM_DelivStsHelperText _QualityMgmtInspPlngStsName $projection.QualityMgmtInspPlngStatus = _QualityMgmtInspPlngStsName.DeliveryStatus and _QualityMgmtInspPlngStsName.DeliveryStatusType = 'DQP'

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IEWMINBDELIVC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
Analytics.internalName #LOCAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
EndUserText.label Inbound Delivery Item - Cube view

Fields (186)

KeyFieldSource TableSource FieldDescription
KEY InboundDeliveryUUID InboundDeliveryUUID Document ID
KEY InboundDeliveryItemUUID InboundDeliveryItemUUID Item ID
Warehouse Warehouse Warehouse Number/Warehouse Complex
InboundDelivery InboundDelivery Document Number
InboundDeliveryItem InboundDeliveryItem Item Number
ReceivingOffice ReceivingOffice Location Number
MeansOfTransportType MeansOfTransportType Means of Transport
MeansOfTransportTypeName Means of Transport Description
MeansOfTransport MeansOfTransport Means-of-Transport ID
DeliveryItemCategory DeliveryItemCategory Item Category
DeliveryDocumentCategory DeliveryDocumentCategory Document Category
DeliveryItemCategoryName Description
InboundDeliveryDocumentType InboundDeliveryDocumentType Document Type
InbDeliveryDocumentTypeName Description
InboundDeliveryItemType InboundDeliveryItemType Item Type
InboundDeliveryItemTypeName Description
WarehouseProcessType WarehouseProcessType Warehouse Process Type
WarehouseProcessTypeName Description
WarehouseDoor WarehouseDoor Warehouse Door
StagingAreaGroup StagingAreaGroup Staging Area Group
StagingArea StagingArea Staging Area
StagingBay StagingBay Staging Bay
GoodsMovementBin GoodsMovementBin Storage Bin of Goods Movement Posting
Product Product Product Sold
ProductName Product Description
Batch Batch Batch Number
RequirementSegment RequirementSegment Requirement Segment
StockSegment StockSegment Stock Segment
EntitledToDisposeParty EntitledToDisposeParty Party Entitled to Dispose
NameOfEntitledToDisposeParty NameOfEntitledToDisposeParty Extracted Customer Name
ShipFromParty ShipFromParty Business Partner Number
ShipFromPartyName ShipFromPartyName Ship-From Party Name
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed
Carrier Carrier Business Partner Number
CarrierName CarrierName Carrier Name
TimeZoneID TimeZoneID Time Zone
StockOwner StockOwner Owner of stock
StockOwnerName StockOwnerName Extracted Customer Name
StockType StockType Stock Type
StockTypeNameendasStockTypeName
ProductQuantity ProductQuantity Quantity
ItemVolume ItemVolume Volume
ItemNetWeight ItemNetWeight Net Weight
ItemGrossWeight ItemGrossWeight Gross Weight
QuantityUnit QuantityUnit Unit of measure
DisplayWeightUnit DisplayWeightUnit Weight Unit
DisplayVolumeUnit DisplayVolumeUnit Volume Unit
CompletionStatus CompletionStatus Status Value
CompletionStatusName Individual Status of an Object
UnloadingStatus UnloadingStatus Status Value
UnloadingStatusName Individual Status of an Object
PutawayStatus PutawayStatus Status Value
PutawayStatusName Individual Status of an Object
GoodsReceiptStatus GoodsReceiptStatus Status Value
GoodsReceiptStatusName Individual Status of an Object
QualityMgmtCountPlngStatus QualityMgmtCountPlngStatus Status Value
QualityMgmtCountPlngStatusName Individual Status of an Object
QualityMgmtInspPlngStatus QualityMgmtInspPlngStatus Status Value
QualityMgmtInspPlngStsName Individual Status of an Object
QualityMgmtInspectionStatus QualityMgmtInspectionStatus Status Value
QualityMgmtInspectionStsName Individual Status of an Object
GoodsMovementBlockStatus GoodsMovementBlockStatus Status Value
GoodsMovementBlockStatusName Individual Status of an Object
CheckToleranceStatus CheckToleranceStatus Status Value
CheckToleranceStatusName Individual Status of an Object
PlanningPutawayStatus PlanningPutawayStatus Status Value
PlanningPutawayStatusName Individual Status of an Object
TransportationUnitAssgmtStatus TransportationUnitAssgmtStatus Status Value
TranspUnitAssgmtStatusName Individual Status of an Object
ValueAddedServiceOrderStatus ValueAddedServiceOrderStatus Status Value
ValueAddedDelivStsName Individual Status of an Object
ValuationQtyAssignmentStatus ValuationQtyAssignmentStatus Status Value
ValuationQtyAssgmtStatusName Individual Status of an Object
WarehouseActivityStatus WarehouseActivityStatus Status Value
WarehouseActivityStatusName Individual Status of an Object
TransitStatus TransitStatus Status Value
TransitStatusName Individual Status of an Object
TransitProcedureStatus TransitProcedureStatus Status Value
TransitProcedureStatusName Individual Status of an Object
TransportationPlanningStatus TransportationPlanningStatus Status Value
TranspPlngStatusName Individual Status of an Object
OverallBlockStatus OverallBlockStatus Status Value
OverallBlockStatusName Individual Status of an Object
ItemInconsistencyBlkStatus ItemInconsistencyBlkStatus Status Value
ItemInconsistencyBlkStatusName Individual Status of an Object
TranspPlanBlockStatus TranspPlanBlockStatus Status Value
TranspPlanBlockStatusName Individual Status of an Object
InbDelivCompltnEndUTCDateTime InbDelivCompltnEndUTCDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
ActualGRStartUTCDateTime ActualGRStartUTCDateTime Creation Date/Time
PlannedGRStartUTCDateTime PlannedGRStartUTCDateTime Creation Date/Time
ActualPutawayEndUTCDateTime ActualPutawayEndUTCDateTime Creation Date/Time
UnloadingEndUTCDateTime UnloadingEndUTCDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
ActualGREndUTCDateTime ActualGREndUTCDateTime Creation Date/Time
PlannedGREndUTCDateTime PlannedGREndUTCDateTime Creation Date/Time
InbDelivItemCrtnUTCDateTime InbDelivItemCrtnUTCDateTime UTC Date and Time
PutawayEndWhseTmznDateTime PutawayEndWhseTmznDateTime End Date and Time of Putaway
ActualGREndWhseTmznDateTime ActualGREndWhseTmznDateTime Goods Receipt Ended On
UnloadingEndWhseTmznDateTime UnloadingEndWhseTmznDateTime End Date and Time of Unloading
InbDelivItmCmpltWhseTmznDteTme InbDelivItmCmpltWhseTmznDteTme Completion Date and Time
InbDelivCrtnWhseTmznDateTime InbDelivCrtnWhseTmznDateTime Created On
PlndDeliveryWhseTmznDateTime PlndDeliveryWhseTmznDateTime Planned Delivery Date and Time
ActualDeliveryWhseTmznDateTime ActualDeliveryWhseTmznDateTime Delivery Date and Time
PlndArrvlInYardWhseTmznDteTme PlndArrvlInYardWhseTmznDteTme Planned Arrival Date and Time in Yard
ActlArrvlInYardWhseTmznDteTme ActlArrvlInYardWhseTmznDteTme Arrival Time in Yard
PlndGREndWhseTmznDateTime PlndGREndWhseTmznDateTime Date and Time of Planned Goods Receipt
PlndGoodsReceiptWhseTmznYear PlndGoodsReceiptWhseTmznYear Display Date (Year)
PlndGoodsReceiptWhseTmznMonth PlndGoodsReceiptWhseTmznMonth Display Date (Month)
PlndGoodsReceiptWhseTmznDate PlndGoodsReceiptWhseTmznDate Display Date
PlndGoodsReceiptWhseTmznHour PlndGoodsReceiptWhseTmznHour Display Time (Hour)
PlndGoodsReceiptWhseTmznTime PlndGoodsReceiptWhseTmznTime Display Time
UnloadingEndWhseTmznYear UnloadingEndWhseTmznYear Display Date (Year)
UnloadingEndWhseTmznMonth UnloadingEndWhseTmznMonth Display Date (Month)
UnloadingEndWhseTmznDate UnloadingEndWhseTmznDate Display Date
UnloadingEndWhseTmznHour UnloadingEndWhseTmznHour Display Time (Hour)
UnloadingEndWhseTmznTime UnloadingEndWhseTmznTime Display Time
PutawayEndWhseTmznYear PutawayEndWhseTmznYear Display Date (Year)
PutawayEndWhseTmznMonth PutawayEndWhseTmznMonth Display Date (Month)
PutawayEndWhseTmznDate PutawayEndWhseTmznDate Display Date
PutawayEndWhseTmznHour PutawayEndWhseTmznHour Display Time (Hour)
PutawayEndWhseTmznTime PutawayEndWhseTmznTime Display Time
GoodsReceiptEndWhseTmznYear GoodsReceiptEndWhseTmznYear Display Date (Year)
GoodsReceiptEndWhseTmznMonth GoodsReceiptEndWhseTmznMonth Display Date (Month)
GoodsReceiptEndWhseTmznDate GoodsReceiptEndWhseTmznDate Display Date
GoodsReceiptEndWhseTmznHour GoodsReceiptEndWhseTmznHour Display Time (Hour)
GoodsReceiptEndWhseTmznTime GoodsReceiptEndWhseTmznTime Display Time
InbDelivCompltnEndWhseTmznYear InbDelivCompltnEndWhseTmznYear Display Date (Year)
InbDelivCompltnEndWhseTmznMnth InbDelivCompltnEndWhseTmznMnth Display Date (Month)
InbDelivCompltnEndWhseTmznDate InbDelivCompltnEndWhseTmznDate Display Date
InbDelivCompltnEndWhseTmznHour InbDelivCompltnEndWhseTmznHour Display Time (Hour)
InbDelivCompltnEndWhseTmznTime InbDelivCompltnEndWhseTmznTime Display Time
PlannedDeliveryWhseTmznYear PlannedDeliveryWhseTmznYear Display Date (Year)
PlannedDeliveryWhseTmznMonth PlannedDeliveryWhseTmznMonth Display Date (Month)
PlannedDeliveryWhseTmznDate PlannedDeliveryWhseTmznDate Display Date
PlannedDeliveryWhseTmznHour PlannedDeliveryWhseTmznHour Display Time (Hour)
PlannedDeliveryWhseTmznTime PlannedDeliveryWhseTmznTime Display Time
ActualDeliveryWhseTmznYear ActualDeliveryWhseTmznYear Display Date (Year)
ActualDeliveryWhseTmznMonth ActualDeliveryWhseTmznMonth Display Date (Month)
ActualDeliveryWhseTmznDate ActualDeliveryWhseTmznDate Display Date
ActualDeliveryWhseTmznHour ActualDeliveryWhseTmznHour Display Time (Hour)
ActualDeliveryWhseTmznTime ActualDeliveryWhseTmznTime Display Time
PlndArrvlInYardWhseTmznYear PlndArrvlInYardWhseTmznYear Display Date (Year)
PlndArrvlInYardWhseTmznMonth PlndArrvlInYardWhseTmznMonth Display Date (Month)
PlndArrvlInYardWhseTmznDate PlndArrvlInYardWhseTmznDate Display Date
PlndArrvlInYardWhseTmznHour PlndArrvlInYardWhseTmznHour Display Time (Hour)
PlndArrvlInYardWhseTmznTime PlndArrvlInYardWhseTmznTime Display Time
ActlArrvlInYardWhseTmznYear ActlArrvlInYardWhseTmznYear Display Date (Year)
ActlArrvlInYardWhseTmznMonth ActlArrvlInYardWhseTmznMonth Display Date (Month)
ActlArrvlInYardWhseTmznDate ActlArrvlInYardWhseTmznDate Display Date
ActlArrvlInYardWhseTmznHour ActlArrvlInYardWhseTmznHour Display Time (Hour)
ActlArrvlInYardWhseTmznTime ActlArrvlInYardWhseTmznTime Display Time
ActualArrivalInYardUTCDateTime ActualArrivalInYardUTCDateTime Creation Date/Time
PlndArrivalInYardUTCDateTime PlndArrivalInYardUTCDateTime Creation Date/Time
PlndDelivTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PlndArrvlTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
ActlDelivTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
ActlArrvlTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
CompltnEndTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
GREndRnddTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
PtwyEndRnddTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
UnldgEndRnddTo60MinsWhseDteTme UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
EWMPlndGRWhseTmznHour Planned GR Time in Hours (Whse Time Zone)
EWMPlndDeliveryWhseTmznHour Planned Delivey Time in Hours (Warehouse Time Zone)
EWMPlndGoodsReceiptDateIsToday Planned Goods Receipt Date Is Today (Whse Time Zone)
EWMActualPutawayDateIsToday Actual Putaway Date Is Today (Warehouse Time Zone)
EWMPlndDeliveryDateIsToday Planned Delivery Date Is Today (Warehouse Time Zone)
EWMQuantityHasAdjustment EWMQuantityHasAdjustment Delivery Quantity Has Adjustments
EWMPlndGRDateIsInPast EWMPlndGRDateIsInPast Planned Goods Receipt Date Is in Past
EWMActualGRDateIsOnTime EWMActualGRDateIsOnTime Actual Goods Receipt Is on Time
EWMPlndDeliveryTimeIsInPast EWMPlndDeliveryTimeIsInPast Planned Delivery Time Is in Past
EWMActGRIsBeforePlndDelivTime EWMActGRIsBeforePlndDelivTime Actual Goods Receipt Date Is Before Planned Delivery Date
_StorageType _StorageType
_DeliveryCategory _DeliveryCategory
_DeliveryType _DeliveryType
_InboundDeliveryType _InboundDeliveryType
_StagingArea _StagingArea
_StockType _StockType
_DeliveryItemType _DeliveryItemType
_WarehouseProcessType _WarehouseProcessType
_Product _Product
_ItemCat _ItemCat
_Warehouse _Warehouse
_MeansOfTransportType _MeansOfTransportType
_ShipFromParty _ShipFromParty
_Carrier _Carrier
NumberOfInbDelivItems 1 0
WarehouseLocation _WarehouseLocation WarehouseLocation Location Number

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 I_EWM_InboundDeliveryItemC.
-- 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.
-- SQL view name: IEWMINBDELIVC

CREATE VIEW I_EWM_InboundDeliveryItemC AS
SELECT
  InboundDeliveryUUID,
  InboundDeliveryItemUUID,
  Warehouse,
  InboundDelivery,
  InboundDeliveryItem,
  ReceivingOffice,
  MeansOfTransportType,
  _MeansOfTransportType._Text[1:Language = $parameters.P_Language].MeansOfTransportTypeName AS MeansOfTransportTypeName,
  MeansOfTransport,
  DeliveryItemCategory,
  DeliveryDocumentCategory,
  _ItemCat._Text[1:Language = $parameters.P_Language].DeliveryItemCategoryName AS DeliveryItemCategoryName,
  InboundDeliveryDocumentType,
  _InboundDeliveryType._Text[1:Language = $parameters.P_Language].DeliveryTypeName AS InbDeliveryDocumentTypeName,
  InboundDeliveryItemType,
  _DeliveryItemType._Text[1:Language = $parameters.P_Language].DeliveryItemTypeName AS InboundDeliveryItemTypeName,
  WarehouseProcessType,
  _WarehouseProcessType._Text[1:Language = $parameters.P_Language].WarehouseProcessTypeName AS WarehouseProcessTypeName,
  WarehouseDoor,
  StagingAreaGroup,
  StagingArea,
  StagingBay,
  GoodsMovementBin,
  Product,
  _Product._Text[1:Language = $parameters.P_Language].ProductName AS ProductName,
  Batch,
  RequirementSegment,
  StockSegment,
  EntitledToDisposeParty,
  NameOfEntitledToDisposeParty,
  ShipFromParty,
  ShipFromPartyName,
  IsBusinessPurposeCompleted,
  Carrier,
  CarrierName,
  TimeZoneID,
  StockOwner,
  StockOwnerName,
  StockType,
  case when _StockType._Text[1:Language = $parameters.P_Language].StockTypeName is not null then _StockType._Text[1:Language = $parameters.P_Language].StockTypeName else _StockType._WhseIndepText[1:Language = $parameters.P_Language].StockTypeName end as StockTypeName AS StockTypeNameendasStockTypeName,
  ProductQuantity,
  ItemVolume,
  ItemNetWeight,
  ItemGrossWeight,
  QuantityUnit,
  DisplayWeightUnit,
  DisplayVolumeUnit,
  CompletionStatus,
  _CompletionStatusName[1:Language = $parameters.P_Language].StatusName AS CompletionStatusName,
  UnloadingStatus,
  _UnloadingStatusName[1:Language = $parameters.P_Language].StatusName AS UnloadingStatusName,
  PutawayStatus,
  _PutawayStatusName[1:Language = $parameters.P_Language].StatusName AS PutawayStatusName,
  GoodsReceiptStatus,
  _GoodsReceiptStatusName[1:Language = $parameters.P_Language].StatusName AS GoodsReceiptStatusName,
  QualityMgmtCountPlngStatus,
  _QltyMgmtCountPlngStatusName[1:Language = $parameters.P_Language].StatusName AS QualityMgmtCountPlngStatusName,
  QualityMgmtInspPlngStatus,
  _QualityMgmtInspPlngStsName[1:Language = $parameters.P_Language].StatusName AS QualityMgmtInspPlngStsName,
  QualityMgmtInspectionStatus,
  _QualityMgmtInspectionStsName[1:Language = $parameters.P_Language].StatusName AS QualityMgmtInspectionStsName,
  GoodsMovementBlockStatus,
  _GoodsMovementBlockStatusName[1:Language = $parameters.P_Language].StatusName AS GoodsMovementBlockStatusName,
  CheckToleranceStatus,
  _CheckToleranceStatusName[1:Language = $parameters.P_Language].StatusName AS CheckToleranceStatusName,
  PlanningPutawayStatus,
  _PlngPutawayStatusName [1:Language = $parameters.P_Language].StatusName AS PlanningPutawayStatusName,
  TransportationUnitAssgmtStatus,
  _TranspUnitAssgmtStatusName[1:Language = $parameters.P_Language].StatusName AS TranspUnitAssgmtStatusName,
  ValueAddedServiceOrderStatus,
  _ValueAddedDelivStsName[1:Language = $parameters.P_Language].StatusName AS ValueAddedDelivStsName,
  ValuationQtyAssignmentStatus,
  _ValuationQtyAssgmtStatusName[1:Language = $parameters.P_Language].StatusName AS ValuationQtyAssgmtStatusName,
  WarehouseActivityStatus,
  _WarehouseActivityStatusName[1:Language = $parameters.P_Language].StatusName AS WarehouseActivityStatusName,
  TransitStatus,
  _TransitStatusName[1:Language = $parameters.P_Language].StatusName AS TransitStatusName,
  TransitProcedureStatus,
  _TransitProcedureStatusName [1:Language = $parameters.P_Language].StatusName AS TransitProcedureStatusName,
  TransportationPlanningStatus,
  _TranspPlngStatusName [1:Language = $parameters.P_Language].StatusName AS TranspPlngStatusName,
  OverallBlockStatus,
  _BlockStatusName [1:Language = $parameters.P_Language].StatusName AS OverallBlockStatusName,
  ItemInconsistencyBlkStatus,
  _ItemInconsistencyBlkStsName [1:Language = $parameters.P_Language].StatusName AS ItemInconsistencyBlkStatusName,
  TranspPlanBlockStatus,
  _TranspPlanBlockStatusName [1:Language = $parameters.P_Language].StatusName AS TranspPlanBlockStatusName,
  InbDelivCompltnEndUTCDateTime,
  ActualGRStartUTCDateTime,
  PlannedGRStartUTCDateTime,
  ActualPutawayEndUTCDateTime,
  UnloadingEndUTCDateTime,
  ActualGREndUTCDateTime,
  PlannedGREndUTCDateTime,
  InbDelivItemCrtnUTCDateTime,
  PutawayEndWhseTmznDateTime,
  ActualGREndWhseTmznDateTime,
  UnloadingEndWhseTmznDateTime,
  InbDelivItmCmpltWhseTmznDteTme,
  InbDelivCrtnWhseTmznDateTime,
  PlndDeliveryWhseTmznDateTime,
  ActualDeliveryWhseTmznDateTime,
  PlndArrvlInYardWhseTmznDteTme,
  ActlArrvlInYardWhseTmznDteTme,
  PlndGREndWhseTmznDateTime,
  PlndGoodsReceiptWhseTmznYear,
  PlndGoodsReceiptWhseTmznMonth,
  PlndGoodsReceiptWhseTmznDate,
  PlndGoodsReceiptWhseTmznHour,
  PlndGoodsReceiptWhseTmznTime,
  UnloadingEndWhseTmznYear,
  UnloadingEndWhseTmznMonth,
  UnloadingEndWhseTmznDate,
  UnloadingEndWhseTmznHour,
  UnloadingEndWhseTmznTime,
  PutawayEndWhseTmznYear,
  PutawayEndWhseTmznMonth,
  PutawayEndWhseTmznDate,
  PutawayEndWhseTmznHour,
  PutawayEndWhseTmznTime,
  GoodsReceiptEndWhseTmznYear,
  GoodsReceiptEndWhseTmznMonth,
  GoodsReceiptEndWhseTmznDate,
  GoodsReceiptEndWhseTmznHour,
  GoodsReceiptEndWhseTmznTime,
  InbDelivCompltnEndWhseTmznYear,
  InbDelivCompltnEndWhseTmznMnth,
  InbDelivCompltnEndWhseTmznDate,
  InbDelivCompltnEndWhseTmznHour,
  InbDelivCompltnEndWhseTmznTime,
  PlannedDeliveryWhseTmznYear,
  PlannedDeliveryWhseTmznMonth,
  PlannedDeliveryWhseTmznDate,
  PlannedDeliveryWhseTmznHour,
  PlannedDeliveryWhseTmznTime,
  ActualDeliveryWhseTmznYear,
  ActualDeliveryWhseTmznMonth,
  ActualDeliveryWhseTmznDate,
  ActualDeliveryWhseTmznHour,
  ActualDeliveryWhseTmznTime,
  PlndArrvlInYardWhseTmznYear,
  PlndArrvlInYardWhseTmznMonth,
  PlndArrvlInYardWhseTmznDate,
  PlndArrvlInYardWhseTmznHour,
  PlndArrvlInYardWhseTmznTime,
  ActlArrvlInYardWhseTmznYear,
  ActlArrvlInYardWhseTmznMonth,
  ActlArrvlInYardWhseTmznDate,
  ActlArrvlInYardWhseTmznHour,
  ActlArrvlInYardWhseTmznTime,
  ActualArrivalInYardUTCDateTime,
  PlndArrivalInYardUTCDateTime,
  cast(cast(cast(concat( substring(cast(PlndDeliveryWhseTmznDateTime as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS PlndDelivTo60MinsWhseDteTme,
  cast(cast(cast(concat( substring(cast(PlndArrvlInYardWhseTmznDteTme as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS PlndArrvlTo60MinsWhseDteTme,
  cast(cast(cast(concat( substring(cast(ActualDeliveryWhseTmznDateTime as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS ActlDelivTo60MinsWhseDteTme,
  cast(cast(cast(concat( substring(cast(ActlArrvlInYardWhseTmznDteTme as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS ActlArrvlTo60MinsWhseDteTme,
  cast(cast(cast(concat( substring(cast(InbDelivItmCmpltWhseTmznDteTme as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS CompltnEndTo60MinsWhseDteTme,
  cast(cast(cast(concat( substring(cast(ActualGREndWhseTmznDateTime as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS GREndRnddTo60MinsWhseDteTme,
  cast(cast(cast(concat( substring(cast(PutawayEndWhseTmznDateTime as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS PtwyEndRnddTo60MinsWhseDteTme,
  cast(cast(cast(concat( substring(cast(UnloadingEndWhseTmznDateTime as abap.char( 17 )), 1, 10), '0000' ) as abap.numc( 15 )) as abap.dec(15) ) as tzntstmps preserving type ) AS UnldgEndRnddTo60MinsWhseDteTme,
  cast(substring(cast(PlndGoodsReceiptWhseTmznHour as abap.char( 10 ) ),9,10) as ewm_de_plndgr_in_hour) AS EWMPlndGRWhseTmznHour,
  cast(substring(cast(PlannedDeliveryWhseTmznHour as abap.char( 10 ) ),9,10) as ewm_de_plnddelivery_in_hour) AS EWMPlndDeliveryWhseTmznHour,
  case when PlndGoodsReceiptWhseTmznDate = EWMWarehouseCurrentDate then cast ('X' as ewm_de_plndgr_is_today) else cast ('' as ewm_de_plndgr_is_today) end AS EWMPlndGoodsReceiptDateIsToday,
  case when PutawayEndWhseTmznDate = EWMWarehouseCurrentDate then cast ('X' as ewm_de_actual_putaway_is_today) else cast ('' as ewm_de_actual_putaway_is_today) end AS EWMActualPutawayDateIsToday,
  case when PlannedDeliveryWhseTmznDate = EWMWarehouseCurrentDate then cast ('X' as ewm_de_plnddelivery_is_today) else cast ('' as ewm_de_plnddelivery_is_today) end AS EWMPlndDeliveryDateIsToday,
  EWMQuantityHasAdjustment,
  EWMPlndGRDateIsInPast,
  EWMActualGRDateIsOnTime,
  EWMPlndDeliveryTimeIsInPast,
  EWMActGRIsBeforePlndDelivTime,
  1.0 AS NumberOfInbDelivItems,
  _WarehouseLocation.WarehouseLocation AS WarehouseLocation
FROM P_EWM_InboundDeliveryItem AS InboundDeliveryItem
LEFT OUTER JOIN I_EWM_WarehouseNumber AS _Warehouse ON Warehouse = _Warehouse.Warehouse  -- association [0..1]
LEFT OUTER JOIN I_EWM_DeliveryItemType AS _DeliveryItemType ON DeliveryDocumentCategory = _DeliveryItemType.DeliveryCategory AND InboundDeliveryItemType = _DeliveryItemType.DeliveryItemType  -- association [0..1]
LEFT OUTER JOIN I_EWM_DeliveryType AS _DeliveryType ON DeliveryDocumentCategory = _DeliveryType.DeliveryCategory AND InboundDeliveryDocumentType = _DeliveryType.DeliveryType  -- association [0..1]
LEFT OUTER JOIN I_EWM_InboundDeliveryType AS _InboundDeliveryType ON DeliveryDocumentCategory = _InboundDeliveryType.EWMDeliveryDocumentCategory AND InboundDeliveryDocumentType = _InboundDeliveryType.DeliveryType  -- association [0..1]
LEFT OUTER JOIN I_EWM_DeliveryCategory AS _DeliveryCategory ON DeliveryDocumentCategory = _DeliveryCategory.DeliveryCategory  -- association [0..1]
LEFT OUTER JOIN I_EWM_DeliveryItemCategory AS _ItemCat ON DeliveryItemCategory = _ItemCat.DeliveryItemCategory  -- association [0..1]
LEFT OUTER JOIN I_EWM_WrhsProcType AS _WarehouseProcessType ON WarehouseProcessType = _WarehouseProcessType.WarehouseProcessType AND Warehouse = _WarehouseProcessType.Warehouse  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1]
LEFT OUTER JOIN I_EWM_MnsOfTranspType AS _MeansOfTransportType ON MeansOfTransportType = _MeansOfTransportType.MeansOfTransportType  -- association [0..1]
LEFT OUTER JOIN I_EWM_BusinessPartner AS _ShipFromParty ON ShipFromParty = _ShipFromParty.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_EWM_BusinessPartner AS _Carrier ON Carrier = _Carrier.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_EWM_StorageSection AS _StagingArea ON Warehouse = _StagingArea.Warehouse AND StagingAreaGroup = _StagingArea.StorageType AND StagingArea = _StagingArea.StorageSection  -- association [0..1]
LEFT OUTER JOIN I_EWM_StorageType AS _StorageType ON StagingAreaGroup = _StorageType.StorageType AND Warehouse = _StorageType.Warehouse  -- association [0..1]
LEFT OUTER JOIN I_EWM_DeliveryBPLocation AS _WarehouseLocation ON InboundDeliveryUUID = _WarehouseLocation.OutboundDeliveryOrderUUID AND InboundDeliveryItemUUID = _WarehouseLocation.OutboundDeliveryOrderItemUUID  -- association [0..1]
LEFT OUTER JOIN I_EWM_StockType AS _StockType ON Warehouse = _StockType.Warehouse AND StockType = _StockType.StockType  -- association [0..1]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _BlockStatusName ON OverallBlockStatus = _BlockStatusName.DeliveryStatus AND _BlockStatusName.DeliveryStatusType = 'DBO'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _TranspPlanBlockStatusName ON TranspPlanBlockStatus = _TranspPlanBlockStatusName.DeliveryStatus AND _TranspPlanBlockStatusName.DeliveryStatusType = 'DBT'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _ItemInconsistencyBlkStsName ON ItemInconsistencyBlkStatus = _ItemInconsistencyBlkStsName.DeliveryStatus AND _ItemInconsistencyBlkStsName.DeliveryStatusType = 'DBD'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _GoodsMovementBlockStatusName ON GoodsMovementBlockStatus = _GoodsMovementBlockStatusName.DeliveryStatus AND _GoodsMovementBlockStatusName.DeliveryStatusType = 'DWG'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _TransitProcedureStatusName ON TransitProcedureStatus = _TransitProcedureStatusName.DeliveryStatus AND _TransitProcedureStatusName.DeliveryStatusType = 'DWN'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _WarehouseActivityStatusName ON WarehouseActivityStatus = _WarehouseActivityStatusName.DeliveryStatus AND _WarehouseActivityStatusName.DeliveryStatusType = 'DWA'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _TranspUnitAssgmtStatusName ON TransportationUnitAssgmtStatus = _TranspUnitAssgmtStatusName.DeliveryStatus AND _TranspUnitAssgmtStatusName.DeliveryStatusType = 'DTU'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _ValuationQtyAssgmtStatusName ON ValuationQtyAssignmentStatus = _ValuationQtyAssgmtStatusName.DeliveryStatus AND _ValuationQtyAssgmtStatusName.DeliveryStatusType = 'DVQ'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _ValueAddedDelivStsName ON ValueAddedServiceOrderStatus = _ValueAddedDelivStsName.DeliveryStatus AND _ValueAddedDelivStsName.DeliveryStatusType = 'DWV'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _UnloadingStatusName ON UnloadingStatus = _UnloadingStatusName.DeliveryStatus AND _UnloadingStatusName.DeliveryStatusType = 'DUN'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _CheckToleranceStatusName ON CheckToleranceStatus = _CheckToleranceStatusName.DeliveryStatus AND _CheckToleranceStatusName.DeliveryStatusType = 'DTL'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _PlngPutawayStatusName ON PlanningPutawayStatus = _PlngPutawayStatusName.DeliveryStatus AND _PlngPutawayStatusName.DeliveryStatusType = 'DEU'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _TransitStatusName ON TransitStatus = _TransitStatusName.DeliveryStatus AND _TransitStatusName.DeliveryStatusType = 'DTR'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _TranspPlngStatusName ON TransportationPlanningStatus = _TranspPlngStatusName.DeliveryStatus AND _TranspPlngStatusName.DeliveryStatusType = 'DTD'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _CompletionStatusName ON CompletionStatus = _CompletionStatusName.DeliveryStatus AND _CompletionStatusName.DeliveryStatusType = 'DCO'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _PutawayStatusName ON PutawayStatus = _PutawayStatusName.DeliveryStatus AND _PutawayStatusName.DeliveryStatusType = 'DPT'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _GoodsReceiptStatusName ON GoodsReceiptStatus = _GoodsReceiptStatusName.DeliveryStatus AND _GoodsReceiptStatusName.DeliveryStatusType = 'DGR'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _QualityMgmtInspectionStsName ON QualityMgmtInspectionStatus = _QualityMgmtInspectionStsName.DeliveryStatus AND _QualityMgmtInspectionStsName.DeliveryStatusType = 'DQE'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _QltyMgmtCountPlngStatusName ON QualityMgmtCountPlngStatus = _QltyMgmtCountPlngStatusName.DeliveryStatus AND _QltyMgmtCountPlngStatusName.DeliveryStatusType = 'DQS'  -- association [0..*]
LEFT OUTER JOIN I_EWM_DelivStsHelperText AS _QualityMgmtInspPlngStsName ON QualityMgmtInspPlngStatus = _QualityMgmtInspPlngStsName.DeliveryStatus AND _QualityMgmtInspPlngStsName.DeliveryStatusType = 'DQP'  -- association [0..*]
;