P_GLAccountHierNodeBySemTag_2

DDL: P_GLACCOUNTHIERNODEBYSEMTAG_2 Type: view BASIC Package: FINS_FI_SEM_TAG

G/L Account Hierarchy Node By Semantic Tag

P_GLAccountHierNodeBySemTag_2 is a Basic CDS View that provides data about "G/L Account Hierarchy Node By Semantic Tag" in SAP S/4HANA. It reads from 3 data sources (finsc_fagl2semta, hrrp_dir_n, hrrp_node_n) and exposes 6 fields with key fields GLAccountHierarchy, HierarchyNode, SemanticTag. It has 2 associations to related views. Part of development package FINS_FI_SEM_TAG.

Data Sources (3)

SourceAliasJoin Type
finsc_fagl2semta finsc_fagl2semta inner
hrrp_dir_n hrrp_dir_n inner
hrrp_node_n hrrp_node_n from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SemanticTag _SemanticTag $projection.SemanticTag = _SemanticTag.SemanticTag
[0..*] I_GLAccountHierarchy _Hierarchy $projection.GLAccountHierarchy = _Hierarchy.GLAccountHierarchy

Annotations (15)

NameValueLevelField
Metadata.allowExtensions false view
AbapCatalog.sqlViewName PFIGLHNSEMTAG2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey HierarchyNode view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
VDM.private true view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY GLAccountHierarchy hrrp_node_n hryid_42 Hierarchy ID
KEY HierarchyNode hrrp_node_n hrynode Node
KEY SemanticTag finsc_fagl2semta fins_sem_tag Semantic Tag
HierarchyNodeType
_SemanticTag _SemanticTag
_Hierarchy _Hierarchy

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_GLAccountHierNodeBySemTag_2.
-- 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_GLAccountHierNodeBySemTag_2 AS
SELECT
  hrrp_node_n.hryid_42 AS GLAccountHierarchy,
  hrrp_node_n.hrynode AS HierarchyNode,
  finsc_fagl2semta.fins_sem_tag AS SemanticTag,
  cast('HierarchyNode' as fieldname ) AS HierarchyNodeType
FROM hrrp_node_n
INNER JOIN finsc_fagl2semta ON /* join condition not captured in parsed metadata */
INNER JOIN hrrp_dir_n ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SemanticTag AS _SemanticTag ON SemanticTag = _SemanticTag.SemanticTag  -- association [0..1]
LEFT OUTER JOIN I_GLAccountHierarchy AS _Hierarchy ON GLAccountHierarchy = _Hierarchy.GLAccountHierarchy  -- association [0..*]
;