I_ComplaintProcessFlowBasic

DDL: I_COMPLAINTPROCESSFLOWBASIC Type: view_entity COMPOSITE Package: VDM_CMH_SD

Complaint Process Flow StatusBasic

I_ComplaintProcessFlowBasic is a Composite CDS View that provides data about "Complaint Process Flow StatusBasic" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentMultiLevelProcFlow) and exposes 14 fields with key field DocRelationshipUUID. Part of development package VDM_CMH_SD.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentMultiLevelProcFlow I_SDDocumentMultiLevelProcFlow from

Annotations (9)

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

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY DocRelationshipUUID I_SDDocumentMultiLevelProcFlow DocRelationshipUUID
PrecedingDocument I_SDDocumentMultiLevelProcFlow PrecedingDocument
PrecedingDocumentItem I_SDDocumentMultiLevelProcFlow PrecedingDocumentItem
SubsequentDocument I_SDDocumentMultiLevelProcFlow SubsequentDocument
SubsequentDocumentItem I_SDDocumentMultiLevelProcFlow SubsequentDocumentItem
PrecedingDocumentCategory I_SDDocumentMultiLevelProcFlow PrecedingDocumentCategory
DocumentTypeDescription
PrecedingDocStatus
PrecedingDocStatusDesc
SubsequentDocumentCategory I_SDDocumentMultiLevelProcFlow SubsequentDocumentCategory
DocumentDescription
SubsequentDocStatus
SubsequentDocStatusDesc
ProcessFlowLevel I_SDDocumentMultiLevelProcFlow ProcessFlowLevel
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: {

   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   }
}
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Complaint Process Flow StatusBasic'

define view entity I_ComplaintProcessFlowBasic
  as select from            I_SDDocumentMultiLevelProcFlow
{
  key     I_SDDocumentMultiLevelProcFlow.DocRelationshipUUID        as DocRelationshipUUID,
          I_SDDocumentMultiLevelProcFlow.PrecedingDocument          as PrecedingDocument,
          I_SDDocumentMultiLevelProcFlow.PrecedingDocumentItem      as PrecedingDocumentItem,
          I_SDDocumentMultiLevelProcFlow.SubsequentDocument         as SubsequentDocument,
          I_SDDocumentMultiLevelProcFlow.SubsequentDocumentItem     as SubsequentDocumentItem,
          I_SDDocumentMultiLevelProcFlow.PrecedingDocumentCategory  as PrecedingDocumentCategory,
          /* As API view has been deprecated, this view will be deleted soon
          To avoid performance issues and incompatible changes, dummy values are passed*/
          cast(' ' as ddtext )                  as DocumentTypeDescription,
          cast(' ' as abap.char( 20 ) )                      as PrecedingDocStatus,
          cast(' ' as val_text )                     as PrecedingDocStatusDesc,

          I_SDDocumentMultiLevelProcFlow.SubsequentDocumentCategory as SubsequentDocumentCategory,
          /* As API view has been deprecated, this view will be deleted soon
          To avoid performance issues and incompatible changes, dummy values are passed*/
          cast(' ' as ddtext )                  as DocumentDescription,
          cast(' ' as abap.char( 20 ) )                         as SubsequentDocStatus,

          cast(' ' as val_text )                        as SubsequentDocStatusDesc,

          I_SDDocumentMultiLevelProcFlow.ProcessFlowLevel           as ProcessFlowLevel
}
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

  )