P_CashFlowItemGLAccountComb

DDL: P_CASHFLOWITEMGLACCOUNTCOMB Type: view_entity COMPOSITE Package: ODATA_PAYMENTDETAILS

GL Accounts of Cash Flow Items

P_CashFlowItemGLAccountComb is a Composite CDS View that provides data about "GL Accounts of Cash Flow Items" 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. Part of development package ODATA_PAYMENTDETAILS.

Data Sources (4)

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

Annotations (4)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED 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
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE

define view entity 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
}