P_GetBudgetRlvtSemanticTag

DDL: P_GETBUDGETRLVTSEMANTICTAG SQL: PBDGTRLVTST Type: view COMPOSITE

P_GetBudgetRlvtSemanticTag is a Composite CDS View in SAP S/4HANA. It reads from 5 data sources (P_GetParSemanticTagForProj, P_GetBudgetSemanticTag, I_SemanticTag, R_ProjectSemTagGLAccount, P_GetBudgetSemanticTag) and exposes 10 fields with key fields ProjectInternalID, SemanticTag, FinancialStatementVariant, SemanticTag, FinancialStatementVariant.

Data Sources (5)

SourceAliasJoin Type
P_GetParSemanticTagForProj _Bdgt from
P_GetBudgetSemanticTag _BdgtTag inner
I_SemanticTag _ChildTag inner
R_ProjectSemTagGLAccount _Semtag inner
P_GetBudgetSemanticTag P_GetBudgetSemanticTag union

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PBDGTRLVTST view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ProjectInternalID P_GetParSemanticTagForProj ProjectInternalID Project Def.
KEY SemanticTag R_ProjectSemTagGLAccount SemanticTag Semantic Tag
KEY FinancialStatementVariant R_ProjectSemTagGLAccount GLAccountHierarchy
HierarchyNode HierarchyNode Value
SemanticTagIsBudgetRelevant
KEY SemanticTag SemanticTag Semantic Tag
KEY FinancialStatementVariant FinancialStatementVariant
HierarchyNode NodeValue Value
SemanticTagIsBudgetRelevant SemanticTagIsBudgetRelevant
ProjectIsBudgetRelevant ProjectIsBudgetRelevant

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_GetBudgetRlvtSemanticTag.
-- 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: PBDGTRLVTST

CREATE VIEW P_GetBudgetRlvtSemanticTag AS
SELECT
  _Bdgt.ProjectInternalID AS ProjectInternalID,
  _Semtag.SemanticTag AS SemanticTag,
  _Semtag.GLAccountHierarchy AS FinancialStatementVariant,
  HierarchyNode,
  '' AS SemanticTagIsBudgetRelevant,
  ProjectIsBudgetRelevant
FROM P_GetParSemanticTagForProj AS _Bdgt
INNER JOIN I_SemanticTag AS _ChildTag ON /* join condition not captured in parsed metadata */
INNER JOIN R_ProjectSemTagGLAccount AS _Semtag ON /* join condition not captured in parsed metadata */
INNER JOIN P_GetBudgetSemanticTag AS _BdgtTag ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): P_GetBudgetSemanticTag
;