I_CnsldtnUnitHierNode
Consolidation Unit Hierarchy Node
I_CnsldtnUnitHierNode is a Basic CDS View that provides data about "Consolidation Unit Hierarchy Node" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnGlobalParameter, tf070) and exposes 13 fields with key fields ConsolidationStructureVersion, ConsolidationGroupHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views. Part of development package FIN_CS_MD_UNIT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnGlobalParameter | A1 | inner |
| tf070 | F | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CnsldtnGrpHierDir | _Hierarchy | $projection.ConsolidationGroupHierarchy = _Hierarchy.ConsolidationGroupHierarchy and $projection.ConsolidationStructureVersion = _Hierarchy.ConsolidationStructureVersion and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..*] | I_CnsldtnGroupT | _Text | $projection.HierarchyNode = _Text.ConsolidationGroup and $projection.ConsolidationDimension = _Text.ConsolidationDimension and $projection.ConsolidationUnit = '' |
| [0..1] | I_CnsldtnUnit | _CnsldtnUnit | $projection.ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit and $projection.ConsolidationDimension = _CnsldtnUnit.ConsolidationDimension |
| [1..1] | I_CnsldtnDimension | _CnsldtnDimension | $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCUNITHN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Consolidation Unit Hierarchy Node | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationStructureVersion | tf070 | hryver | Version: Structures |
| KEY | ConsolidationGroupHierarchy | tf070 | hryid | Hierarchy ID |
| KEY | HierarchyNode | tf070 | hrynode | Node |
| KEY | ValidityEndDate | tf070 | hryvalto | Valid To |
| ValidityStartDate | tf070 | hryvalfrom | Valid From | |
| ParentNode | tf070 | parnode | Par. Node | |
| ConsolidationDimension | ||||
| HierarchyNodeSequence | tf070 | hryseqnbr | Sequence Number | |
| HierarchyNodeLevel | tf070 | hrylevel | Hierarchy Level | |
| _CnsldtnUnit | _CnsldtnUnit | |||
| _CnsldtnDimension | _CnsldtnDimension | |||
| _Hierarchy | _Hierarchy | |||
| _Text | _Text |
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 I_CnsldtnUnitHierNode.
-- 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 I_CnsldtnUnitHierNode AS
SELECT
F.hryver AS ConsolidationStructureVersion,
F.hryid AS ConsolidationGroupHierarchy,
F.hrynode AS HierarchyNode,
F.hryvalto AS ValidityEndDate,
F.hryvalfrom AS ValidityStartDate,
F.parnode AS ParentNode,
cast( left( F.nodecls, 2 ) as fc_dimen ) AS ConsolidationDimension,
F.hryseqnbr AS HierarchyNodeSequence,
F.hrylevel AS HierarchyNodeLevel
FROM tf070 AS F
INNER JOIN I_CnsldtnGlobalParameter AS A1 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CnsldtnGrpHierDir AS _Hierarchy ON ConsolidationGroupHierarchy = _Hierarchy.ConsolidationGroupHierarchy AND ConsolidationStructureVersion = _Hierarchy.ConsolidationStructureVersion AND ValidityEndDate = _Hierarchy.ValidityEndDate -- association [1..1]
LEFT OUTER JOIN I_CnsldtnGroupT AS _Text ON HierarchyNode = _Text.ConsolidationGroup AND ConsolidationDimension = _Text.ConsolidationDimension AND ConsolidationUnit = '' -- association [0..*]
LEFT OUTER JOIN I_CnsldtnUnit AS _CnsldtnUnit ON ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit AND ConsolidationDimension = _CnsldtnUnit.ConsolidationDimension -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDimension AS _CnsldtnDimension ON ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension -- association [1..1]
;
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