C_InboundDeliveryObjPg

DDL: C_INBOUNDDELIVERYOBJPG SQL: CINBDELIVOBJPG Type: view CONSUMPTION Package: ODATA_LE_SHP_OBDLV_OBJPAGE

Inbound Delivery Object Page

C_InboundDeliveryObjPg is a Consumption CDS View that provides data about "Inbound Delivery Object Page" in SAP S/4HANA. It reads from 1 data source (I_InboundDelivery) and exposes 36 fields with key field InboundDelivery. It has 3 associations to related views. Part of development package ODATA_LE_SHP_OBDLV_OBJPAGE.

Data Sources (1)

SourceAliasJoin Type
I_InboundDelivery InboundDelivery from

Associations (3)

CardinalityTargetAliasCondition
[0..*] C_SDDocumentPartnerCard _Partner $projection.InboundDelivery = _Partner.SDDocument and _Partner.SDDocumentItem = '000000'
[0..*] C_InboundDeliveryItemObjPg _InboundDeliveryItemObjPg $projection.InboundDelivery = _InboundDeliveryItemObjPg.InboundDelivery
[1] E_DeliveryDocument _Extension $projection.InboundDelivery = _Extension.DeliveryDocument

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CINBDELIVOBJPG view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey InboundDelivery view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
Consumption.semanticObject InboundDelivery view
Search.searchable true view
Metadata.allowExtensions true view
EndUserText.label Inbound Delivery Object Page view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY InboundDelivery InboundDelivery
DeliveryDocumentTypeName
Supplier Supplier
ShippingPoint ShippingPoint
OverallSDProcessStatusDesc
int1asOvrlSDProcessStatusCriticality
DeliveryDate DeliveryDate
HeaderGrossWeight
HeaderNetWeight HeaderNetWeight
HeaderWeightUnit HeaderWeightUnit
HeaderVolume HeaderVolume
HeaderVolumeUnit HeaderVolumeUnit
TotalNumberOfPackage TotalNumberOfPackage
DocumentDate DocumentDate
DeliveryDocumentType
PlannedGoodsIssueDate
ActualGoodsMovementDate
Warehouse Warehouse
OverallPutawayStatus OverallPutawayStatus
OverallPickingConfStatus OverallPickingConfStatus
OverallWarehouseActivityStatus OverallWarehouseActivityStatus
OverallGoodsMovementStatus OverallGoodsMovementStatus
int1asOvrlGdsMovementStsCriticality
DelivAdvncdShipgRcvgRlvnce DelivAdvncdShipgRcvgRlvnce
ReadyForWarehouseExecStatus ReadyForWarehouseExecStatus
DelivIsQtyCrrtnAdvncShipgRcvg DelivIsQtyCrrtnAdvncShipgRcvg
_Partner _Partner
_Supplier _Supplier
_ShippingPoint _ShippingPoint
_OverallPutawayStatus _OverallPutawayStatus
_OvrlWarehouseActyStatus _OvrlWarehouseActyStatus
_OverallPickingConfStatus _OverallPickingConfStatus
_OverallGoodsMovementStatus _OverallGoodsMovementStatus
_InboundDeliveryItemObjPg _InboundDeliveryItemObjPg
_WarehouseExecutionStatus _WarehouseExecutionStatus
_DelivAdvncdShipgRcvgRlvnce _DelivAdvncdShipgRcvgRlvnce
@AbapCatalog.sqlViewName: 'CINBDELIVOBJPG'
@ClientHandling.algorithm:#SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #BLOCKED_DATA_EXCLUDED,
  privilegedAssociations: [ '_Partner' ]
}

@ObjectModel: {
   compositionRoot: true,
   semanticKey: ['InboundDelivery'],
   representativeKey: 'InboundDelivery',
   usageType.dataClass: #MIXED,
   usageType.serviceQuality: #D,
   usageType.sizeCategory: #XL
}

@Consumption.semanticObject: 'InboundDelivery'

@Search.searchable: true

@Metadata.allowExtensions: true

// Needed on CDS View level for the extensibility registry:

@EndUserText.label: 'Inbound Delivery Object Page'
 
define view C_InboundDeliveryObjPg
  as select from I_InboundDelivery as InboundDelivery
  association [0..*] to C_SDDocumentPartnerCard    as _Partner                  on  $projection.InboundDelivery = _Partner.SDDocument
                                                                                and _Partner.SDDocumentItem     = '000000'
  association [0..*] to C_InboundDeliveryItemObjPg as _InboundDeliveryItemObjPg on  $projection.InboundDelivery = _InboundDeliveryItemObjPg.InboundDelivery
  association [1]    to E_DeliveryDocument         as _Extension                on  $projection.InboundDelivery = _Extension.DeliveryDocument
{

      //Header

      //**********************************************************************************************


      @Consumption.semanticObject: 'InboundDelivery'
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
  key InboundDelivery,

      cast( InboundDelivery._DeliveryDocumentType._Text[1: Language=$session.system_language].DeliveryDocumentTypeName as bezei20) as DeliveryDocumentTypeName,

      @Consumption.semanticObject: 'Supplier'
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_Supplier_VH', element: 'Supplier' } } ]
      Supplier,

      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_ShippingPointStdVH', element: 'ShippingPoint' } } ]
      ShippingPoint,

      cast(_OverallSDProcessStatus._Text[1: Language=$session.system_language].OverallSDProcessStatusDesc as gbstk_name)           as OverallSDProcessStatusDesc,

      cast(
          case OverallSDProcessStatus
            when '' then 0
            when 'A' then 2
            when 'B' then 2
            when 'C' then 3
            else 0
         end as abap.int1
      )                                                                                                                            as OvrlSDProcessStatusCriticality,

      DeliveryDate,


      //General Information

      //**********************************************************************************************


      @Semantics.quantity: { unitOfMeasure: 'HeaderWeightUnit'}
      @Consumption.filter.hidden: true
      cast(HeaderGrossWeight as le_brgew)                                                                                          as HeaderGrossWeight,

      @Semantics.quantity: { unitOfMeasure: 'HeaderWeightUnit'}
      @Consumption.filter.hidden: true
      HeaderNetWeight,

      @Semantics.unitOfMeasure: true
      @Consumption.filter.hidden: true
      HeaderWeightUnit,

      @Semantics.quantity: { unitOfMeasure: 'HeaderVolumeUnit'}
      @Consumption.filter.hidden: true
      HeaderVolume,

      @Semantics.unitOfMeasure: true
      @Consumption.filter.hidden: true
      HeaderVolumeUnit,

      @Consumption.filter.hidden: true
      TotalNumberOfPackage,

      DocumentDate,

      @ObjectModel.text.element: ['DeliveryDocumentTypeName']
      InboundDelivery._DeliveryDocumentType.DeliveryDocumentType                                                                   as DeliveryDocumentType,

      cast(PlannedGoodsIssueDate as wadak_plan)                                                                                    as PlannedGoodsIssueDate,

      cast(ActualGoodsMovementDate as vdm_actualgmdate)                                                                            as ActualGoodsMovementDate,

      Warehouse,


      //Warehouse

      //**********************************************************************************************

      @Consumption.filter.hidden: true
      OverallPutawayStatus,

      OverallPickingConfStatus,

      @Consumption.filter.hidden: true
      OverallWarehouseActivityStatus,

      OverallGoodsMovementStatus,

      cast(
          case OverallGoodsMovementStatus
            when '' then 0
            when 'A' then 2
            when 'B' then 2
            when 'C' then 3
            else 0
          end as abap.int1
      )                                                                                                                            as OvrlGdsMovementStsCriticality,

  
      @ObjectModel.foreignKey.association: '_DelivAdvncdShipgRcvgRlvnce'
      DelivAdvncdShipgRcvgRlvnce,
      
      @Consumption.filter.hidden: true
      @Semantics.booleanIndicator: true
      cast(
          case DelivAdvncdShipgRcvgRlvnce
            when '1' then ''
            else 'X'
          end as boole_d
      ) as AdvncdShipgRcvgIsInactive,

      @ObjectModel.foreignKey.association: '_WarehouseExecutionStatus'
      ReadyForWarehouseExecStatus,
      
      DelivIsQtyCrrtnAdvncShipgRcvg,


      @Consumption.filter.hidden: true
      _Partner,
      @Consumption.filter.hidden: true
      _Supplier,
      @Consumption.filter.hidden: true
      _ShippingPoint,
      @Consumption.filter.hidden: true
      _OverallPutawayStatus,
      @Consumption.filter.hidden: true
      _OvrlWarehouseActyStatus,
      @Consumption.filter.hidden: true
      _OverallPickingConfStatus,
      @Consumption.filter.hidden: true
      _OverallGoodsMovementStatus,
      @Consumption.filter.hidden: true
      _InboundDeliveryItemObjPg,
      @Consumption.filter.hidden: true
      _WarehouseExecutionStatus,
      @Consumption.filter.hidden: true
      _DelivAdvncdShipgRcvgRlvnce
} where 
DeletionIndicator = ' ';