P_PH_GeneralLedgerAccount

DDL: P_PH_GENERALLEDGERACCOUNT SQL: PPHGLACCOUNT Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_GLAccountInCompanyCode GLAccountInCompanyCode from

Annotations (6)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/