I_CnsldtnUnitHierNodeEnhcd
Consolidation Unit Hierarchy Node
I_CnsldtnUnitHierNodeEnhcd 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 3 associations to related views. Part of development package FIN_CS_MASTER_DATA_ENHCD.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnGlobalParameter | A1 | inner |
| tf070 | F | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CnsldtnGrpHierDir | _Hierarchy | $projection.ConsolidationGroupHierarchy = _Hierarchy.ConsolidationGroupHierarchy and $projection.ConsolidationStructureVersion = _Hierarchy.ConsolidationStructureVersion and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [1..*] | I_CnsldtnUnitEnhcd10 | _CnsldtnUnit | $projection.ConsolidationDimension = _CnsldtnUnit.ConsolidationDimension |
| [0..1] | I_CnsldtnDimension | _CnsldtnDimension | $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCUNITHNENH | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Consolidation Unit Hierarchy Node | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationStructureVersion | tf070 | hryver | Version: Structures |
| KEY | ConsolidationGroupHierarchy | |||
| KEY | HierarchyNode | tf070 | hrynode | Node |
| KEY | ValidityEndDate | tf070 | hryvalto | Valid To |
| ValidityStartDate | tf070 | hryvalfrom | Valid From | |
| ParentNode | tf070 | parnode | Par. Node | |
| ConsolidationDimension | ||||
| ConsolidationUnit | ||||
| HierarchyNodeSequence | tf070 | hryseqnbr | Sequence Number | |
| HierarchyNodeLevel | tf070 | hrylevel | Hierarchy Level | |
| _CnsldtnUnit | _CnsldtnUnit | |||
| _CnsldtnDimension | _CnsldtnDimension | |||
| _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 I_CnsldtnUnitHierNodeEnhcd.
-- 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: ICCUNITHNENH
CREATE VIEW I_CnsldtnUnitHierNodeEnhcd AS
SELECT
F.hryver AS ConsolidationStructureVersion,
cast( left( F.hryid, 10 ) as fc_hrchy) 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,
cast( left( F.nodevalue, 18 ) as fincs_consolidationunit ) AS ConsolidationUnit,
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 [0..1]
LEFT OUTER JOIN I_CnsldtnUnitEnhcd10 AS _CnsldtnUnit ON ConsolidationDimension = _CnsldtnUnit.ConsolidationDimension -- association [1..*]
LEFT OUTER JOIN I_CnsldtnDimension AS _CnsldtnDimension ON ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension -- association [0..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