P_CashFlowItemGLAccountComb
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | inner |
| P_CashFlowItemGLAccount | flow | inner |
| I_CashFlowGLAccountDetn | GLAccount | union |
| P_CashFlowItemGLAccount | P_CashFlowItemGLAccount | from |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | 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 |
@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
}
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