P_CompanyCodeGLAccountInCOA

DDL: P_COMPANYCODEGLACCOUNTINCOA Type: view_entity COMPOSITE Package: RAP_FI_GL_COA

Operating Chart of Accounts

P_CompanyCodeGLAccountInCOA is a Composite CDS View that provides data about "Operating Chart of Accounts" in SAP S/4HANA. It reads from 2 data sources (I_GLAccountInCompanyCode, I_CompanyCode) and exposes 4 fields with key fields ChartOfAccounts, GLAccount, CompanyCode. Part of development package RAP_FI_GL_COA.

Data Sources (2)

SourceAliasJoin Type
I_GLAccountInCompanyCode acct from
I_CompanyCode cocd right_outer

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.resultSet.sizeCategory #XS view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey ChartOfAccounts view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_CompanyCode ChartOfAccounts Node Class
KEY GLAccount I_GLAccountInCompanyCode GLAccount General Ledger
KEY CompanyCode I_CompanyCode CompanyCode Receiver Company Code
CompanyCodeName I_CompanyCode CompanyCodeName Company Name

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_CompanyCodeGLAccountInCOA.
-- 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.

CREATE VIEW P_CompanyCodeGLAccountInCOA AS
SELECT
  cocd.ChartOfAccounts AS ChartOfAccounts,
  acct.GLAccount AS GLAccount,
  cocd.CompanyCode AS CompanyCode,
  cocd.CompanyCodeName AS CompanyCodeName
FROM I_GLAccountInCompanyCode AS acct
RIGHT OUTER JOIN I_CompanyCode AS cocd ON /* join condition not captured in parsed metadata */
;