I_CmplProcessFlowPreceding

DDL: I_CMPLPROCESSFLOWPRECEDING Type: view_entity COMPOSITE

I_CmplProcessFlowPreceding is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SDDocumentMultiLevelProcFlow) and exposes 6 fields with key field DocRelationshipUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentMultiLevelProcFlow I_SDDocumentMultiLevelProcFlow from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CmplProcessFlowPreceding _CmplProcessFlowPreceding $projection.SubsequentDocument = _CmplProcessFlowPreceding.PrecedingDocument and $projection.SubsequentDocumentItem = _CmplProcessFlowPreceding.PrecedingDocumentItem

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DocRelationshipUUID DocRelationshipUUID
PrecedingDocument PrecedingDocument
PrecedingDocumentItem PrecedingDocumentItem
SubsequentDocument SubsequentDocument
SubsequentDocumentItem SubsequentDocumentItem
_CmplProcessFlowPreceding _CmplProcessFlowPreceding
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   }}
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API
@VDM.viewType: #COMPOSITE
define view entity I_CmplProcessFlowPreceding
  as select from I_SDDocumentMultiLevelProcFlow
  association [1..*] to I_CmplProcessFlowPreceding as _CmplProcessFlowPreceding
  on  $projection.SubsequentDocument     = _CmplProcessFlowPreceding.PrecedingDocument
  and $projection.SubsequentDocumentItem = _CmplProcessFlowPreceding.PrecedingDocumentItem

{
  key DocRelationshipUUID,
      PrecedingDocument,
      PrecedingDocumentItem,
      SubsequentDocument,
      SubsequentDocumentItem,
/* This association is used as hierarchy data provider to get preceding documents */
      _CmplProcessFlowPreceding
}
where
  (
       I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'C' --> Outbound Delivery
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'H' --> Invoice
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'M' --> Credit Memo Request
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'O' --> Debit Memo Request
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'P' --> Customer Return
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'T' --> Credit Memo
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'J' --> Debit Memo
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'K' --> Order w/o charge
    or I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory = 'L' --> Returns Delivery
  )
  and(
       I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'C' --> Outbound Delivery
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'H' --> Invoice
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'M' --> Credit Memo Request
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'O' --> Debit Memo Request
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'P' --> Debit Memo Request
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'T' --> Customer Return
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'J' --> Credit Memo
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'K' --> Debit Memo
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'L' --> Order w/o charge
    or I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  = 'T' --> Returns Delivery

  )