Functional informations

Before CBS project, the hierarchy used in BW for Funct0 were Z006ZRCS-FC hierarchy.

We used C_COSTELE nfo object because it doesn't have the controlling area in key. Now, we use 0COSTELMNT info object and we have new hierarchies called ZRCS-FC, existing in the different ERPs.
The name of the hierarchies is Controlling area + 'ZRCS-FC'

Example below for Z006CBS:

Actual loading of hierarchy for Rhodia SA

Rhodia SA doesn' have a hierarchy managed in is ERP. So, we load the hierarchy by another way.

We use info object C_FUNCTNC in which we have the link between the cost element and a 'reference cost element' from Z006ZRCS-FC hierarchy.

Actual loading of hierarchy for other ERP

Today, all ZRCS-FC hierarchies are created and managed in the ERP except for Rhodia SA.

To load the attributes, we have one transformation on 0COSTELMNT from itself.

All RCS controlling areas will use the Z006ZRCS-FC hierarchy and the controlling areas from Acetow, CICC and Solvay will the hierarchies existing in their ERP.

All levels will be determined in the start routine of the transformation.

The start routines start to load the hierarchy of the controlling area into an internal table.

Then we search the cost element in this hierarchy in order to find the lowest level of the hierarchy.
If it's a cost element from Rhodia SA (Controlling area Z027, we don't use the cost element but the 'reference cost element' from C_FUNCTNC)

With this level, we can find the levels above until the highest (level 1).

Example for Cost element 99430133 from controlling area Z006.
We find the hierarchy's code in the hierarchy's table RSHIEDIR.

Then we load into an internal table from the hierarchy costelement's table for this cost center

We find the level 7 and we obtain a node's code (PARENTID field: 777)

Then we search this PARENTID value in the same table but in the NODEID field.


We got now the level 6, the lowest level of our hierarchy (in BW it's the level 4) and also a new PARENTID.
The node name (minus the 4 first characters) is the code of the level.
We search the new PARENTID in order to the find the level above and we stop when at the level 3.
It means we are at the highest level.

Frequency of loading

 

Hierarchies are loaded every working day inside process chain Daily Master Data - Value Stream etween 7pm and 8pm (Paris time)

  • No labels