I_AllocationTableDeliveryPhase

DDL: I_ALLOCATIONTABLEDELIVERYPHASE SQL: IALLOCTBLDELIVPH Type: view BASIC

Allocation Table Delivery Phase

I_AllocationTableDeliveryPhase is a Basic CDS View that provides data about "Allocation Table Delivery Phase" in SAP S/4HANA. It reads from 1 data source (aulw) and exposes 26 fields with key fields AllocationTable, AllocationTableItem, AllocationTableItemRcpntGrp, AllocationTableItemRecipient, AllocationTableDeliveryPhase. It has 12 associations to related views.

Data Sources (1)

SourceAliasJoin Type
aulw aulw from

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_AllocationTable _AllocationTable $projection.AllocationTable = _AllocationTable.AllocationTable
[1..1] I_AllocationTableItem _AllocationTableItem $projection.AllocationTable = _AllocationTableItem.AllocationTable and $projection.AllocationTableItem = _AllocationTableItem.AllocationTableItem
[1..1] I_AllocationTableItemRcpntGrp _AllocationTableItemRcpntGrp $projection.AllocationTable = _AllocationTableItemRcpntGrp.AllocationTable and $projection.AllocationTableItem = _AllocationTableItemRcpntGrp.AllocationTableItem and $projection.AllocationTableItemRcpntGrp = _AllocationTableItemRcpntGrp.AllocationTableItemRcpntGrp
[1..1] I_AllocationTableItemRecipient _AllocationTableItemRecipient $projection.AllocationTable = _AllocationTableItemRecipient.AllocationTable and $projection.AllocationTableItem = _AllocationTableItemRecipient.AllocationTableItem and $projection.AllocationTableItemRcpntGrp = _AllocationTableItemRecipient.AllocationTableItemRcpntGrp and $projection.AllocationTableItemRecipient = _AllocationTableItemRecipient.AllocationTableItemRecipient
[0..1] I_OutboundDelivery _OutboundDelivery $projection.OutboundDelivery = _OutboundDelivery.OutboundDelivery
[0..1] I_OutboundDeliveryItem _OutboundDeliveryItem $projection.OutboundDelivery = _OutboundDeliveryItem.OutboundDelivery and $projection.OutboundDeliveryItem = _OutboundDeliveryItem.OutboundDeliveryItem
[0..1] I_PurchaseOrder _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[0..1] I_PurchaseOrderItem _PurchaseOrderItem $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem
[0..1] I_StockTransportOrder _StockTransportOrder $projection.StockTransportOrder = _StockTransportOrder.PurchaseOrder
[0..1] I_StockTransportOrderItem _StockTransportOrderItem $projection.StockTransportOrder = _StockTransportOrderItem.PurchaseOrder and $projection.StockTransportOrderItem = _StockTransportOrderItem.PurchaseOrderItem
[0..1] I_SalesOrder _SalesOrder $projection.SalesOrder = _SalesOrder.SalesOrder
[0..1] I_SalesOrderItem _SalesOrderItem $projection.SalesOrder = _SalesOrderItem.SalesOrder and $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IALLOCTBLDELIVPH view
EndUserText.label Allocation Table Delivery Phase view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey AllocationTableDeliveryPhase view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY AllocationTable abeln
KEY AllocationTableItem abelp
KEY AllocationTableItemRcpntGrp abelg
KEY AllocationTableItemRecipient abelf
KEY AllocationTableDeliveryPhase lwnum
DeliveryDate
OutboundDelivery
OutboundDeliveryItem
PurchaseOrder
PurchaseOrderItem
StockTransportOrder
StockTransportOrderItem
SalesOrder vbeln_gka
SalesOrderItem vbelp_gka
_AllocationTable _AllocationTable
_AllocationTableItem _AllocationTableItem
_AllocationTableItemRcpntGrp _AllocationTableItemRcpntGrp
_AllocationTableItemRecipient _AllocationTableItemRecipient
_OutboundDelivery _OutboundDelivery
_OutboundDeliveryItem _OutboundDeliveryItem
_PurchaseOrder _PurchaseOrder
_PurchaseOrderItem _PurchaseOrderItem
_StockTransportOrder _StockTransportOrder
_StockTransportOrderItem _StockTransportOrderItem
_SalesOrder _SalesOrder
_SalesOrderItem _SalesOrderItem
@AbapCatalog.sqlViewName: 'IALLOCTBLDELIVPH'
@EndUserText.label: 'Allocation Table Delivery Phase'

@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #BASIC
@ObjectModel: {
    representativeKey: 'AllocationTableDeliveryPhase',
    usageType.serviceQuality: #A,
    usageType.sizeCategory: #L,
    usageType.dataClass: #TRANSACTIONAL
}

define view I_AllocationTableDeliveryPhase
  as select from aulw
  association [1..1] to I_AllocationTable              as _AllocationTable              on  $projection.AllocationTable = _AllocationTable.AllocationTable
  association [1..1] to I_AllocationTableItem          as _AllocationTableItem          on  $projection.AllocationTable     = _AllocationTableItem.AllocationTable
                                                                                        and $projection.AllocationTableItem = _AllocationTableItem.AllocationTableItem
  association [1..1] to I_AllocationTableItemRcpntGrp  as _AllocationTableItemRcpntGrp  on  $projection.AllocationTable             = _AllocationTableItemRcpntGrp.AllocationTable
                                                                                        and $projection.AllocationTableItem         = _AllocationTableItemRcpntGrp.AllocationTableItem
                                                                                        and $projection.AllocationTableItemRcpntGrp = _AllocationTableItemRcpntGrp.AllocationTableItemRcpntGrp
  association [1..1] to I_AllocationTableItemRecipient as _AllocationTableItemRecipient on  $projection.AllocationTable              = _AllocationTableItemRecipient.AllocationTable
                                                                                        and $projection.AllocationTableItem          = _AllocationTableItemRecipient.AllocationTableItem
                                                                                        and $projection.AllocationTableItemRcpntGrp  = _AllocationTableItemRecipient.AllocationTableItemRcpntGrp
                                                                                        and $projection.AllocationTableItemRecipient = _AllocationTableItemRecipient.AllocationTableItemRecipient
  association [0..1] to I_OutboundDelivery             as _OutboundDelivery             on  $projection.OutboundDelivery = _OutboundDelivery.OutboundDelivery
  association [0..1] to I_OutboundDeliveryItem         as _OutboundDeliveryItem         on  $projection.OutboundDelivery     = _OutboundDeliveryItem.OutboundDelivery
                                                                                        and $projection.OutboundDeliveryItem = _OutboundDeliveryItem.OutboundDeliveryItem
  association [0..1] to I_PurchaseOrder                as _PurchaseOrder                on  $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
  association [0..1] to I_PurchaseOrderItem            as _PurchaseOrderItem            on  $projection.PurchaseOrder     = _PurchaseOrderItem.PurchaseOrder
                                                                                        and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem
  association [0..1] to I_StockTransportOrder          as _StockTransportOrder          on  $projection.StockTransportOrder = _StockTransportOrder.PurchaseOrder
  association [0..1] to I_StockTransportOrderItem      as _StockTransportOrderItem      on  $projection.StockTransportOrder     = _StockTransportOrderItem.PurchaseOrder
                                                                                        and $projection.StockTransportOrderItem = _StockTransportOrderItem.PurchaseOrderItem
  association [0..1] to I_SalesOrder                   as _SalesOrder                   on  $projection.SalesOrder = _SalesOrder.SalesOrder
  association [0..1] to I_SalesOrderItem               as _SalesOrderItem               on  $projection.SalesOrder     = _SalesOrderItem.SalesOrder
                                                                                        and $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem
{
      @ObjectModel.foreignKey.association: '_AllocationTable'
  key abeln                                                       as AllocationTable,
      @ObjectModel.foreignKey.association: '_AllocationTableItem'
  key abelp                                                       as AllocationTableItem,
      @ObjectModel.foreignKey.association: '_AllocationTableItemRcpntGrp'
  key abelg                                                       as AllocationTableItemRcpntGrp,
      @ObjectModel.foreignKey.association: '_AllocationTableItemRecipient'
  key abelf                                                       as AllocationTableItemRecipient,
  key lwnum                                                       as AllocationTableDeliveryPhase,

      cast(wedat as deliverydate preserving type)                 as DeliveryDate,

      @ObjectModel.foreignKey.association: '_OutboundDelivery'
      cast(vblnu as outbound_delivery preserving type)            as OutboundDelivery,
      @ObjectModel.foreignKey.association: '_OutboundDeliveryItem'
      cast(vblpu as outbound_delivery_item preserving type)       as OutboundDeliveryItem,

      @ObjectModel.foreignKey.association: '_PurchaseOrder'
      cast(eblnu as vdm_purchaseorder preserving type)            as PurchaseOrder,
      @ObjectModel.foreignKey.association: '_PurchaseOrderItem'
      cast(eblpu as vdm_purchaseorderitem preserving type )       as PurchaseOrderItem,

      @ObjectModel.foreignKey.association: '_StockTransportOrder'
      cast(ubstn as vdm_stocktransportorder preserving type )     as StockTransportOrder,
      @ObjectModel.foreignKey.association: '_StockTransportOrderItem'
      cast(ubstp as vdm_stocktransportorderitem preserving type ) as StockTransportOrderItem,

      @ObjectModel.foreignKey.association: '_SalesOrder'
      vbeln_gka                                                   as SalesOrder,
      @ObjectModel.foreignKey.association: '_SalesOrderItem'
      vbelp_gka                                                   as SalesOrderItem,

      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _AllocationTable,
      _AllocationTableItem,
      _AllocationTableItemRcpntGrp,
      _AllocationTableItemRecipient,
      _OutboundDelivery,
      _OutboundDeliveryItem,
      _PurchaseOrder,
      _PurchaseOrderItem,
      _StockTransportOrder,
      _StockTransportOrderItem,
      _SalesOrder,
      _SalesOrderItem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"AULW"
],
"ASSOCIATED":
[
"I_ALLOCATIONTABLE",
"I_ALLOCATIONTABLEITEM",
"I_ALLOCATIONTABLEITEMRCPNTGRP",
"I_ALLOCATIONTABLEITEMRECIPIENT",
"I_OUTBOUNDDELIVERY",
"I_OUTBOUNDDELIVERYITEM",
"I_PURCHASEORDER",
"I_PURCHASEORDERITEM",
"I_SALESORDER",
"I_SALESORDERITEM",
"I_STOCKTRANSPORTORDER",
"I_STOCKTRANSPORTORDERITEM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/