I_EWM_InbDeliveryItemBasic

DDL: I_EWM_INBDELIVERYITEMBASIC Type: view_entity COMPOSITE

Inbound Delivery Item Basic

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

Data Sources (1)

SourceAliasJoin Type
I_EWM_WarehouseRequestInbItem IbdDeliveryItemBasic from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_EWM_DeliveryStatus _ItemStatus $projection.InboundDeliveryUUID = _ItemStatus.DeliveryUUID and $projection.InboundDeliveryItemUUID = _ItemStatus.DeliveryItemUUID and _ItemStatus.EWMDeliveryDocumentCategory = 'PDI'
[0..*] I_EWM_DeliveryQuantity_2 _Quantity $projection.InboundDeliveryUUID = _Quantity.DeliveryUUID and $projection.InboundDeliveryItemUUID = _Quantity.DeliveryItemUUID and _Quantity.EWMDeliveryDocumentCategory = 'PDI'
[0..*] I_EWM_DeliveryDateAndTime _DeliveryItemDateTime $projection.InboundDeliveryUUID = _DeliveryItemDateTime.DeliveryOrderUUID and $projection.InboundDeliveryItemUUID = _DeliveryItemDateTime.DeliveryOrderItemUUID and _DeliveryItemDateTime.DeliveryDocumentCategory = 'PDI'
[0..*] I_EWM_WhseReqItmExtProdBatch _ExtProdBatch $projection.InboundDeliveryUUID = _ExtProdBatch.EWMWarehouseRequestUUID and $projection.InboundDeliveryItemUUID = _ExtProdBatch.EWMWarehouseRequestItemUUID and $projection.DeliveryDocumentCategory = 'PDI'

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Inbound Delivery Item Basic view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY InboundDeliveryUUID EWMWarehouseRequestUUID
KEY InboundDeliveryItemUUID EWMWarehouseRequestItemUUID
Warehouse EWMWarehouse
EWMWarehouse EWMWarehouse
InboundDelivery EWMWarehouseRequest
EWMInboundDelivery EWMWarehouseRequest
InboundDeliveryItem EWMWarehouseRequestItem
EWMInboundDeliveryItem EWMWarehouseRequestItem
DeliveryDocumentCategory EWMWhseRequestDocumentCategory
DeliveryItemCategory EWMWhseRequestItemCategory
EWMInboundDeliveryItemCategory EWMWhseRequestItemCategory
InboundDeliveryItemType EWMWarehouseRequestItemType
EWMInboundDeliveryItemType EWMWarehouseRequestItemType
WarehouseProcessType WarehouseProcessType
WarehouseDoor WarehouseDoor
StagingAreaGroup StagingAreaGroup
StagingArea StagingArea
StagingBay StagingBay
ProductionSupplyArea EWMProductionSupplyArea
EWMProductionSupplyArea EWMProductionSupplyArea
GoodsMovementBin GoodsMovementBin
Product Product
ProductExternalID ProductExternalID
Batch
RequirementSegment RequirementSegment
StockSegment StockSegment
CountryOfOrigin CountryOfOrigin
EntitledToDisposeParty EntitledToDisposeParty
StockOwner EWMStockOwner
EWMStockOwner EWMStockOwner
StockType EWMStockType
EWMStockType EWMStockType
StockUsage StockUsage
StockDocumentCategory StockDocumentCategory
StockDocumentNumber StockDocumentNumber
StockItemNumber StockItemNumber
DeliveryItemStockTypeDetnCode EWMWhseReqItmStockTypeDetnCode
ProductQuantity ProductQuantity
CompletionStatus CompletionStatus
GoodsReceiptStatus GoodsReceiptStatus
FldLogsStatus FldLogsStatus
LastChangeTime EWMWhseReqLastChangeUTCDteTme
EWMDelivLastChangeUTCDateTime EWMWhseReqLastChangeUTCDteTme
QuantityUnit QuantityUnit
InbDelivItemCrtnUTCDateTime EWMWhseReqCreationUTCDateTime
PlndGREndWhseTmznDateTime PlndGREndWhseTmznDateTime
UnloadingEndWhseTmznDateTime UnloadingEndWhseTmznDateTime
PutawayEndWhseTmznDateTime PutawayEndWhseTmznDateTime
ActualGREndWhseTmznDateTime ActualGREndWhseTmznDateTime
InbDelivItmCmpltWhseTmznDteTme EWMItmCmpltWhseTmznDteTme
PurchasingDocument PurchasingDocument
PurchasingDocumentItem PurchasingDocumentItem
_ItemStatus _ItemStatus
_Quantity _Quantity
_DeliveryItemDateTime _DeliveryItemDateTime
_ExtProdBatch _ExtProdBatch
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Inbound Delivery Item Basic'
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.sizeCategory: #XL

@AccessControl.personalData.blocking :#REQUIRED

@VDM.viewType:#COMPOSITE
define view entity I_EWM_InbDeliveryItemBasic
  as select from I_EWM_WarehouseRequestInbItem as IbdDeliveryItemBasic

  association [0..*] to I_EWM_DeliveryStatus      as _ItemStatus           on  $projection.InboundDeliveryUUID         = _ItemStatus.DeliveryUUID
                                                                           and $projection.InboundDeliveryItemUUID     = _ItemStatus.DeliveryItemUUID
                                                                           and _ItemStatus.EWMDeliveryDocumentCategory = 'PDI'

  association [0..*] to I_EWM_DeliveryQuantity_2  as _Quantity             on  $projection.InboundDeliveryUUID       = _Quantity.DeliveryUUID
                                                                           and $projection.InboundDeliveryItemUUID   = _Quantity.DeliveryItemUUID
                                                                           and _Quantity.EWMDeliveryDocumentCategory = 'PDI'

  association [0..*] to I_EWM_DeliveryDateAndTime as _DeliveryItemDateTime on  $projection.InboundDeliveryUUID                = _DeliveryItemDateTime.DeliveryOrderUUID
                                                                           and $projection.InboundDeliveryItemUUID            = _DeliveryItemDateTime.DeliveryOrderItemUUID
                                                                           and _DeliveryItemDateTime.DeliveryDocumentCategory = 'PDI'

  association [0..*] to I_EWM_WhseReqItmExtProdBatch  as _ExtProdBatch  on $projection.InboundDeliveryUUID       = _ExtProdBatch.EWMWarehouseRequestUUID
                                                                           and $projection.InboundDeliveryItemUUID   = _ExtProdBatch.EWMWarehouseRequestItemUUID
                                                                           and $projection.DeliveryDocumentCategory = 'PDI'
{
  key EWMWarehouseRequestUUID                                        as InboundDeliveryUUID,
  key EWMWarehouseRequestItemUUID                                    as InboundDeliveryItemUUID,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMWarehouse'
      EWMWarehouse                                                   as Warehouse,
      EWMWarehouse                                                   as EWMWarehouse,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMInboundDelivery'
      EWMWarehouseRequest                                            as InboundDelivery,
      EWMWarehouseRequest                                            as EWMInboundDelivery,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMInboundDeliveryItem'
      EWMWarehouseRequestItem                                        as InboundDeliveryItem,
      EWMWarehouseRequestItem                                        as EWMInboundDeliveryItem,
      EWMWhseRequestDocumentCategory                                 as DeliveryDocumentCategory,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMInboundDeliveryItemCategory'
      EWMWhseRequestItemCategory                                     as DeliveryItemCategory,
      EWMWhseRequestItemCategory                                     as EWMInboundDeliveryItemCategory,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMInboundDeliveryItemType'
      EWMWarehouseRequestItemType                                    as InboundDeliveryItemType,
      EWMWarehouseRequestItemType                                    as EWMInboundDeliveryItemType,
      WarehouseProcessType,
      WarehouseDoor,
      StagingAreaGroup,
      StagingArea,
      StagingBay,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMProductionSupplyArea'
      EWMProductionSupplyArea                                        as ProductionSupplyArea,
      EWMProductionSupplyArea,
      GoodsMovementBin,
      Product,
      ProductExternalID,
      cast(ProductBatch as charg_d)                                  as Batch,
      RequirementSegment,
      StockSegment,
      CountryOfOrigin,
      EntitledToDisposeParty,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMStockOwner'
      EWMStockOwner                                                  as StockOwner,
      EWMStockOwner,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMStockType'
      EWMStockType                                                   as StockType,
      EWMStockType,
      StockUsage,
      StockDocumentCategory,
      StockDocumentNumber,
      StockItemNumber,

      /* Special Stock - Sales Order */
      case StockDocumentCategory
        when 'SOS' then cast(substring(StockDocumentNumber,26,10) as vbeln preserving type)
        else cast( '          ' as vbeln preserving type ) end       as SpecialStockIdfgSalesOrder, // SOS -> Valuated Sales Order


      /* Special Stock - Sales Order Item */
      case StockDocumentCategory
        when 'SOS'  then cast(substring(StockItemNumber, 5,6) as abap.numc( 6 ))
        else cast( '000000' as numc06 preserving type ) end          as SpecialStockIdfgSalesOrderItem,

      EWMWhseReqItmStockTypeDetnCode                                 as DeliveryItemStockTypeDetnCode,
      ProductQuantity,
      CompletionStatus,
      GoodsReceiptStatus,
      FldLogsStatus, // Introduced with 2202 CE for Field Logistic colleagues


      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor:  'EWMDelivLastChangeUTCDateTime'
      EWMWhseReqLastChangeUTCDteTme                                  as LastChangeTime,
      EWMWhseReqLastChangeUTCDteTme                                  as EWMDelivLastChangeUTCDateTime,

      QuantityUnit,
      EWMWhseReqCreationUTCDateTime                                  as InbDelivItemCrtnUTCDateTime,
      PlndGREndWhseTmznDateTime,
      UnloadingEndWhseTmznDateTime,
      PutawayEndWhseTmznDateTime,
      ActualGREndWhseTmznDateTime,
      EWMItmCmpltWhseTmznDteTme                                      as InbDelivItmCmpltWhseTmznDteTme,

      /* Reference Documents */
      PurchasingDocument,
      PurchasingDocumentItem,

      _ItemStatus,
      _Quantity,
      _DeliveryItemDateTime,
      _ExtProdBatch
}
where
  EWMWhseRequestDocumentCategory = 'PDI'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EWM_WAREHOUSEREQUESTINBITEM"
],
"ASSOCIATED":
[
"I_EWM_DELIVERYDATEANDTIME",
"I_EWM_DELIVERYQUANTITY_2",
"I_EWM_DELIVERYSTATUS",
"I_EWM_WHSEREQITMEXTPRODBATCH"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/