Skip to Content
author's profile photo Former Member
Former Member

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

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.


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jun 08, 2017 at 12:16 PM


    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.



    Add comment
    10|10000 characters needed characters exceeded