I_InboundDelivery

DDL: I_INBOUNDDELIVERY SQL: ILEINBDELIV Type: view BASIC Package: VDM_LE_SHP_IBD_COMMON

Inbound Delivery

I_InboundDelivery is a Basic CDS View (Dimension) that provides data about "Inbound Delivery" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 174 fields with key field InboundDelivery. It has 4 associations to related views. Part of development package VDM_LE_SHP_IBD_COMMON.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocument I_DeliveryDocument from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_InboundDeliveryItem _Item $projection.InboundDelivery = _Item.InboundDelivery
[0..1] I_PutawayStatus _OverallPutawayStatus $projection.OverallPutawayStatus = _OverallPutawayStatus.PutawayStatus
[1..*] I_SDDocumentPartner _Partner $projection.InboundDelivery = _Partner.SDDocument
[0..1] E_DeliveryDocument _Extension $projection.InboundDelivery = _Extension.DeliveryDocument

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey InboundDelivery view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Inbound Delivery view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ILEINBDELIV view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name InboundDelivery view

Fields (174)

KeyFieldSource TableSource FieldDescription
KEY InboundDelivery DeliveryDocument
SDDocumentCategory SDDocumentCategory
DeliveryDocumentType DeliveryDocumentType
CreatedByUser CreatedByUser
CreationDate CreationDate
CreationTime CreationTime
LastChangedByUser LastChangedByUser
LastChangeDate LastChangeDate
ShippingPoint ShippingPoint
SalesOrganization SalesOrganization
SalesOffice SalesOffice
CompleteDeliveryIsDefined CompleteDeliveryIsDefined
OrderCombinationIsAllowed OrderCombinationIsAllowed
DeliveryPriority DeliveryPriority
DeliveryBlockReason DeliveryBlockReason
Supplier Supplier
DeliveryDocumentBySupplier DeliveryDocumentBySupplier
DeliveryIsInPlant DeliveryIsInPlant
ReceivingPlant ReceivingPlant
Warehouse Warehouse
IsExportDelivery IsExportDelivery
OrderID OrderID
HeaderGrossWeight HeaderGrossWeight
HeaderNetWeight HeaderNetWeight
HeaderWeightUnit HeaderWeightUnit
HeaderVolume HeaderVolume
HeaderVolumeUnit HeaderVolumeUnit
DocumentDate DocumentDate
ReadyForWarehouseExecStatus ReadyForWarehouseExecStatus
DelivAdvncdShipgRcvgRlvnce DelivAdvncdShipgRcvgRlvnce
DelivIsQtyCrrtnAdvncShipgRcvg DelivIsQtyCrrtnAdvncShipgRcvg
PickingDate PickingDate
PickingTime PickingTime
TotalNumberOfPackage TotalNumberOfPackage
LoadingPoint LoadingPoint
LoadingDate LoadingDate
LoadingTime LoadingTime
BillOfLading BillOfLading
HandlingUnitInStock HandlingUnitInStock
ShipToParty ShipToParty
ShippingType ShippingType
DeliveryDate DeliveryDate
DeliveryTime DeliveryTime
ShippingCondition ShippingCondition
ShipmentBlockReason ShipmentBlockReason
TransportationPlanningDate TransportationPlanningDate
TransportationPlanningTime TransportationPlanningTime
ProposedDeliveryRoute ProposedDeliveryRoute
ActualDeliveryRoute ActualDeliveryRoute
RouteSchedule RouteSchedule
PlannedGoodsIssueDate PlannedGoodsIssueDate
GoodsIssueTime GoodsIssueTime
ActualGoodsMovementDate ActualGoodsMovementDate
ActualGoodsMovementTime ActualGoodsMovementTime
IncotermsClassification IncotermsClassification
IncotermsTransferLocation IncotermsTransferLocation
ExternalTransportSystem ExternalTransportSystem
TransportationGroup TransportationGroup
MeansOfTransport MeansOfTransport
MeansOfTransportType MeansOfTransportType
UnloadingPointName UnloadingPointName
ProofOfDeliveryDate ProofOfDeliveryDate
ConfirmationTime ConfirmationTime
FactoryCalendarByCustomer FactoryCalendarByCustomer
BillingDocumentDate BillingDocumentDate
HeaderBillingBlockReason HeaderBillingBlockReason
SoldToParty SoldToParty
CustomerGroup CustomerGroup
SalesDistrict SalesDistrict
TransactionCurrency TransactionCurrency
OverallIntcoBillingStatus OverallIntcoBillingStatus
OverallSDProcessStatus OverallSDProcessStatus
TotalBlockStatus TotalBlockStatus
OverallDelivConfStatus OverallDelivConfStatus
TransportationPlanningStatus TransportationPlanningStatus
OverallPickingConfStatus OverallPickingConfStatus
OverallPickingStatus OverallPickingStatus
OverallPutawayStatus OverallPickingStatus
OverallPackingStatus OverallPackingStatus
OverallWarehouseActivityStatus OverallWarehouseActivityStatus
DistrStatusByDecentralizedWrhs DistrStatusByDecentralizedWrhs
OverallGoodsMovementStatus OverallGoodsMovementStatus
OverallDelivReltdBillgStatus OverallDelivReltdBillgStatus
OverallProofOfDeliveryStatus OverallProofOfDeliveryStatus
HdrGeneralIncompletionStatus HdrGeneralIncompletionStatus
HeaderDelivIncompletionStatus HeaderDelivIncompletionStatus
HeaderPickgIncompletionStatus HeaderPickgIncompletionStatus
HeaderPackingIncompletionSts HeaderPackingIncompletionSts
HdrGoodsMvtIncompletionStatus HdrGoodsMvtIncompletionStatus
HeaderBillgIncompletionStatus HeaderBillgIncompletionStatus
OvrlItmGeneralIncompletionSts OvrlItmGeneralIncompletionSts
OvrlItmPackingIncompletionSts OvrlItmPackingIncompletionSts
OvrlItmPickingIncompletionSts OvrlItmPickingIncompletionSts
OvrlItmDelivIncompletionSts OvrlItmDelivIncompletionSts
OvrlItmGdsMvtIncompletionSts OvrlItmGdsMvtIncompletionSts
TotalCreditCheckStatus TotalCreditCheckStatus
OverallTrdCmplncEmbargoSts OverallTrdCmplncEmbargoSts
OvrlTrdCmplncSnctndListChkSts OvrlTrdCmplncSnctndListChkSts
OvrlTrdCmplncLegalCtrlChkSts OvrlTrdCmplncLegalCtrlChkSts
PricingDocument PricingDocument
SalesOrgForIntcoBilling SalesOrgForIntcoBilling
DistrChnlForIntcoBilling DistrChnlForIntcoBilling
DivisionForIntcoBilling DivisionForIntcoBilling
IntercompanyBillingType IntercompanyBillingType
FactoryCalendarForIntcoBilling FactoryCalendarForIntcoBilling
IntercompanyBillingCustomer IntercompanyBillingCustomer
DeliveryDocumentCondition DeliveryDocumentCondition
TotalNetAmount TotalNetAmount
ReferenceDocumentNumber ReferenceDocumentNumber
DeletionIndicator DeletionIndicator
_Item _Item
_Partner _Partner
_SDDocumentCategory _SDDocumentCategory
_DeliveryDocumentType _DeliveryDocumentType
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_ShippingPoint _ShippingPoint
_SalesOrganization _SalesOrganization
_SalesOffice _SalesOffice
_DeliveryPriority _DeliveryPriority
_DeliveryBlockReason _DeliveryBlockReason
_Supplier _Supplier
_ReceivingPlant _ReceivingPlant
_Warehouse _Warehouse
_OrderID _OrderID
_HeaderWeightUnit _HeaderWeightUnit
_HeaderVolumeUnit _HeaderVolumeUnit
_LoadingPoint _LoadingPoint
_HandlingUnitInStock _HandlingUnitInStock
_ShipToParty _ShipToParty
_ShippingType _ShippingType
_ShippingCondition _ShippingCondition
_ShipmentBlockReason _ShipmentBlockReason
_ProposedDeliveryRoute _ProposedDeliveryRoute
_ActualDeliveryRoute _ActualDeliveryRoute
_IncotermsClassification _IncotermsClassification
_TransportationGroup _TransportationGroup
_MeansOfTransportType _MeansOfTransportType
_HeaderBillingBlockReason _HeaderBillingBlockReason
_SoldToParty _SoldToParty
_CustomerGroup _CustomerGroup
_SalesDistrict _SalesDistrict
_TransactionCurrency _TransactionCurrency
_OverallSDProcessStatus _OverallSDProcessStatus
_TotalBlockStatus _TotalBlockStatus
_OverallDelivConfStatus _OverallDelivConfStatus
_TransportationPlanningSts _TransportationPlanningSts
_OverallPickingConfStatus _OverallPickingConfStatus
_OverallPickingStatus _OverallPickingStatus
_OverallPutawayStatus _OverallPutawayStatus
_OverallPackingStatus _OverallPackingStatus
_OvrlWarehouseActyStatus _OvrlWarehouseActyStatus
_DistrStatusByDectrlzdWrhs _DistrStatusByDectrlzdWrhs
_OverallGoodsMovementStatus _OverallGoodsMovementStatus
_OverallDelivReltdBillgStatus _OverallDelivReltdBillgStatus
_OverallProofOfDeliveryStatus _OverallProofOfDeliveryStatus
_HdrGeneralIncompletionStatus _HdrGeneralIncompletionStatus
_HeaderDelivIncompletionStatus _HeaderDelivIncompletionStatus
_HeaderPickgIncompletionStatus _HeaderPickgIncompletionStatus
_HeaderPackingIncompletionSts _HeaderPackingIncompletionSts
_HdrGoodsMvtIncompletionStatus _HdrGoodsMvtIncompletionStatus
_HeaderBillgIncompletionStatus _HeaderBillgIncompletionStatus
_OvrlItmGeneralIncompletionSts _OvrlItmGeneralIncompletionSts
_OvrlItmPackingIncompletionSts _OvrlItmPackingIncompletionSts
_OvrlItmPickingIncompletionSts _OvrlItmPickingIncompletionSts
_OvrlItmDelivIncompletionSts _OvrlItmDelivIncompletionSts
_OvrlItmGdsMvtIncompletionSts _OvrlItmGdsMvtIncompletionSts
_TotalCreditCheckStatus _TotalCreditCheckStatus
_MaterialDocumentHeader _MaterialDocumentHeader
_WarehouseExecutionStatus _WarehouseExecutionStatus
_DelivAdvncdShipgRcvgRlvnce _DelivAdvncdShipgRcvgRlvnce
_OverallTrdCmplncEmbargoSts _OverallTrdCmplncEmbargoSts
_OvrlTrdCmplncSnctndListChkSts _OvrlTrdCmplncSnctndListChkSts
_OvrlTrdCmplncLegalCtrlChkSts _OvrlTrdCmplncLegalCtrlChkSts
@ClientHandling.algorithm: #SESSION_VARIABLE //Inserted by VDM CDS Suite Plugin

@ObjectModel.compositionRoot: true
@ObjectModel.representativeKey: 'InboundDelivery'
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
//Commented by VDM CDS Suite Plugin:@ObjectModel.representativeKey: 'OutboundDelivery'

//Commented by VDM CDS Suite Plugin:@ObjectModel.compositionRoot: true

@EndUserText.label: 'Inbound Delivery'
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction: { enabled: true, 
                             delta.changeDataCapture.mapping: [{
                               role: #MAIN,
                               table: 'LIKP',
                               tableElement: ['VBELN'],
                               viewElement: ['InboundDelivery']
                             }]
                            } 
@Metadata.allowExtensions: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck:#CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
//@AccessControl.privilegedAssociations:  [ '_Extension' ]

@AbapCatalog.sqlViewName: 'ILEINBDELIV'
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #ANALYTICAL_DIMENSION, #EXTRACTION_DATA_SOURCE ]
@ObjectModel.modelingPattern: [ #ANALYTICAL_DIMENSION ]
@ObjectModel.sapObjectNodeType.name:'InboundDelivery'

define view I_InboundDelivery
  as select from I_DeliveryDocument
  //Associations

  association [0..*] to I_InboundDeliveryItem as _Item                 on $projection.InboundDelivery = _Item.InboundDelivery
  association [0..1] to I_PutawayStatus       as _OverallPutawayStatus on $projection.OverallPutawayStatus = _OverallPutawayStatus.PutawayStatus

  //The following shall be removed when the cast bug is fixed.

  association [1..*] to I_SDDocumentPartner   as _Partner              on $projection.InboundDelivery = _Partner.SDDocument

  association [0..1] to E_DeliveryDocument    as _Extension            on $projection.InboundDelivery = _Extension.DeliveryDocument

{
      //key

  key DeliveryDocument     as InboundDelivery,

      //category

      SDDocumentCategory,
      //documenttype

      @ObjectModel.foreignKey.association: '_DeliveryDocumentType'
      DeliveryDocumentType,

      //admin

      CreatedByUser,
      @Semantics.systemDate.createdAt: true
      CreationDate,
      CreationTime,
      LastChangedByUser,
      @Semantics.systemDate.lastChangedAt: true
      LastChangeDate,

      //Organization

      @ObjectModel.foreignKey.association: '_ShippingPoint'
      ShippingPoint,
      @ObjectModel.foreignKey.association: '_SalesOrganization'
      SalesOrganization,
      @ObjectModel.foreignKey.association: '_SalesOffice'
      SalesOffice,

      //delivery

      CompleteDeliveryIsDefined,
      OrderCombinationIsAllowed,
      @ObjectModel.foreignKey.association: '_DeliveryPriority'
      DeliveryPriority,
      @ObjectModel.foreignKey.association: '_DeliveryBlockReason'
      DeliveryBlockReason,
      @ObjectModel.foreignKey.association: '_Supplier'
      Supplier,
      DeliveryDocumentBySupplier,
      DeliveryIsInPlant,
      @ObjectModel.foreignKey.association: '_ReceivingPlant'
      ReceivingPlant,
      @ObjectModel.foreignKey.association: '_Warehouse'
      Warehouse,
      IsExportDelivery,
      @ObjectModel.foreignKey.association: '_OrderID'
      OrderID,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'HeaderWeightUnit'
      HeaderGrossWeight,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'HeaderWeightUnit'
      HeaderNetWeight,
      @Semantics.unitOfMeasure: true
      @ObjectModel.foreignKey.association: '_HeaderWeightUnit'
      HeaderWeightUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'HeaderVolumeUnit'
      HeaderVolume,
      @Semantics.unitOfMeasure: true
      @ObjectModel.foreignKey.association: '_HeaderVolumeUnit'
      HeaderVolumeUnit,
      DocumentDate,
      @ObjectModel.foreignKey.association: '_WarehouseExecutionStatus'
      ReadyForWarehouseExecStatus,

      @ObjectModel.foreignKey.association: '_DelivAdvncdShipgRcvgRlvnce'
      DelivAdvncdShipgRcvgRlvnce,
      
      @Semantics.booleanIndicator
      DelivIsQtyCrrtnAdvncShipgRcvg,

      //Pick Pack Load

      PickingDate,
      PickingTime,
      TotalNumberOfPackage,
      @ObjectModel.foreignKey.association: '_LoadingPoint'
      LoadingPoint,
      LoadingDate,
      LoadingTime,
      BillOfLading,
      @ObjectModel.foreignKey.association: '_HandlingUnitInStock'
      HandlingUnitInStock,

      //shipping

      @ObjectModel.foreignKey.association: '_ShipToParty'
      ShipToParty,
      @ObjectModel.foreignKey.association: '_ShippingType'
      ShippingType,
      DeliveryDate,
      DeliveryTime,
      @ObjectModel.foreignKey.association: '_ShippingCondition'
      ShippingCondition,
      @ObjectModel.foreignKey.association: '_ShipmentBlockReason'
      ShipmentBlockReason,
      TransportationPlanningDate,
      TransportationPlanningTime,
      @ObjectModel.foreignKey.association: '_ProposedDeliveryRoute'
      ProposedDeliveryRoute,
      @ObjectModel.foreignKey.association: '_ActualDeliveryRoute'
      ActualDeliveryRoute,
      RouteSchedule,
      PlannedGoodsIssueDate,
      GoodsIssueTime,
      ActualGoodsMovementDate,
      ActualGoodsMovementTime,
      @ObjectModel.foreignKey.association: '_IncotermsClassification'
      IncotermsClassification,
      IncotermsTransferLocation,
      ExternalTransportSystem,
      @ObjectModel.foreignKey.association: '_TransportationGroup'
      TransportationGroup,
      MeansOfTransport,
      @ObjectModel.foreignKey.association: '_MeansOfTransportType'
      MeansOfTransportType,
      UnloadingPointName,
      ProofOfDeliveryDate,
      ConfirmationTime,
      FactoryCalendarByCustomer,

      //Billing

      BillingDocumentDate,
      @ObjectModel.foreignKey.association: '_HeaderBillingBlockReason'
      HeaderBillingBlockReason,

      //Sales

      @ObjectModel.foreignKey.association: '_SoldToParty'
      SoldToParty,
      @ObjectModel.foreignKey.association: '_CustomerGroup'
      CustomerGroup,
      @ObjectModel.foreignKey.association: '_SalesDistrict'
      SalesDistrict,
      @Semantics.currencyCode: true
      @ObjectModel.foreignKey.association: '_TransactionCurrency'
      TransactionCurrency,

      //Status

      OverallIntcoBillingStatus,
      @ObjectModel.foreignKey.association: '_OverallSDProcessStatus'
      OverallSDProcessStatus,
      @ObjectModel.foreignKey.association: '_TotalBlockStatus'
      TotalBlockStatus,
      @ObjectModel.foreignKey.association: '_OverallDelivConfStatus'
      OverallDelivConfStatus,
      @ObjectModel.foreignKey.association: '_TransportationPlanningSts'
      TransportationPlanningStatus,
      @ObjectModel.foreignKey.association: '_OverallPickingConfStatus'
      OverallPickingConfStatus,
      @ObjectModel.foreignKey.association: '_OverallPickingStatus'
      OverallPickingStatus,
      @ObjectModel.foreignKey.association: '_OverallPutawayStatus'
      OverallPickingStatus as OverallPutawayStatus,
      @ObjectModel.foreignKey.association: '_OverallPackingStatus'
      OverallPackingStatus,
      @ObjectModel.foreignKey.association: '_OvrlWarehouseActyStatus'
      OverallWarehouseActivityStatus,
      @ObjectModel.foreignKey.association: '_DistrStatusByDectrlzdWrhs'
      DistrStatusByDecentralizedWrhs,
      @ObjectModel.foreignKey.association: '_OverallGoodsMovementStatus'
      OverallGoodsMovementStatus,
      @ObjectModel.foreignKey.association: '_OverallDelivReltdBillgStatus'
      OverallDelivReltdBillgStatus,
      @ObjectModel.foreignKey.association: '_OverallProofOfDeliveryStatus'
      OverallProofOfDeliveryStatus,
      @ObjectModel.foreignKey.association: '_HdrGeneralIncompletionStatus'
      HdrGeneralIncompletionStatus,
      @ObjectModel.foreignKey.association: '_HeaderDelivIncompletionStatus'
      HeaderDelivIncompletionStatus,
      @ObjectModel.foreignKey.association: '_HeaderPickgIncompletionStatus'
      HeaderPickgIncompletionStatus,
      @ObjectModel.foreignKey.association: '_HeaderPackingIncompletionSts'
      HeaderPackingIncompletionSts,
      @ObjectModel.foreignKey.association: '_HdrGoodsMvtIncompletionStatus'
      HdrGoodsMvtIncompletionStatus,
      @ObjectModel.foreignKey.association: '_HeaderBillgIncompletionStatus'
      HeaderBillgIncompletionStatus,
      @ObjectModel.foreignKey.association: '_OvrlItmGeneralIncompletionSts'
      OvrlItmGeneralIncompletionSts,
      @ObjectModel.foreignKey.association: '_OvrlItmPackingIncompletionSts'
      OvrlItmPackingIncompletionSts,
      @ObjectModel.foreignKey.association: '_OvrlItmPickingIncompletionSts'
      OvrlItmPickingIncompletionSts,
      @ObjectModel.foreignKey.association: '_OvrlItmDelivIncompletionSts'
      OvrlItmDelivIncompletionSts,
      @ObjectModel.foreignKey.association: '_OvrlItmGdsMvtIncompletionSts'
      OvrlItmGdsMvtIncompletionSts,
      @ObjectModel.foreignKey.association: '_TotalCreditCheckStatus'
      TotalCreditCheckStatus,
      //Customs Compliance Status

      @ObjectModel.foreignKey.association: '_OverallTrdCmplncEmbargoSts'
      OverallTrdCmplncEmbargoSts,
      @ObjectModel.foreignKey.association: '_OvrlTrdCmplncSnctndListChkSts'
      OvrlTrdCmplncSnctndListChkSts,
      @ObjectModel.foreignKey.association: '_OvrlTrdCmplncLegalCtrlChkSts'
      OvrlTrdCmplncLegalCtrlChkSts,

      //Vistex Integration

      PricingDocument,
      SalesOrgForIntcoBilling,
      DistrChnlForIntcoBilling,
      DivisionForIntcoBilling,
      IntercompanyBillingType,
      FactoryCalendarForIntcoBilling,
      IntercompanyBillingCustomer,
      DeliveryDocumentCondition,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      TotalNetAmount,
      ReferenceDocumentNumber,
      DeletionIndicator,

      //Associations

      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
      _Item,
      _Partner,
      //  Category

      _SDDocumentCategory,
      //documenttype

      _DeliveryDocumentType,
      //  Admin

      _CreatedByUser,
      _LastChangedByUser,
      //  Organization

      _ShippingPoint,
      _SalesOrganization,
      _SalesOffice,
      //  Delivery

      _DeliveryPriority,
      _DeliveryBlockReason,
      _Supplier,
      _ReceivingPlant,
      _Warehouse,
      _OrderID,
      _HeaderWeightUnit,
      _HeaderVolumeUnit,
      //  Pick Pack Load

      _LoadingPoint,
      _HandlingUnitInStock,
      //  Shipping

      _ShipToParty,
      _ShippingType,
      _ShippingCondition,
      _ShipmentBlockReason,
      _ProposedDeliveryRoute,
      _ActualDeliveryRoute,
      _IncotermsClassification,
      _TransportationGroup,
      _MeansOfTransportType,
      //  Billing

      _HeaderBillingBlockReason,
      //  Sales

      _SoldToParty,
      _CustomerGroup,
      _SalesDistrict,
      _TransactionCurrency,
      //  Status

      _OverallSDProcessStatus,
      _TotalBlockStatus,
      _OverallDelivConfStatus,
      _TransportationPlanningSts,
      _OverallPickingConfStatus,
      _OverallPickingStatus,
      _OverallPutawayStatus,
      _OverallPackingStatus,
      _OvrlWarehouseActyStatus,
      _DistrStatusByDectrlzdWrhs,
      _OverallGoodsMovementStatus,
      _OverallDelivReltdBillgStatus,
      _OverallProofOfDeliveryStatus,
      _HdrGeneralIncompletionStatus,
      _HeaderDelivIncompletionStatus,
      _HeaderPickgIncompletionStatus,
      _HeaderPackingIncompletionSts,
      _HdrGoodsMvtIncompletionStatus,
      _HeaderBillgIncompletionStatus,
      _OvrlItmGeneralIncompletionSts,
      _OvrlItmPackingIncompletionSts,
      _OvrlItmPickingIncompletionSts,
      _OvrlItmDelivIncompletionSts,
      _OvrlItmGdsMvtIncompletionSts,
      _TotalCreditCheckStatus,
      _MaterialDocumentHeader,
      _WarehouseExecutionStatus,
      _DelivAdvncdShipgRcvgRlvnce,
      _OverallTrdCmplncEmbargoSts,
      _OvrlTrdCmplncSnctndListChkSts,
      _OvrlTrdCmplncLegalCtrlChkSts

}
where
  SDDocumentCategory = '7'; // and DeliveryDocumentType='EL';