P_GLAccountSemTagInCompanyCode

DDL: P_GLACCOUNTSEMTAGINCOMPANYCODE Type: view COMPOSITE Package: FINS_FI_CLS_CUSTOMIZING

Get GLaccount in one company code according to semantic tag

P_GLAccountSemTagInCompanyCode is a Composite CDS View that provides data about "Get GLaccount in one company code according to semantic tag" in SAP S/4HANA. It reads from 2 data sources (P_FinClsgGLAccountInCoCode, I_AccountingPrncpGLAcctSemTag) and exposes 10 fields with key fields GLAccount, CompanyCode, AccountingPrinciple, SemanticTag, ChartOfAccounts. Part of development package FINS_FI_CLS_CUSTOMIZING.

Data Sources (2)

SourceAliasJoin Type
P_FinClsgGLAccountInCoCode companycode inner
I_AccountingPrncpGLAcctSemTag semtag from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PGLACCTBUKRS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.representativeKey CompanyCode view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY GLAccount P_FinClsgGLAccountInCoCode GLAccount General Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingPrinciple AccountingPrinciple AP Ledger/CoCode
KEY SemanticTag SemanticTag Semantic Tag
KEY ChartOfAccounts I_AccountingPrncpGLAcctSemTag ChartOfAccounts Node Class
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
GLAccountCurrency GLAccountCurrency Currency
ReconciliationAccountType ReconciliationAccountType Reconcil. ID
AccountIsOpenItemManaged AccountIsOpenItemManaged

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_GLAccountSemTagInCompanyCode.
-- 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_GLAccountSemTagInCompanyCode AS
SELECT
  companycode.GLAccount AS GLAccount,
  CompanyCode,
  AccountingPrinciple,
  SemanticTag,
  semtag.ChartOfAccounts AS ChartOfAccounts,
  ValidityStartDate,
  ValidityEndDate,
  GLAccountCurrency,
  ReconciliationAccountType,
  AccountIsOpenItemManaged
FROM I_AccountingPrncpGLAcctSemTag AS semtag
INNER JOIN P_FinClsgGLAccountInCoCode AS companycode ON /* join condition not captured in parsed metadata */
;