P_PH_GeneralLedgerAccount
P_PH_GeneralLedgerAccount is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_GLAccountInCompanyCode) and exposes 4 fields with key fields CompanyCode, GLAccount.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountInCompanyCode | GLAccountInCompanyCode | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPHGLACCOUNT | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | GLAccount | GLAccount | ||
| GLAccountName | ||||
| Currency | _CompanyCode | Currency |
@AbapCatalog.sqlViewName: 'PPHGLACCOUNT'
@VDM.viewType: #CONSUMPTION
@VDM.private: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_PH_GeneralLedgerAccount
as select from I_GLAccountInCompanyCode as GLAccountInCompanyCode
{
key CompanyCode,
key GLAccount,
_Text[1:Language = $session.system_language].GLAccountName,
_CompanyCode.Currency
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_GLACCOUNTINCOMPANYCODE",
"I_GLACCOUNTTEXTINCOMPANYCODE"
],
"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