I_CnsldtnUnitHierarchy

DDL: I_CNSLDTNUNITHIERARCHY Type: view BASIC Package: FIN_CS_MD_UNIT

Consolidation Unit Hierarchy

I_CnsldtnUnitHierarchy (Basic)

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

Consolidation Unit Hierarchy · Group Reporting

I_CnsldtnUnitHierarchy is a Basic CDS View (Dimension) that provides data about "Consolidation Unit Hierarchy" in SAP S/4HANA. It reads from 1 data source (P_CnsldtnUnivHierarchy_3) and exposes 6 fields with key fields ConsolidationUnitHierarchy, ValidityEndDate. It has 1 association 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 master data of the hierarchy of the consolidation unit. This CDS view provides the data to answer the following business questions: What hierarchies of consolidation units exist and in which time interval are they valid? When was the hierarchy changed? And by which user? 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.

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 master data of the hierarchy of the consolidation unit.</p> This CDS view provides the data to answer the following business questions:<ul> <li>What hierarchies of consolidation units exist and in which time interval are they valid?  </li> <li>When was the hierarchy changed? And by which user?  </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_CnsldtnUnivHierarchy_3 P_CnsldtnUnivHierarchy_3 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnUnitHierarchyText _Text $projection.ConsolidationUnitHierarchy = _Text.ConsolidationUnitHierarchy

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ICCUNITHIER view
AbapCatalog.compiler.compareFilter true view
Analytics.internalName #LOCAL view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey ConsolidationUnitHierarchy view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name ConsolidationUnitHierarchy view
VDM.viewType #BASIC view
EndUserText.label Consolidation Unit Hierarchy view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationUnitHierarchy Consolidation Unit Hierarchy
KEY ValidityEndDate _Hierarchy ValidityEndDate Validity End Date
ValidityStartDate _Hierarchy ValidityStartDate Validity Start Date
LastChangedByUser _Hierarchy LastChangedByUser Last Changed By
LastChangeDateTime _Hierarchy LastChangeDateTime Last Updated at (Timestamp)
_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_CnsldtnUnitHierarchy.
-- 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_CnsldtnUnitHierarchy AS
SELECT
  cast(_Hierarchy.UniversalHierarchy as fincs_consolidationunithier preserving type ) AS ConsolidationUnitHierarchy,
  _Hierarchy.ValidityEndDate AS ValidityEndDate,
  _Hierarchy.ValidityStartDate AS ValidityStartDate,
  _Hierarchy.LastChangedByUser AS LastChangedByUser,
  _Hierarchy.LastChangeDateTime AS LastChangeDateTime
FROM P_CnsldtnUnivHierarchy_3
LEFT OUTER JOIN I_CnsldtnUnitHierarchyText AS _Text ON ConsolidationUnitHierarchy = _Text.ConsolidationUnitHierarchy  -- association [0..*]
;