P_GetBudgetSemanticTag

DDL: P_GETBUDGETSEMANTICTAG SQL: PGETBDGTTAG Type: view COMPOSITE

P_GetBudgetSemanticTag is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (R_ProjectSemTagGLAccount) and exposes 6 fields with key fields ProjectInternalID, SemanticTag.

Data Sources (1)

SourceAliasJoin Type
R_ProjectSemTagGLAccount _FSVItem from

Annotations (10)

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

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ProjectInternalID _ParTag ProjectInternalID Project Def.
KEY SemanticTag R_ProjectSemTagGLAccount SemanticTag Semantic Tag
NodeValue R_ProjectSemTagGLAccount HierarchyNode Node
SemanticTagIsBudgetRelevant _ParTag SemanticTagIsBudgetRelevant
FinancialStatementVariant R_ProjectSemTagGLAccount GLAccountHierarchy
ProjectIsBudgetRelevant _ParTag 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_GetBudgetSemanticTag.
-- 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: PGETBDGTTAG

CREATE VIEW P_GetBudgetSemanticTag AS
SELECT
  _ParTag.ProjectInternalID AS ProjectInternalID,
  _FSVItem.SemanticTag AS SemanticTag,
  _FSVItem.HierarchyNode AS NodeValue,
  _ParTag.SemanticTagIsBudgetRelevant AS SemanticTagIsBudgetRelevant,
  _FSVItem.GLAccountHierarchy AS FinancialStatementVariant,
  _ParTag.ProjectIsBudgetRelevant AS ProjectIsBudgetRelevant
FROM R_ProjectSemTagGLAccount AS _FSVItem
;