C_DeliveryPickSub

DDL: C_DELIVERYPICKSUB SQL: CDELPICKSUB Type: view CONSUMPTION

Delivery Picking Substraction

C_DeliveryPickSub is a Consumption CDS View that provides data about "Delivery Picking Substraction" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 4 fields.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentProcessFlow I_SDDocumentProcessFlow from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CDELPICKSUB view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Delivery Picking Substraction view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.compositionRoot true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (4)

KeyFieldSource TableSource FieldDescription
PrecedingDocument PrecedingDocument
PrecedingDocumentItem PrecedingDocumentItem
QuantityInBaseUnit
PickQuantityInSalesUoMFlt
@AbapCatalog.sqlViewName: 'CDELPICKSUB'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Delivery Picking Substraction'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@Search.searchable: true

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

define view C_DeliveryPickSub as select from I_SDDocumentProcessFlow
{
 @Search.defaultSearchElement: true
 @Search.ranking: #HIGH
 PrecedingDocument,
 PrecedingDocumentItem,
 sum( QuantityInBaseUnit ) as QuantityInBaseUnit,
 sum( RefQuantityInOrdQtyUnitAsFloat ) as PickQuantityInSalesUoMFlt 
    
} where ( PrecedingDocumentCategory = 'J' or PrecedingDocumentCategory = 'T' or PrecedingDocumentCategory = '7' )
  and SubsequentDocumentCategory = 'Q'
  and SDFulfillmentCalculationRule = '-'
   group by PrecedingDocument,
            PrecedingDocumentItem