cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Cost Center hierarchy from one system to another thru abap program

Former Member
0 Kudos

Dear Experts,

We have a requirement to sync the cost center hierarchies (KSH3) from one system (S/4 System) to another (Legacy System) using some program which should fetch data from S/4 and update/override hierarchy in Legacy.

I understand that the data that we see in KSH3 is saved in SETHEADER, SETNODE and SETLEAF tables and there is also a function module 'K_HIERARCHY_TABLES_READ' to read hierarchy. Can you please let me know if there is any other function module to use the data that we read from one system (S/4) using K_HIERARCHY_TABLES_READ FM and update the same in another system (Legacy).

Or kindly advice if there is any best approach or standard program to do the same.

As of now we are advised to read the data from set tables and update that in set tables of another system, not sure if this is correct and how to proceed considering the data is stored in SET tables recursively.

Thank a lot in advance.

Siva

Accepted Solutions (0)

Answers (1)

Answers (1)

iklovski
Active Contributor
0 Kudos

Hi,

There is no standard solution for this; this way or another you would need to make some development. You can base completely on ABAP function modules, or use import/export functionalities of the sets or use ALE connection.

Regards,

Eli