P_GetAllChildSemanticTag

DDL: P_GETALLCHILDSEMANTICTAG SQL: PGETALCHLDTAG Type: view COMPOSITE Package: ODATA_PS_COS_PROJBDGT_DET

Fetches all the child semantic tag for Act Cost & Budget

P_GetAllChildSemanticTag is a Composite CDS View that provides data about "Fetches all the child semantic tag for Act Cost & Budget" in SAP S/4HANA. It reads from 2 data sources (I_SemanticTag, R_ProjectSemTagGLAccount) and exposes 6 fields with key fields ProjectInternalID, SemanticTag, FinancialStatementVariant. Part of development package ODATA_PS_COS_PROJBDGT_DET.

Data Sources (2)

SourceAliasJoin Type
I_SemanticTag _ChildTag inner
R_ProjectSemTagGLAccount _Semtag from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PGETALCHLDTAG 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 (6)

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

CREATE VIEW P_GetAllChildSemanticTag AS
SELECT
  _ParTag.ProjectInternalID AS ProjectInternalID,
  _Semtag.SemanticTag AS SemanticTag,
  _Semtag.GLAccountHierarchy AS FinancialStatementVariant,
  HierarchyNode,
  '' AS SemanticTagIsBudgetRelevant,
  _ParTag.ProjectIsBudgetRelevant AS ProjectIsBudgetRelevant
FROM R_ProjectSemTagGLAccount AS _Semtag
INNER JOIN I_SemanticTag AS _ChildTag ON /* join condition not captured in parsed metadata */
;