I_CnsldtnProfitCenterHierNode

DDL: I_CNSLDTNPROFITCENTERHIERNODE Type: view BASIC

Cnsldtn Profit Center - Hierarchy Node

I_CnsldtnProfitCenterHierNode (Basic)

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

CnsldtnProfitCenterHierNode · Group Reporting

I_CnsldtnProfitCenterHierNode is a Basic CDS View that provides data about "Cnsldtn Profit Center - Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (P_CnsldtnUnivHierNode_3) and exposes 15 fields with key fields ControllingArea, ConsolidationPrftCtrHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views.

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 hierarchy of the consolidation profit center. </p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What hierarchies for profit center exist and in which interval of fiscal year and period are they defined? </p></li> <li><p>Which profit centers are contained in a hierarchy? </p></li> <li><p>What are the nodes of a hierarchy and their descriptions? </p></li> <li><p>What are the hierarchies of a superordinate controlling area?</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
P_CnsldtnUnivHierNode_3 P_CnsldtnUnivHierNode_3 from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CnsldtnControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..1] I_CnsldtnProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea
[1..1] I_CnsldtnProfitCenterHierarchy _Hierarchy $projection.ConsolidationPrftCtrHierarchy = _Hierarchy.ConsolidationPrftCtrHierarchy and $projection.ControllingArea = _Hierarchy.ControllingArea and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate
[0..*] I_CnsldtnProfitCenterHierNodeT _Text $projection.ControllingArea = _Text.ControllingArea and $projection.ConsolidationPrftCtrHierarchy = _Text.ConsolidationPrftCtrHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.ProfitCenter = ''

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ICCPRFTCTRHN 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 #B 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 CnsldtnProfitCenterHierNode view
VDM.viewType #BASIC view
EndUserText.label Cnsldtn Profit Center - Hierarchy Node view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Consolidation Controlling Area
KEY ConsolidationPrftCtrHierarchy Consolidation Profit Center 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
ProfitCenter ProfitCenter Consolidation Profit Center
HierarchyNodeSequence _HierarchyNode HierarchyNodeSequence Consolidation Hierarchy Sequence Number
HierarchyNodeLevel _HierarchyNode HierarchyNodeLevel Consolidation Hierarchy Level
NodeType _HierarchyNode NodeType Consolidation Hierarchy Node Type
_Text _Text
_ProfitCenter _ProfitCenter
_Hierarchy _Hierarchy
_ControllingArea _ControllingArea

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_CnsldtnProfitCenterHierNode.
-- 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_CnsldtnProfitCenterHierNode AS
SELECT
  ControllingArea,
  cast(_HierarchyNode.CnsldtnUniversalHierarchy as fincs_profitcenterhierarchy preserving type ) AS ConsolidationPrftCtrHierarchy,
  _HierarchyNode.HierarchyNode AS HierarchyNode,
  _HierarchyNode.ValidityEndDate AS ValidityEndDate,
  _HierarchyNode.ValidityStartDate AS ValidityStartDate,
  _HierarchyNode.ParentNode AS ParentNode,
  _HierarchyNode.HierarchyVersion AS HierarchyVersion,
  ProfitCenter,
  _HierarchyNode.HierarchyNodeSequence AS HierarchyNodeSequence,
  _HierarchyNode.HierarchyNodeLevel AS HierarchyNodeLevel,
  _HierarchyNode.NodeType AS NodeType
FROM P_CnsldtnUnivHierNode_3
LEFT OUTER JOIN I_CnsldtnControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnProfitCenterHierarchy AS _Hierarchy ON ConsolidationPrftCtrHierarchy = _Hierarchy.ConsolidationPrftCtrHierarchy AND ControllingArea = _Hierarchy.ControllingArea AND ValidityEndDate = _Hierarchy.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnProfitCenterHierNodeT AS _Text ON ControllingArea = _Text.ControllingArea AND ConsolidationPrftCtrHierarchy = _Text.ConsolidationPrftCtrHierarchy AND HierarchyNode = _Text.HierarchyNode AND ProfitCenter = ''  -- association [0..*]
;