P_BusSolnOrdEntProjectFlwLvl5

DDL: P_BUSSOLNORDENTPROJECTFLWLVL5 Type: view CONSUMPTION

Solution Order Enterprise Project Flow: Level5

P_BusSolnOrdEntProjectFlwLvl5 is a Consumption CDS View that provides data about "Solution Order Enterprise Project Flow: Level5" in SAP S/4HANA. It reads from 2 data sources (P_BusSolnOrdEntProjectFlwLvl4, I_JournalEntry) and exposes 10 fields with key fields PrecedingDocument, PrecedingDocumentItem, PrecedingDocumentCategory, SubsequentDocument, SubsequentDocumentItem.

Data Sources (2)

SourceAliasJoin Type
P_BusSolnOrdEntProjectFlwLvl4 Level4 from
I_JournalEntry Level5 inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBSOEPFLWLVL5 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
VDM.private true view
EndUserText.label Solution Order Enterprise Project Flow: Level5 view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PrecedingDocument P_BusSolnOrdEntProjectFlwLvl4 SubsequentDocument
KEY PrecedingDocumentItem P_BusSolnOrdEntProjectFlwLvl4 SubsequentDocumentItem
KEY PrecedingDocumentCategory P_BusSolnOrdEntProjectFlwLvl4 SubsequentDocumentCategory
KEY SubsequentDocument I_JournalEntry AccountingDocument
KEY SubsequentDocumentItem
KEY SubsequentDocumentCategory
BusinessSolutionOrder BusinessSolutionOrder
ServiceObjectType ServiceObjectType
CustomerProject CustomerProject
CustomerProjectItem CustomerProjectItem
@AbapCatalog: {
    sqlViewName:            'PBSOEPFLWLVL5',
    compiler.compareFilter: true,
    preserveKey:            true
}

@AccessControl.authorizationCheck: #NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType: {
    dataClass:      #MIXED,
    serviceQuality: #C,
    sizeCategory:   #XL
}

@VDM: {
    viewType: #CONSUMPTION,
    private:  true
}

@EndUserText.label: 'Solution Order Enterprise Project Flow: Level5'
// Invoice -> Journal Entry

define view P_BusSolnOrdEntProjectFlwLvl5
  as select from P_BusSolnOrdEntProjectFlwLvl4 as Level4
    inner join   I_JournalEntry                as Level5 on  Level5.OriginalReferenceDocument = Level4.SubsequentDocument
                                                         and Level5.ReferenceDocumentType     = 'VBRK'
{
  key Level4.SubsequentDocument         as PrecedingDocument,
  key Level4.SubsequentDocumentItem     as PrecedingDocumentItem,
  key Level4.SubsequentDocumentCategory as PrecedingDocumentCategory,
  key Level5.AccountingDocument         as SubsequentDocument,
  key ''                                as SubsequentDocumentItem,
  key '+'                               as SubsequentDocumentCategory,

      // For filtering

      BusinessSolutionOrder,
      ServiceObjectType   ,
      CustomerProject,
      CustomerProjectItem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRY",
"P_BUSSOLNORDENTPROJECTFLWLVL4"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/