P_AcctgPrncpGLAcctSemTagValdty

DDL: P_ACCTGPRNCPGLACCTSEMTAGVALDTY Type: view COMPOSITE Package: FINS_FI_CLS_CUSTOMIZING

Get GLaccount according to semantic tag

P_AcctgPrncpGLAcctSemTagValdty is a Composite CDS View that provides data about "Get GLaccount according to semantic tag" in SAP S/4HANA. It reads from 2 data sources (I_AcctgPrncpChtAcctsConfign, I_SemTagGLAccount) and exposes 10 fields with key fields AccountingPrinciple, SemanticTag, ChartOfAccounts, GLAccount. It has 1 association to related views. Part of development package FINS_FI_CLS_CUSTOMIZING.

Data Sources (2)

SourceAliasJoin Type
I_AcctgPrncpChtAcctsConfign config inner
I_SemTagGLAccount semtag from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_AccountingPrinciple _AccountingPrinciple _AccountingPrinciple.AccountingPrinciple = config.AccountingPrinciple

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PACTPGLACCSEMTAG view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey AccountingPrinciple view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY AccountingPrinciple I_AcctgPrncpChtAcctsConfign AccountingPrinciple AP Ledger/CoCode
KEY SemanticTag SemanticTag Semantic Tag
KEY ChartOfAccounts I_SemTagGLAccount ChartOfAccounts Node Class
KEY GLAccount GLAccount General Ledger
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
_ChartOfAccounts _ChartOfAccounts
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_SemanticTag _SemanticTag
_AccountingPrinciple _AccountingPrinciple

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_AcctgPrncpGLAcctSemTagValdty.
-- 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_AcctgPrncpGLAcctSemTagValdty AS
SELECT
  config.AccountingPrinciple AS AccountingPrinciple,
  SemanticTag,
  semtag.ChartOfAccounts AS ChartOfAccounts,
  GLAccount,
  ValidityStartDate,
  ValidityEndDate
FROM I_SemTagGLAccount AS semtag
INNER JOIN I_AcctgPrncpChtAcctsConfign AS config ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AccountingPrinciple AS _AccountingPrinciple ON _AccountingPrinciple.AccountingPrinciple = config.AccountingPrinciple  -- association [0..1]
;