C_SlsDocFlfmtDelivDocItem

DDL: C_SLSDOCFLFMTDELIVDOCITEM SQL: CSOFDELIVDOCITEM Type: view CONSUMPTION

Sales Doc Fulfillment: Delivery Doc Item

C_SlsDocFlfmtDelivDocItem is a Consumption CDS View that provides data about "Sales Doc Fulfillment: Delivery Doc Item" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocumentItem) and exposes 67 fields with key fields DeliveryDocument, DeliveryDocumentItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocumentItem Item from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_DeliveryDocumentItem _Extension $projection.DeliveryDocument = _Extension.DeliveryDocument and $projection.DeliveryDocumentItem = _Extension.DeliveryDocumentItem

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey DeliveryDocumentItem view
EndUserText.label Sales Doc Fulfillment: Delivery Doc Item view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
Search.searchable false view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName CSOFDELIVDOCITEM view

Fields (67)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument I_DeliveryDocumentItem DeliveryDocument
KEY DeliveryDocumentItem I_DeliveryDocumentItem DeliveryDocumentItem
DeliveryDocumentItemCategory I_DeliveryDocumentItem DeliveryDocumentItemCategory
DeliveryDocumentItemText I_DeliveryDocumentItem DeliveryDocumentItemText
Material
MaterialName
MaterialByCustomer I_DeliveryDocumentItem MaterialByCustomer
MaterialGroup
Batch I_DeliveryDocumentItem Batch
Plant I_DeliveryDocumentItem Plant
Warehouse I_DeliveryDocumentItem Warehouse
WarehouseName
StorageLocation I_DeliveryDocumentItem StorageLocation
ActualDeliveryQuantity I_DeliveryDocumentItem ActualDeliveryQuantity
DeliveryQuantityUnit I_DeliveryDocumentItem DeliveryQuantityUnit
ItemGrossWeight I_DeliveryDocumentItem ItemGrossWeight
ItemNetWeight I_DeliveryDocumentItem ItemNetWeight
ItemWeightUnit I_DeliveryDocumentItem ItemWeightUnit
ItemVolume I_DeliveryDocumentItem ItemVolume
ItemVolumeUnit I_DeliveryDocumentItem ItemVolumeUnit
LoadingGroup I_DeliveryDocumentItem LoadingGroup
TransportationGroup I_DeliveryDocumentItem TransportationGroup
GoodsMovementType I_DeliveryDocumentItem GoodsMovementType
InventorySpecialStockType I_DeliveryDocumentItem InventorySpecialStockType
StockType I_DeliveryDocumentItem StockType
WarehouseStagingArea I_DeliveryDocumentItem WarehouseStagingArea
WarehouseStagingAreaName
OverdelivTolrtdLmtRatioInPct I_DeliveryDocumentItem OverdelivTolrtdLmtRatioInPct
UnderdelivTolrtdLmtRatioInPct I_DeliveryDocumentItem UnderdelivTolrtdLmtRatioInPct
ItemBillingBlockReason I_DeliveryDocumentItem ItemBillingBlockReason
PickingStatus I_DeliveryDocumentItem PickingStatus
DeliveryRelatedBillingStatus I_DeliveryDocumentItem DeliveryRelatedBillingStatus
PackingStatus I_DeliveryDocumentItem PackingStatus
PickingConfirmationStatus I_DeliveryDocumentItem PickingConfirmationStatus
WarehouseActivityStatus I_DeliveryDocumentItem WarehouseActivityStatus
GoodsMovementStatus I_DeliveryDocumentItem GoodsMovementStatus
ChmlCmplncStatus
DangerousGoodsStatus
SafetyDataSheetStatus
TrdCmplncEmbargoSts
TrdCmplncSnctndListChkSts
TrdCmplncLegalControlSts
_DeliveryDocument _DeliveryDocument
_ItemCategory _ItemCategory
_MaterialGroup _MaterialGroup
_Plant _Plant
_StorageLocation _StorageLocation
_DeliveryQuantityUnit _DeliveryQuantityUnit
_ItemWeightUnit _ItemWeightUnit
_ItemVolumeUnit _ItemVolumeUnit
_LoadingGroup _LoadingGroup
_TransportationGroup _TransportationGroup
_GoodsMovementType _GoodsMovementType
_InventorySpecialStockType _InventorySpecialStockType
_ItemBillingBlockReason _ItemBillingBlockReason
_PickingStatus _PickingStatus
_DeliveryRelatedBillingStatus _DeliveryRelatedBillingStatus
_PackingStatus _PackingStatus
_PickingConfirmationStatus _PickingConfirmationStatus
_WarehouseActivityStatus _WarehouseActivityStatus
_GoodsMovementStatus _GoodsMovementStatus
_ChmlCmplncStatus I_DeliveryDocumentItem _ChmlCmplncStatus
_DangerousGoodsStatus I_DeliveryDocumentItem _DangerousGoodsStatus
_SafetyDataSheetStatus I_DeliveryDocumentItem _SafetyDataSheetStatus
_TrdCmplncEmbargoSts I_DeliveryDocumentItem _TrdCmplncEmbargoSts
_TrdCmplncSnctndListChkSts I_DeliveryDocumentItem _TrdCmplncSnctndListChkSts
_TrdCmplncLegalControlSts I_DeliveryDocumentItem _TrdCmplncLegalControlSts
 @ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED 
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.semanticKey: ['DeliveryDocument', 'DeliveryDocumentItem']
@ObjectModel.representativeKey: 'DeliveryDocumentItem'

@EndUserText.label: 'Sales Doc Fulfillment: Delivery Doc Item'
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@Search.searchable: false
@AccessControl.authorizationCheck: #CHECK
@Metadata.allowExtensions: true
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'CSOFDELIVDOCITEM'

define view C_SlsDocFlfmtDelivDocItem 

as select from I_DeliveryDocumentItem as Item

//Extensibility

association [0..1] to E_DeliveryDocumentItem as _Extension on  $projection.DeliveryDocument     = _Extension.DeliveryDocument
                                                           and $projection.DeliveryDocumentItem = _Extension.DeliveryDocumentItem
{
  //Key

  //SDF4 

  @Consumption.valueHelpDefinition: [{ entity:  { name: 'I_DeliveryDocumentStdVH', element: 'DeliveryDocument' }}]
  @ObjectModel.foreignKey.association: '_DeliveryDocument'
  key Item.DeliveryDocument,
  key Item.DeliveryDocumentItem,
    
  //Category 

  Item.DeliveryDocumentItemCategory,
  Item.DeliveryDocumentItemText,
  
  //Product

  //SDF4    

  @Consumption.valueHelpDefinition: [{ entity:  { name: 'I_ProductStdVH', element: 'Product' }}]
  @ObjectModel.text.element: [ 'MaterialName' ]
  @Consumption.semanticObject: 'Material'
  cast(Item.Material as productnumber preserving type ) as Material,
  @UI.hidden: true
  Item._Material._Text[1:Language=$session.system_language].MaterialName,
  Item.MaterialByCustomer,
  cast(Item.MaterialGroup as productgroup preserving type ) as MaterialGroup, 
  @Consumption.semanticObject: 'Batch'
  Item.Batch,                                 
  Item.Plant,
  //SDF4   

  @Consumption.valueHelpDefinition: [{ entity:  { name: 'I_WarehouseStdVH', element: 'Warehouse' }}]
  @ObjectModel.text.element: 'WarehouseName'
  Item.Warehouse,
  @UI.hidden: true
  Item._Warehouse._Text[1:Language=$session.system_language].WarehouseName,
  Item.StorageLocation,
     
  //Delivery

  @DefaultAggregation: #NONE
  Item.ActualDeliveryQuantity,
  Item.DeliveryQuantityUnit,
  @DefaultAggregation: #NONE
  Item.ItemGrossWeight,
  @DefaultAggregation: #NONE
  Item.ItemNetWeight,
  Item.ItemWeightUnit,
  @DefaultAggregation: #NONE    
  Item.ItemVolume,
  Item.ItemVolumeUnit,
  Item.LoadingGroup,
  Item.TransportationGroup,
  Item.GoodsMovementType,
  Item.InventorySpecialStockType,
  Item.StockType,
  @Consumption.valueHelpDefinition: [{ entity:  { name: 'I_WarehouseStagingAreaStdVH', element: 'WarehouseStagingArea' },
                                       additionalBinding: [{ localElement: 'Warehouse', element: 'Warehouse' }]}]
  @ObjectModel.text.element: 'WarehouseStagingAreaName'
  Item.WarehouseStagingArea,
  @UI.hidden: true
  Item._WarehouseStagingArea._Text[1:Language=$session.system_language].WarehouseStagingAreaName,
  Item.OverdelivTolrtdLmtRatioInPct,   
  Item.UnderdelivTolrtdLmtRatioInPct,
    
  //Billing

  Item.ItemBillingBlockReason,
  
  //Status

  Item.PickingStatus,
  Item.DeliveryRelatedBillingStatus,
  Item.PackingStatus,
  Item.PickingConfirmationStatus,
  Item.WarehouseActivityStatus,
  Item.GoodsMovementStatus,
  @ObjectModel.foreignKey.association: '_ChmlCmplncStatus'
  cast( Item.ChmlCmplncStatus     as mon_tdd_pcsta preserving type ) as ChmlCmplncStatus,
  @ObjectModel.foreignKey.association: '_DangerousGoodsStatus'
  cast( Item.DangerousGoodsStatus as mon_tdd_dgsta preserving type ) as DangerousGoodsStatus,
  @ObjectModel.foreignKey.association: '_SafetyDataSheetStatus'
  cast( Item.SafetyDataSheetStatus as mon_tdd_sdssta preserving type ) as SafetyDataSheetStatus,
  @ObjectModel.foreignKey.association: '_TrdCmplncEmbargoSts'
  cast( Item.TrdCmplncEmbargoSts as embargochksts preserving type ) as TrdCmplncEmbargoSts,
  @ObjectModel.foreignKey.association: '_TrdCmplncSnctndListChkSts'
  cast( Item.TrdCmplncSnctndListChkSts as watchlistscrngchksts preserving type ) as TrdCmplncSnctndListChkSts,
  @ObjectModel.foreignKey.association: '_TrdCmplncLegalControlSts'
  cast( Item.TrdCmplncLegalControlSts as trdcmplnclglctrlchksts preserving type ) as TrdCmplncLegalControlSts,
         
  //Associations 

  @Consumption.filter.hidden: true
  _DeliveryDocument,
  @Consumption.filter.hidden: true
  _ItemCategory,
  @Consumption.filter.hidden: true 
  _MaterialGroup,
  @Consumption.filter.hidden: true 
  _Plant,
  @Consumption.filter.hidden: true 
  _StorageLocation,
  @Consumption.filter.hidden: true
  _DeliveryQuantityUnit,
  @Consumption.filter.hidden: true
  _ItemWeightUnit,
  @Consumption.filter.hidden: true
  _ItemVolumeUnit,
  @Consumption.filter.hidden: true
  _LoadingGroup,
  @Consumption.filter.hidden: true
  _TransportationGroup,
  @Consumption.filter.hidden: true
  _GoodsMovementType,
  @Consumption.filter.hidden: true
  _InventorySpecialStockType,
  @Consumption.filter.hidden: true
  _ItemBillingBlockReason,
  @Consumption.filter.hidden: true
  _PickingStatus,
  @Consumption.filter.hidden: true
  _DeliveryRelatedBillingStatus,
  @Consumption.filter.hidden: true
  _PackingStatus,
  @Consumption.filter.hidden: true
  _PickingConfirmationStatus,
  @Consumption.filter.hidden: true
  _WarehouseActivityStatus,
  @Consumption.filter.hidden: true
  _GoodsMovementStatus,
  @Consumption.filter.hidden: true
  Item._ChmlCmplncStatus,
  @Consumption.filter.hidden: true
  Item._DangerousGoodsStatus,
  @Consumption.filter.hidden: true 
  Item._SafetyDataSheetStatus,
  @Consumption.filter.hidden: true
  Item._TrdCmplncEmbargoSts,
  @Consumption.filter.hidden: true
  Item._TrdCmplncSnctndListChkSts,
  @Consumption.filter.hidden: true 
  Item._TrdCmplncLegalControlSts  
   };