Hierarchy data
After applying the rule logic to the SAP FIN CS Group Journal Entry Item (HL) as explained in Hierarchy with Directory Views, the additional required characteristics are the Elimination members for consolidation unit, profit center and segment.
Here we need to distinguish between Group Journal Entry Items with two-sided elimination entries (posting level 20 and 22) and all other entries (all other posting levels):
-
For Group Journal Entry Items with two-sided elimination entries, the consolidation unit and partner consolidation unit need to be assessed along a given consolidation hierarchy on which node in the hierarchy they meet. Above this hierarchy node, the posting needs to be eliminated. Therefore, the posting gets assigned to an elimination member on this hierarchy node.
-
For all other Group Journal Entry Items, the elimination member information should be still available to allow showing all postings along one common hierarchy in a report. In this case the elimination member is just to be filled with the consolidation unit if the consolidation unit exists for the chosen consolidation unit hierarchy.
The following overview shows the SAP FIN CS Hierarchy Node Group Journal Entry Item (HL) and which graphical views it is made up of.

A similar structure can also be observed with the SAP FIN CS Hierarchy Leaf Group Journal Entry Item (HL).

The following section describes the differences between SAP FIN CS Hierarchy Leaf Group Journal Entry Item (HL) and SAP FIN CS Hierarchy Node Group Journal Entry Item (HL), and the logic implemented using the consolidation unit as an example. This explanation can be transferred to the profit center and the segment, as they are structured in a similar way.
Hierarchy data - SAP FIN CS Cons Unit HierElim Leaves (HL)
As described in Hierarchy with Directory Views, it is necessary to distinguish between the leaves and the nodes. This can be done by applying a filter, in the case of the leaves the PartnerConsolidationUnit field is empty. The view created and the filter criteria to achieve this are shown below. For clarification purposes, the following table not only shows the filter used for the consolidation unit but also for the profit center and the segment.

|
Filter Field |
Value |
|---|---|
|
PartnerConsolidationUnit |
= '' |
|
PartnerSegment |
= '' |
|
PartnerProfitCenter |
= '' |
Hierarchy data - SAP FIN CS Cons Unit HierElim Nodes (HL)
Like the leaves, we need to apply a filter for the nodes. This distinction can be achieved by applying a specific filter, where the PartnerConsolidationUnit field is not empty for nodes. The view created and the filter criteria for this purpose are demonstrated below. For clarification purposes, the following table not only shows the filter used for the consolidation unit but also for the profit center and the segment.

|
Filter Field |
Value |
|---|---|
|
PartnerConsolidationUnit |
<> '' |
|
PartnerSegment |
<> '' |
|
PartnerProfitCenter |
<> '' |
SAP FIN CS Hierarchy Leaf/Node Group Journal Entry Item (HL)
Based on the SAP FIN CS Group Journal Entry Item (HL), it is now time to enrich the data with the leaves/nodes created in Hierarchy with Directory Views. The SAP FIN CS Hierarchy Leaf Group Journal Entry Item (HL) view will be described first in detail. While its overall structure is similar to the SAP FIN CS Hierarchy Node Group Journal Entry Item (HL) view, the node version includes additional mapping conditions within its joins.
-
SAP FIN CS Cons Unit HierElim Leaves (HL)
-
SAP FIN CS Cons Profit Center HierElim Leaves (HL)
-
SAP FIN CS Cons Segment HierElim Leaves (HL)

-
Consolidation Unit Hierarchy (P_CONSOLIDATIONUNITHIERARCHY)
-
Profit Center Hierarchy (P_CONSOLIDATIONPRFTCTRHIER)
-
Segment Hierarchy (P_CONSOLIDATIONSEGMENTHIER)
-
Key Date (P_KEYDATE)
These input parameters are then used in the filters and are listed in the following table. In addition to the filters for the input parameters, there is also an initial filter on the SAP FIN CS Group Journal Entry Item (HL), which filters on the posting level, making it possible to differentiate between leaves and nodes.
|
Filter Field |
Value |
|---|---|
|
GrpJrnlEntryItmFilter |
PostingLevel <> '20' AND PostingLevel <> '22' |
|
ConsUnitFilter |
ConsolidationUnitHierarchy = :P_CONSOLIDATIONUNITHIERARCHY and ValidityStartDate <= :P_KEYDATE and ValidityEndDate >= :P_KEYDATE |
|
ConsProfitCenterFilter |
ConsolidationPrftCtrHierarchy = :P_CONSOLIDATIONPRFTCTRHIER and ValidityStartDate <= :P_KEYDATE and ValidityEndDate >= :P_KEYDATE |
|
ConsSegFilter |
ConsolidationSegmentHierarchy = :P_CONSOLIDATIONSEGMENTHIER and ValidityStartDate <= :P_KEYDATE and ValidityEndDate >= :P_KEYDATE |
The mapping of the three joins, can be found in the following table:
|
Join Number |
Mapping left table |
Mapping right table |
|---|---|---|
|
1 |
Consolidation unit (ConsolidationUnit) |
Consolidation unit (ConsolidationUnit) |
|
2 |
Controlling area (ControllingArea) Profit center (ProfitCenter) |
Controlling area (ControllingArea) Profit center (ProfitCenter) |
|
3 |
Segment for segmental reporting (Segment) |
Segment for segmental reporting (Segment) |
After describing the leaf view, the corresponding SAP FIN CS Hierarchy Node Group Journal Entry Item (HL) view can be outlined. Its overall structure is the same, but the following adjustments are made:

Joined Views:
-
SAP FIN CS Cons Unit HierElim Nodes (HL)
-
SAP FIN CS Cons Profit Center HierElim Nodes (HL)
-
SAP FIN CS Cons Segment HierElim Nodes (HL)
Posting level filter:
-
PostingLevel = '20' OR PostingLevel = '22'
Join mapping:
|
Join Number |
Mapping left table |
Mapping right table |
|---|---|---|
|
1 |
Consolidation unit (ConsolidationUnit) |
Consolidation unit (ConsolidationUnit) |
|
2 |
Controlling area (ControllingArea) Profit center (ProfitCenter) Partner profit center (PartnerProfitCenter) |
Controlling area (ControllingArea) Profit center (ProfitCenter) Partner profit center (PartnerProfitCenter) |
|
3 |
Segment for segmental reporting (Segment) Partner segment for segmental reporting (PartnerSegment) |
Segment for segmental reporting (Segment) Partner segment for segmental reporting (PartnerSegment) |
Union of Matrix Elimination for Leaves and Nodes
Once the SAP FIN CS Hierarchy Leaf Group Journal Entry Item (HL) responsible for the leaves and the SAP FIN CS Hierarchy Node Group Journal Entry Item (HL) responsible for the nodes have been created, the next step is to merge them into a single view using a union operation. This view is called the SAP FIN CS Group Journal Entry Item Matrix Elimination (HL) and will be at a later point our foundation for our analytic model.

Following the union, the master data associations created were maintained. All the associations are listed in the following table.
|
Business Name |
Technical Name |
|---|---|
|
Consolidation segment elimination member to Segment for Elimination (Master Data View) |
SegmentForElim_A |
|
Segment for segmental reporting to Segment (Master Data View) |
Segment_A |
|
Consolidation profit center elimination member to Profit Center for Elimination (Master Data View) |
PrftCtrForElim_A |
|
Profit center to Profit Center (Master Data View) |
ProfitCenter_A |
|
Consolidation unit to Consolidation Unit (Master Data View) |
ConsolidationUnit_A |
|
Financial statement item to FS Item (Master Data View) |
FinancialSttmntIt_A |
|
Consolidation version to Consolidation Version (Text View) |
ConsVersion_T |
|
Consolidation group to Consolidation Group (Text View) |
CnsldtnGroup_T |
|
Posting level to Posting Level (Text View) |
PostingLevel_T |
|
Document type to Document Type (Text View) |
ConsDocType_A |
|
Subitem category to Consolidation Subitem (Master Data View) |
SubItem_A |
|
Posting level to Posting Level (Text View) |
PostingLevel_T |
|
Document type to Document Type (Text View) |
ConsDocType_A |
|
Subitem category to Consolidation Subitem (Master Data View) |
SubItem_A |
|
Subitem category to Subitem category (Text View) |
SubItemCategory_T |
|
Consolidation chart of accounts to Consolidation Chart Of Accounts (Text View) |
ConsChartOfAccnts_T |
|
Consolidation version element to Consolidation Version Element (Text View) |
ConsVersElmnt_T |
|
Consolidation unit elimination member to Consolidation Unit Elimination (Master Data View) |
ConsUnitElimMem_A |
|
Country/Region to Country/Region (Master Data) |
CustomerSupplier_A |
|
Division to Division (Text View) |
Division_T |
|
Controlling Area to Controlling Area (Master Data) |
ControllingArea_A |
|
Cost Center to Cost Center (Master Data) |
CostCenter_A |
|
Consolidation Unit by Time |
ConsUnitByTime |
|
Consolidation Unit by Time and Version |
ConsUnitByTimeVersio |