P_PH_GeneralLedgerAccount

DDL: P_PH_GENERALLEDGERACCOUNT SQL: PPHGLACCOUNT Type: view CONSUMPTION Package: GLO_FIN_IS_PH

PH CAS General Ledger Account

P_PH_GeneralLedgerAccount is a Consumption CDS View that provides data about "PH CAS General Ledger Account" in SAP S/4HANA. It reads from 1 data source (I_GLAccountInCompanyCode) and exposes 4 fields with key fields CompanyCode, GLAccount. Part of development package GLO_FIN_IS_PH.

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 Receiver Company Code
KEY GLAccount GLAccount General Ledger
GLAccountName
Currency _CompanyCode Currency Valuation Crcy

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_PH_GeneralLedgerAccount.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PPHGLACCOUNT

CREATE VIEW P_PH_GeneralLedgerAccount AS
SELECT
  CompanyCode,
  GLAccount,
  _Text[1:Language = $session.system_language].GLAccountName AS GLAccountName,
  _CompanyCode.Currency AS Currency
FROM I_GLAccountInCompanyCode AS GLAccountInCompanyCode
;