I_CnsldtnUnitHierNode_3

DDL: I_CNSLDTNUNITHIERNODE_3 Type: view BASIC Package: FIN_CS_MD_UNIT

Consolidation Unit - Hierarchy Node

I_CnsldtnUnitHierNode_3 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

ConsolidationUnitHierarchyNode · Group Reporting

I_CnsldtnUnitHierNode_3 is a Basic CDS View that provides data about "Consolidation Unit - Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (P_CnsldtnUnivHierNode_3) and exposes 15 fields with key fields ConsolidationUnitHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views. Part of development package FIN_CS_MD_UNIT.

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
Purpose
This CDS view provides access to the nodes of the hierarchy of the consolidation unit. This CDS view provides the data to answer the following business questions: What nodes of a given hierarchy of consolidation units exist? In which time interval are they valid? Which consolidation units are contained in a given hierarchy? What descriptions of the nodes of the hierarchy exist? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: SAP_A4C_BC_DEV_TST_FI_CCON_PC SAP_FIN_BC_CCON_MDORG_PC Configuration HRYTYPE = CS17

Structure
Fields used for filtering The main filters are as follows: ConsolidationUnitHierarchy : used to determine the hierarchy. ValidityEndDate : used to determine the time interval of its validity. HierarchyNode : used to determine a specific node of the hierarchy. Further important fields Important fields in this view include the following: Field Name Description ConsolidationUnit A consolidation unit at a leaf of the hierarchy. NodeType The type of node which can be either a root, a node, or a leaf.

SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-MD-2CL
CapabilitiesData Source for Data Extraction,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Data Source in SQL Select,Analytical Dimension
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageGroup Reporting for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides access to the nodes of the hierarchy of the consolidation unit.</p> This CDS view provides the data to answer the following business questions:<ul> <li>What nodes of a given hierarchy of consolidation units exist?</li> <li>In which time interval are they valid? </li> <li>Which consolidation units are contained in a given hierarchy?</li> <li>What descriptions of the nodes of the hierarchy exist?</li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnUnivHierNode_3 P_CnsldtnUnivHierNode_3 from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CnsldtnUnitHierarchy _Hierarchy $projection.ConsolidationUnitHierarchy = _Hierarchy.ConsolidationUnitHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate
[0..1] I_CnsldtnGroup_3 _CnsldtnGroup $projection.ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup and $projection.ConsolidationGroup <> ''
[0..1] I_CnsldtnUnit_4 _CnsldtnUnit $projection.ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit
[0..*] I_CnsldtnUnitHierNodeText_2 _Text $projection.ConsolidationUnitHierarchy = _Text.ConsolidationUnitHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.ConsolidationUnit = ''

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ICCUNITHN3 view
AbapCatalog.compiler.compareFilter true view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #HIERARCHY view
ObjectModel.representativeKey HierarchyNode view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name ConsolidationUnitHierarchyNode view
VDM.viewType #BASIC view
EndUserText.label Consolidation Unit - Hierarchy Node view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationUnitHierarchy Consolidation Unit Hierarchy
KEY HierarchyNode _HierarchyNode HierarchyNode Consolidation Hierarchy Node
KEY ValidityEndDate _HierarchyNode ValidityEndDate Validity End Date
ValidityStartDate _HierarchyNode ValidityStartDate Validity Start Date
ParentNode _HierarchyNode ParentNode Consolidation Hierarchy Parent Node
HierarchyVersion _HierarchyNode HierarchyVersion Consolidation Hierarchy Version
ConsolidationUnit ConsolidationUnit Consolidation Unit
HierarchyNodeSequence _HierarchyNode HierarchyNodeSequence Consolidation Hierarchy Sequence Number
HierarchyNodeLevel _HierarchyNode HierarchyNodeLevel Consolidation Hierarchy Level
NodeType _HierarchyNode NodeType Consolidation Hierarchy Node Type
ConsolidationGroup ConsolidationGroup Consolidation Group
_CnsldtnUnit _CnsldtnUnit
_CnsldtnGroup _CnsldtnGroup
_Text _Text
_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_CnsldtnUnitHierNode_3.
-- 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_3 AS
SELECT
  cast(_HierarchyNode.UniversalHierarchy as fincs_consolidationunithier preserving type ) AS ConsolidationUnitHierarchy,
  _HierarchyNode.HierarchyNode AS HierarchyNode,
  _HierarchyNode.ValidityEndDate AS ValidityEndDate,
  _HierarchyNode.ValidityStartDate AS ValidityStartDate,
  _HierarchyNode.ParentNode AS ParentNode,
  _HierarchyNode.HierarchyVersion AS HierarchyVersion,
  ConsolidationUnit,
  _HierarchyNode.HierarchyNodeSequence AS HierarchyNodeSequence,
  _HierarchyNode.HierarchyNodeLevel AS HierarchyNodeLevel,
  _HierarchyNode.NodeType AS NodeType,
  ConsolidationGroup
FROM P_CnsldtnUnivHierNode_3
LEFT OUTER JOIN I_CnsldtnUnitHierarchy AS _Hierarchy ON ConsolidationUnitHierarchy = _Hierarchy.ConsolidationUnitHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnGroup_3 AS _CnsldtnGroup ON ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup AND ConsolidationGroup <> ''  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnUnit_4 AS _CnsldtnUnit ON ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnUnitHierNodeText_2 AS _Text ON ConsolidationUnitHierarchy = _Text.ConsolidationUnitHierarchy AND HierarchyNode = _Text.HierarchyNode AND ConsolidationUnit = ''  -- association [0..*]
;