P_GLAccountHierNodeBySemTag_2
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)
| Source | Alias | Join Type |
|---|---|---|
| finsc_fagl2semta | finsc_fagl2semta | inner |
| hrrp_dir_n | hrrp_dir_n | inner |
| hrrp_node_n | hrrp_node_n | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SemanticTag | _SemanticTag | $projection.SemanticTag = _SemanticTag.SemanticTag |
| [0..*] | I_GLAccountHierarchy | _Hierarchy | $projection.GLAccountHierarchy = _Hierarchy.GLAccountHierarchy |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA