I_CnsldtnUnitForElimHierNode_2

DDL: I_CNSLDTNUNITFORELIMHIERNODE_2 Type: view BASIC

Cnsldtn Unit for Elimination - Hier Node

I_CnsldtnUnitForElimHierNode_2 (Basic)

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

CnsldtnUnitForElimHierNode · Group Reporting

I_CnsldtnUnitForElimHierNode_2 is a Basic CDS View that provides data about "Cnsldtn Unit for Elimination - Hier Node" in SAP S/4HANA. It reads from 1 data source (hrrp_node) and exposes 12 fields with key fields ConsolidationUnitHierarchy, HierarchyNode, ValidityEndDate. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Master Data
Purpose
This CDS view provides access to the nodes of the hierarchy of the consolidation units for elimination. The nodes are part of the hierarchy for consolidation units, see Consolidation Unit Hierarchy . This CDS view provides the data to answer the following business questions: What hierarchy nodes exist? Which consolidation units for elimination are contained in a hierarchy? 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 Users who want to use these CDS views must have the following authorization objects assigned: F_UNI_HIER Configuration HRYTYPE = CS17

Structure
Fields Used for Filtering The main filters are as follows: ConsolidationUnitHierarchy : This field is used to determine the hierarchy. ValidityEndDate : This field is used to determine the time interval of its validity. HierarchyNode : This field is 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 for elimination NodeType The type of a node, which can be 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

StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-MD
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Data Source for Hierarchies in Analytics
PackageGroup Reporting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to the nodes of the hierarchy of the consolidation units for elimination. The nodes are part of the hierarchy for consolidation units, see Consolidation Unit Hierarchy.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What hierarchy nodes exist? </p></li> <li><p>Which consolidation units for elimination are contained in a hierarchy? </p></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
hrrp_node hrrp_node from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CnsldtnUnitForElimination_2 _CnsldtnUnit $projection.ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit
[1..1] I_CnsldtnUnitHierarchy _Hierarchy $projection.ConsolidationUnitHierarchy = _Hierarchy.ConsolidationUnitHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate
[0..*] I_CnsldtnUnitHierNodeText_2 _Text $projection.ConsolidationUnitHierarchy = _Text.ConsolidationUnitHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.ConsolidationUnit = ''

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ICSUNITELIMHNOD2 view
AbapCatalog.compiler.compareFilter true view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.dataCategory #HIERARCHY view
ObjectModel.representativeKey HierarchyNode view
ObjectModel.modelingPattern #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE view
ObjectModel.sapObjectNodeType.name CnsldtnUnitForElimHierNode view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Cnsldtn Unit for Elimination - Hier Node view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationUnitHierarchy Consolidation Unit Hierarchy
KEY HierarchyNode hrrp_node hrynode Hierarchy node
KEY ValidityEndDate hrrp_node hryvalto Valid To Date
ValidityStartDate hrrp_node hryvalfrom Valid-From Date
ParentNode hrrp_node parnode Hierarchy parent node
HierarchyVersion hrrp_node hryver Version: Structures
HierarchyNodeSequence hrrp_node hryseqnbr Hierarchy Sequence Number
HierarchyNodeLevel hrrp_node hrylevel Hierarchy Level
NodeType hrrp_node nodetype Hierarchy node type
_Text _Text
_CnsldtnUnit _CnsldtnUnit
_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_CnsldtnUnitForElimHierNode_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 I_CnsldtnUnitForElimHierNode_2 AS
SELECT
  cast(left(hrrp_node.hryid, 40) as fincs_consolidationunithier preserving type ) AS ConsolidationUnitHierarchy,
  hrrp_node.hrynode AS HierarchyNode,
  hrrp_node.hryvalto AS ValidityEndDate,
  hrrp_node.hryvalfrom AS ValidityStartDate,
  hrrp_node.parnode AS ParentNode,
  hrrp_node.hryver AS HierarchyVersion,
  hrrp_node.hryseqnbr AS HierarchyNodeSequence,
  hrrp_node.hrylevel AS HierarchyNodeLevel,
  hrrp_node.nodetype AS NodeType
FROM hrrp_node
LEFT OUTER JOIN I_CnsldtnUnitForElimination_2 AS _CnsldtnUnit ON ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnUnitHierarchy AS _Hierarchy ON ConsolidationUnitHierarchy = _Hierarchy.ConsolidationUnitHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnUnitHierNodeText_2 AS _Text ON ConsolidationUnitHierarchy = _Text.ConsolidationUnitHierarchy AND HierarchyNode = _Text.HierarchyNode AND ConsolidationUnit = ''  -- association [0..*]
;