Hierarchy with Directory Views
The hierarchy with directory views provides functionality to configure hierarchies with directory entries for finance objects like Segment, FS Item, Consolidation Unit and Profit Center.
The standard configuration in SAP Datasphere currently shows technical IDs of hierarchy nodes for leaf nodes as well so the users can’t see the key of Segment, FS Item, Consolidation Unit and Profit Center when the hierarchy display is switched on.
The content delivered for Segment, FS Item, Consolidation Unit and Profit Center hierarchies shows the real keys of the leaf nodes. The following table explains how this is achieved.
|
Object |
View |
Calculated Field |
Logic |
|---|---|---|---|
|
Segment |
SAP_FIN_CS_IL_H_SegmentHierNode |
NodeID |
Case NodeType when 'L' then Segment else HierarchyNode end |
|
Segment for Elimination |
SAP_FIN_CS_IL_H_SegmentElimHierNode |
NodeID |
Case NodeType when 'L' then Segment else HierarchyNode end |
|
FS Item |
SAP_FIN_CS_IL_H_ConsFSItemHierNode |
NodeID |
Case NodeType when 'L' then CnsldtnFinancialStatementItem else HierarchyNode end |
|
Consolidation Unit |
SAP_FI_IL_H_ConsolidationUnitHierNode |
NodeID |
Case NodeType when 'L' then ConsolidationUnit else HierarchyNode end |
|
Consolidation Unit Elimination |
SAP_FIN_CS_IL_H_Consolidation UnitElimHierNode |
NodeID |
Case NodeType when 'L' then ConsolidationUnit else HierarchyNode end |
|
Profit Center |
SAP_FIN_CS_IL_H_ConsolidationUnit ElimHierNode |
NodeID |
Case NodeType when 'L' then CONCAT(ControllingArea, CONCAT('/',ProfitCenter)) else HierarchyNode end |
|
Profit Center Elimination |
SAP_FIN_CS_IL_H_ProfitCtrElim |
NodeID |
Case NodeType when 'L' then CONCAT(ControllingArea, CONCAT('/',ProfitCenter)) else HierarchyNode end |
|
Reporting Item |
SAP_FIN_CS_RptgItem |
NodeID |
CASE "SAP_FIN_CS_IL_I_CNSLDTNRPTGITEMHIERNODE_0"."NodeType" WHEN 'L' THEN CONCAT("SAP_FIN_CS_IL_I_CNSLDTNRPTGITEMHIERNODE_0"."ConsolidationChartOfAccounts", CONCAT('/', "SAP_FIN_CS_IL_I_CNSLDTNRPTGITEMHIERNODE_0"."ConsolidationReportingItem")) ELSE "SAP_FIN_CS_IL_I_CNSLDTNRPTGITEMHIERNODE_0"."HierarchyNode" END AS "NodeID" |