P_BusSolnOrdEntProjectFlwLvl1

DDL: P_BUSSOLNORDENTPROJECTFLWLVL1 Type: view CONSUMPTION

Solution Order Enterprise Project Flow: Level 1

P_BusSolnOrdEntProjectFlwLvl1 is a Consumption CDS View that provides data about "Solution Order Enterprise Project Flow: Level 1" in SAP S/4HANA. It reads from 3 data sources (I_BusSolnOrdFUPEntProject, I_BusSolnOrdItmFUPEntProject, I_ServiceDocumentItemEnhcd) and exposes 10 fields with key fields PrecedingDocument, PrecedingDocumentItem, PrecedingDocumentCategory, SubsequentDocument, SubsequentDocumentItem.

Data Sources (3)

SourceAliasJoin Type
I_BusSolnOrdFUPEntProject _CustProjHeader inner
I_BusSolnOrdItmFUPEntProject _CustProjItem from
I_ServiceDocumentItemEnhcd _SolnOrder inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBSOEPFLWLVL1 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: Level 1 view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PrecedingDocument I_ServiceDocumentItemEnhcd ServiceDocument
KEY PrecedingDocumentItem I_ServiceDocumentItemEnhcd ServiceDocumentItem
KEY PrecedingDocumentCategory
KEY SubsequentDocument I_BusSolnOrdFUPEntProject Project
KEY SubsequentDocumentItem
KEY SubsequentDocumentCategory
BusinessSolutionOrder I_ServiceDocumentItemEnhcd ServiceDocument
ServiceObjectType I_ServiceDocumentItemEnhcd ServiceObjectType
CustomerProject
CustomerProjectItem I_ServiceDocumentItemEnhcd ServiceDocumentItem
@AbapCatalog: {
    sqlViewName:            'PBSOEPFLWLVL1',
    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: Level 1'

// Solution Order -> Customer Project

define view P_BusSolnOrdEntProjectFlwLvl1
  as select from I_BusSolnOrdItmFUPEntProject   as _CustProjItem
    inner join   I_ServiceDocumentItemEnhcd     as _SolnOrder      on  _SolnOrder.ServiceDocumentItemCharUUID     = _CustProjItem.BusSolnOrderItemCharUUID
                                                                   and _SolnOrder.ServiceObjectType               = 'BUS2000172' --> Solution Order
    inner join   I_BusSolnOrdFUPEntProject      as _CustProjHeader on _CustProjHeader.ServiceDocumentRelationUUID = _CustProjItem.ServiceDocumentItmRelationUUID

{

  key _SolnOrder.ServiceDocument                                  as PrecedingDocument,
  key _SolnOrder.ServiceDocumentItem                              as PrecedingDocumentItem,
  key 'SOLO'                                                      as PrecedingDocumentCategory,
  key _CustProjHeader.Project                                     as SubsequentDocument,
  key cast(''                         as posnr_nach)              as SubsequentDocumentItem,
  key 'CPMP'                                                      as SubsequentDocumentCategory,

      // For filtering

      _SolnOrder.ServiceDocument                                  as BusinessSolutionOrder,
      _SolnOrder.ServiceObjectType                                as ServiceObjectType,
      cast(_CustProjHeader.Project       as subsequ_doc)          as CustomerProject,
      _SolnOrder.ServiceDocumentItem                              as CustomerProjectItem

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSSOLNORDFUPENTPROJECT",
"I_BUSSOLNORDITMFUPENTPROJECT",
"I_SERVICEDOCUMENTITEMENHCD"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/