I_SDDOCUMENTPROCESSFLOW

CDS View

SD Document Process Flow

I_SDDOCUMENTPROCESSFLOW is a CDS View in S/4HANA. SD Document Process Flow. It contains 18 fields. 81 CDS views read from this table.

CDS Views using this table (81)

ViewTypeJoinVDMDescription
A_InbDeliveryDocFlow view from BASIC CDS View for Inbound Delivery Document Flow
A_InbDeliveryDocFlow_1 view from BASIC CDS View for Inbound Delivery Document Flow
A_OutbDeliveryDocFlow view from BASIC CDS view for API exposure
A_OutbDeliveryDocFlow_1 view from BASIC CDS view for API exposure
A_ReturnsDeliveryDocFlow view from BASIC Returns Delivery Document Flow
A_ReturnsDeliveryDocFlow_1 view from BASIC Returns Delivery Document Flow
C_DeliveryPickSub view from CONSUMPTION Delivery Picking Substraction
C_DeliveryPickSum view from CONSUMPTION Delivery Picking SUM
C_InquiryRelatedDocsFFS view from CONSUMPTION Related Documents for Inquiry Factsheet
C_RelCustomerReturnItemDlvrFSS view from CONSUMPTION Related Customer Return Items Delivery
C_RelSalesOrderItmDlvrFSS view from CONSUMPTION Related Sales Orders Items Delivery
I_SDDocumentProcessItemsFlowVH view from COMPOSITE Billing Docs Items with Delivery Items
P_BillingDocProcFlow10 view inner CONSUMPTION Billing Doc Process Flow:: Level +1 Sales & Distribution
P_BillingDocProcFlowC0 view inner CONSUMPTION Billing Doc Process Flow: : Level 0 Cancellation Case
P_BillingDocProcFlowC10 view inner CONSUMPTION Billing Doc Process Flow:: Level +1 Cancellation Case SD
P_BillingDocProcFlowM2 view inner CONSUMPTION Billing Doc Process Flow: : Level -2 Sales & Distribution
P_BillingDocProcFlowM3 view inner CONSUMPTION Billing Doc Process Flow: : Level -3 Sales & Distribution
P_BusSolnOrdEntProjectFlwLvl4 view inner CONSUMPTION Solution Order Enterprise Project Flow: Level4
P_BusSolnOrdSlsOrdFlw15 view inner CONSUMPTION Soluiton order Sales order flow level 15
P_BusSolnOrdSlsOrdFlwLvl12 view inner CONSUMPTION Solution Order Sales Order Flow Level 12
P_BusSolnOrdSlsOrdFlwLvl14 view inner CONSUMPTION Solution Order Sales Order Flow Level 14
P_BusSolnOrdSlsOrdFlwLvl2 view inner CONSUMPTION Solution Order Sales Order Flow Level 2
P_BusSolnOrdSlsOrdFlwLvl3 view inner CONSUMPTION Solution Order Sales Order Flow: Level 3
P_BusSolnOrdSlsOrdFlwLvl4 view inner CONSUMPTION Solution Order Sales Order Flow: Level 4
P_BusSolnOrdSlsOrdFlwLvl5 view inner CONSUMPTION Solution Order Sales Order Flow: Level 5
P_BusSolnOrdSlsOrdFlwLvl63 view inner CONSUMPTION Solution Order Sales Order Flow: Level 63
P_BusSolnOrdSrvcContrFlwLvl4 view inner CONSUMPTION Solution Order ServiceContract Level4
P_BusSolnOrdSrvcContrFlwLvl5 view inner CONSUMPTION Service Contract Process Flow Level 5
P_BusSolnOrdSrvcContrFlwLvl6 view inner CONSUMPTION Solution Order Service Contract Level6
P_BusSolnOrdSrvcContrFlwLvl71 view inner CONSUMPTION Solution Order Service Contract Level 71
P_BusSolnOrdSrvcOrdFlwLvl3 view inner CONSUMPTION Solution Order Service Order Flow: Level 3
P_BusSolnOrdSrvcOrdFlwLvl4 view inner CONSUMPTION Solution Order Service Order Flow: Level 4
P_BusSolnOrdSrvcOrdFlwLvl5 view inner CONSUMPTION Solution Order Service Order Flow:Level 5
P_CanclnBillingDocProcFlowM1 view inner CONSUMPTION Cancellation Billing Doc Process Flow: Billing Document
P_CanclnBillingDocProcFlowM3 view inner CONSUMPTION Cancellation Billing Doc Process Flow: Level -3 (SD)
P_CanclnBillingDocProcFlowM4 view inner CONSUMPTION Cancellation Billing Doc Process Flow: Level -4 (SD)
P_CreditMemoReqProcFlow10 view inner CONSUMPTION Credit Memo Request Proc Flow: Level +1 Sales & Distribution
P_CreditMemoReqProcFlow20 view inner CONSUMPTION Credit Memo Request Proc Flow: Level +2 Sales & Distribution
P_CreditMemoReqProcFlowM1 view inner CONSUMPTION Credit Memo Request Proc Flow: Level -1 Sales & Distribution
P_CreditMemoReqProcFlowM2 view inner CONSUMPTION Credit Memo Request Proc Flow: Level -2 Sales & Distribution
P_CustRetProcFlow10 view inner CONSUMPTION Customer Return Process Flow: Level +1 Sales & Distribution
P_CustRetProcFlow20 view inner CONSUMPTION Customer Return Process Flow: Level +2 Sales & Distribution
P_CustRetProcFlow30 view inner CONSUMPTION Customer Return Process Flow: Level +3 Sales & Distribution
P_CustRetProcFlowM1 view inner CONSUMPTION Customer Return Process Flow: Level -1 Sales & Distribution
P_DebitMemoReqProcFlow10 view inner CONSUMPTION Debit Memo Request Proc Flow: Level +1 Sales & Distribution
P_DebitMemoReqProcFlow20 view inner CONSUMPTION Debit Memo Request Proc Flow: Level +2 Sales & Distribution
P_DebitMemoReqProcFlowM1 view inner CONSUMPTION Debit Memo Request Proc Flow: Level -1 Sales & Distribution
P_DeliveryProcFlow view left_outer CONSUMPTION Delivery Process Flow
P_InboundDeliveryProcessFlow view inner COMPOSITE Inbound Delivery Process Flow
P_LatestGIRltdMatDocDate view from BASIC Latest Goods Issue Related Material Document Date
P_LatestGIRltdMatDocDateTime view from BASIC Latest Goods Issue Related Material Document Date and Time
P_LtstGIReltdMatDocTimeStmp view from COMPOSITE Latest GI Rel. Mat Doc with Time Stamps
P_OutbDelivReltdToInbDeliv view inner COMPOSITE Outbound Deliveries related to Inbound Deliveries
P_SalesContractProcessFlow10 view inner COMPOSITE Contract process flow level 1-0
P_SalesContractProcessFlow20 view inner COMPOSITE Contract process flow level 2-0
P_SalesContractProcessFlow30 view inner COMPOSITE Contract process flow level 3-0
P_SalesContractProcessFlow40 view inner COMPOSITE Contract process flow level 4-0
P_SalesSchedgAgrmtProcFlow10 view inner CONSUMPTION Sales Schedg Agrmt Process Flow: Level +1 SD Document
P_SalesSchedgAgrmtProcFlow15 view inner CONSUMPTION Sales Schedg Agrmt Process Flow: Level 15 Delivery for SO
P_SalesSchedgAgrmtProcFlow20 view inner CONSUMPTION Sales Schedg Agrmt Process Flow: Level +2 SD Document
P_SalesSchedgAgrmtProcFlow25 view inner CONSUMPTION Sales Schedg Agrmt Process Flow: Level 25 invoice
P_SalesSchedgAgrmtProcFlow30 view inner CONSUMPTION Sales Schedg Agrmt Process Flow: Level +3 SD Document
P_SalesSchedgAgrmtProcFlow35 view inner CONSUMPTION Sales Schedg Agrmt Process Flow: Level 3 advanced return
P_SlsOrdFlfmt1stLvlSDProcSqnc2 view left_outer CONSUMPTION Sales Order Fulfillment First Level SD Process Sequence 2
P_SlsOrdFlfmt2ndLvlSDProcSqnc2 view inner CONSUMPTION Sales Order Fulfillment Second Level SD Process Sequence 2
P_SlsOrdFlfmtProcessFlow2 view inner COMPOSITE SOFM Process Flow 2
P_SlsOrdFlfmtProcessFlow3 view inner COMPOSITE SOFM Process Flow 3
P_SlsOrdFlfmtProcessFlow4 view inner COMPOSITE SOFM Process Flow 4
P_SlsOrdProcFlow10 view inner CONSUMPTION Sales Order Process Flow: Level +1 Sales & Distribution
P_SlsOrdProcFlow20 view inner CONSUMPTION Sales Order Process Flow: Level +2 Sales & Distribution
P_SlsOrdProcFlow25 view inner CONSUMPTION Sales Order Process Flow: Level +2 Intercompany Invoice
P_SlsOrdProcFlow30 view inner CONSUMPTION Sales Order Process Flow: Level +3 Sales & Distribution
P_SlsOrdProcFlowM1 view inner CONSUMPTION Sales Order Process Flow: Level -1 Sales & Distribution
P_SlsOrdProcFlowM2 view inner CONSUMPTION Sales Order Process Flow: Level -2 Intercompany Sales Order
P_SlsQtanProcFlow10 view inner CONSUMPTION Sales Quotation Process Flow: Level +1 Sales & Distribution
P_SlsQtanProcFlow20 view inner CONSUMPTION Sales Quotation Process Flow: Level +2 Sales & Distribution
P_SlsQtanProcFlow30 view inner CONSUMPTION Sales Quotation Process Flow: Level +3 Sales & Distribution
P_SlsQtanProcFlowM1 view inner CONSUMPTION Sales Quotation Process Flow: Level -1 Sales & Distribution
P_SOFAProcFlow10 view inner COMPOSITE SOFA Process Flow:: Level +1 Sales & Distribution
P_SOFAProcFlow20 view inner COMPOSITE SOFA Process Flow:: Level +2 Sales & Distribution
P_SOFAProcFlow30 view inner COMPOSITE SOFA Process Flow:: Level +3 Sales & Distribution

Fields (18)

KeyField CDS FieldsUsed in Views
KEY DocRelationshipUUID DocRelationshipUUID 3
KEY PrecedingDocument LevelM1Document,LevelM2Document,PrecedingDocument 33
KEY PrecedingDocumentCategory LevelM1DocumentCategory,LevelM2DocumentCategory,PrecedingDocumentCategory,SDDocumentCategory 30
KEY PrecedingDocumentItem LevelM1DocumentItem,PrecedingDocumentItem 28
KEY ReturnsDocument Level1Document 1
KEY ReturnsDocumentItem Level1DocumentItem 1
KEY SubsequentDocument Level1Document,Level2Document,Level3Document,Level4Document,LevelC0Document,PrecedingDocument,SalesDocument,SubsequentDocument 58
KEY SubsequentDocumentCategory Level1DocumentCategory,Level2DocumentCategory,Level3DocumentCategory,Level4DocumentCategory,LevelC0DocumentCategory,PrecedingDocumentCategory,SubsequentDocumentCategory 43
KEY SubsequentDocumentItem Level1DocumentItem,Level2DocumentItem,Level3DocumentItem,Level4DocumentItem,LevelC0DocumentItem,SalesDocumentItem,SubsequentDocumentItem 56
BaseUnit BaseUnit 11
CreationDate CreationDate 4
CreationTime CreationTime 4
CustomerReturnItem PrecedingDocumentItem 1
NetAmount NetAmount 4
QuantityInBaseUnit QuantityInBaseUnit 11
SDFulfillmentCalculationRule SDFulfillmentCalculationRule 7
StatisticsCurrency StatisticsCurrency 4
TransferOrderInWrhsMgmtIsConfd TransferOrderInWrhsMgmtIsConfd 7
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
    representativeKey: 'DocRelationshipUUID',
    usageType: {
        dataClass: #TRANSACTIONAL,
        serviceQuality: #B,
        sizeCategory: #XL
    },
    supportedCapabilities: [ #ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE ],
    modelingPattern: [ #ANALYTICAL_DIMENSION ]
}
@Metadata.ignorePropagatedAnnotations:true
@EndUserText.label: 'SD Document Process Flow'
@Analytics:{dataCategory:#DIMENSION}
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AbapCatalog.sqlViewName: 'ISDDOCPROCFLOW'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@Metadata.allowExtensions:true




// This view reads only documents which are directly related in terms of predecessor/successor


define view I_SDDocumentProcessFlow
  as select from I_SDDocumentMultiLevelProcFlow
  association [0..1] to I_UnitOfMeasure as _BaseUnit           on $projection.BaseUnit = _BaseUnit.UnitOfMeasure
  association [0..1] to I_Currency      as _StatisticsCurrency on $projection.StatisticsCurrency = _StatisticsCurrency.Currency

{
      //Key

  key DocRelationshipUUID,

      //Preceding

      PrecedingDocument,
      PrecedingDocumentItem,
      PrecedingDocumentCategory,

      //Subsequent

      SubsequentDocument,
      SubsequentDocumentItem,
      SubsequentDocumentCategory,

      //Process Flow Level

      ProcessFlowLevel,

      //Admin

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

      //Quantity of subsequent document

      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      QuantityInBaseUnit,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
      RefQuantityInOrdQtyUnitAsFloat,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      RefQuantityInBaseUnitAsFloat,
      @Semantics.unitOfMeasure: true
      @ObjectModel.foreignKey.association: '_BaseUnit'
      BaseUnit,
      @Semantics.unitOfMeasure: true
      @ObjectModel.foreignKey.association: '_OrderQuantityUnit'
      OrderQuantityUnit,
      SDFulfillmentCalculationRule,

      //Pricing of subsequent document

      @DefaultAggregation: #SUM
      @Semantics.amount.currencyCode: 'StatisticsCurrency'
      NetAmount,
      @Semantics.currencyCode: true
      @ObjectModel.foreignKey.association: '_StatisticsCurrency'
      StatisticsCurrency,

      //Pick Pack Load

      TransferOrderInWrhsMgmtIsConfd,

      // Delivery related fields

      WarehouseNumber,
      MaterialDocumentYear,
      @ObjectModel.foreignKey.association: '_GoodsMovementType'
      GoodsMovementType,

      // Billing Plan related fields

      BillingPlan,
      BillingPlanItem,

      _BaseUnit,
      _OrderQuantityUnit,
      _StatisticsCurrency,
      _GoodsMovementType
}
where
     ProcessFlowLevel = '00'
  or ProcessFlowLevel is null;