V_Vbfa_P2

DDL: V_VBFA_P2 SQL: V_VBFA_P2_CDS Type: view

Document Flow Predecessor on Path Level 2

V_Vbfa_P2 is a CDS View that provides data about "Document Flow Predecessor on Path Level 2" in SAP S/4HANA. It reads from 2 data sources (V_Vbfa_P1, vbfa) and exposes 10 fields.

Data Sources (2)

SourceAliasJoin Type
V_Vbfa_P1 v1 inner
vbfa v2 from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName V_VBFA_P2_CDS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Document Flow Predecessor on Path Level 2 view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
root_vbeln V_Vbfa_P1 root_vbeln
root_posnr V_Vbfa_P1 root_posnr
root_vbtyp V_Vbfa_P1 root_vbtyp
vbelv vbfa vbelv
posnv vbfa posnv
vbtyp_v vbfa vbtyp_v
vbeln vbfa vbeln
posnn vbfa posnn
vbtyp_n vbfa vbtyp_n
path_length
@AbapCatalog.sqlViewName: 'V_VBFA_P2_CDS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Document Flow Predecessor on Path Level 2'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view V_Vbfa_P2
  as select from vbfa      as v2
    inner join   V_Vbfa_P1 as v1 on  v1.vbelv   = v2.vbeln
                                 and v1.posnv   = v2.posnn
                                 and v1.vbtyp_v = v2.vbtyp_n
{
  v1.root_vbeln,
  v1.root_posnr,
  v1.root_vbtyp,
  v2.vbelv,
  v2.posnv,
  v2.vbtyp_v,
  v2.vbeln,
  v2.posnn,
  v2.vbtyp_n,
  '02' as path_length
} 
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"V_VBFA_P1",
"VBFA"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/