P_CashFlowItemGLAccountComb
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | inner |
| P_CashFlowItemGLAccount | flow | inner |
| I_CashFlowGLAccountDetn | GLAccount | union |
| P_CashFlowItemGLAccount | P_CashFlowItemGLAccount | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA