P_CN_AlternativeGLAccountText

DDL: P_CN_ALTERNATIVEGLACCOUNTTEXT SQL: PCNALTERGLTXT Type: view COMPOSITE

P_CN_AlternativeGLAccountText is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, I_GLAccountText) and exposes 7 fields with key fields GLAccount, CompanyCode, Language.

Data Sources (2)

SourceAliasJoin Type
I_CompanyCode I_CompanyCode inner
I_GLAccountText I_GLAccountText from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCNALTERGLTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY GLAccount I_GLAccountText GLAccount General Ledger
KEY CompanyCode I_CompanyCode CompanyCode Receiver Company Code
KEY Language I_GLAccountText Language Report Text Language
ChartOfAccounts I_GLAccountText ChartOfAccounts Node Class
GLAccountName
GLAccountLongName
_Language _Language

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_CN_AlternativeGLAccountText.
-- 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: PCNALTERGLTXT

CREATE VIEW P_CN_AlternativeGLAccountText AS
SELECT
  I_GLAccountText.GLAccount AS GLAccount,
  I_CompanyCode.CompanyCode AS CompanyCode,
  I_GLAccountText.Language AS Language,
  I_GLAccountText.ChartOfAccounts AS ChartOfAccounts,
  cast(I_GLAccountText.GLAccountName as fin_glaccount_name ) AS GLAccountName,
  cast(I_GLAccountText.GLAccountLongName as fis_txt50_skat ) AS GLAccountLongName
FROM I_GLAccountText
INNER JOIN I_CompanyCode ON /* join condition not captured in parsed metadata */
;