P_CashFlowItemGLAccountComb

DDL: P_CASHFLOWITEMGLACCOUNTCOMB SQL: PCSHFLWGLCOMB Type: view COMPOSITE

P_CashFlowItemGLAccountComb is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_CompanyCode, P_CashFlowItemGLAccount, I_CashFlowGLAccountDetn, P_CashFlowItemGLAccount) and exposes 5 fields with key fields CashFlowScopeForAccounting, CompanyCode, CashFlowScopeForAccounting, CompanyCode, GLAccount.

Data Sources (4)

SourceAliasJoin Type
I_CompanyCode CompanyCode inner
P_CashFlowItemGLAccount flow inner
I_CashFlowGLAccountDetn GLAccount union
P_CashFlowItemGLAccount P_CashFlowItemGLAccount from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCSHFLWGLCOMB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CashFlowScopeForAccounting CashFlowScopeForAccounting
KEY CompanyCode CompanyCode
KEY CashFlowScopeForAccounting
KEY CompanyCode P_CashFlowItemGLAccount CompanyCode
KEY GLAccount I_CashFlowGLAccountDetn CashFlowLocalGLAccountForAPAR
@AbapCatalog.sqlViewName: 'PCSHFLWGLCOMB'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE

define view P_CashFlowItemGLAccountComb
  as select from P_CashFlowItemGLAccount
{
  key CashFlowScopeForAccounting,
  key CompanyCode,
  key GLAccount
}
union select from I_CashFlowGLAccountDetn as GLAccount
  inner join      I_CompanyCode           as CompanyCode on GLAccount.ChartOfAccounts = CompanyCode.ChartOfAccounts
  inner join      P_CashFlowItemGLAccount as flow        on  flow.CompanyCode = CompanyCode.CompanyCode
                                                         and flow.GLAccount   = GLAccount.GLAccount
{
  key flow.CashFlowScopeForAccounting,
  key flow.CompanyCode,
  key GLAccount.CashFlowLocalGLAccountForAPAR as GLAccount
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CASHFLOWGLACCOUNTDETN",
"I_COMPANYCODE",
"P_CASHFLOWITEMGLACCOUNT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/