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

Tables to be used for getting cost centre hierarchy

Hi,

Can you please tell me how to get the whole cost centre hierarchy, if I have the cost centre (leaf node)?

I need the table names and procedure to get all the nodes in the hierarchy, starting with the cost centre.

Thanks in advance.

Regards,

Arun Mohan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 01:18 PM

    Hello,

    Please see these: [http://www.erpgenie.com/abap/tables.htm and SAP TABLE RELATIONSHIPS].

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 01:20 PM

    Hi Arun,

    Please check this link

    http://www.erpgenie.com/abap/tables_fi.htm

    Please check CKPE --->CO-PC Cost Object Hierarchy: Individual Objects

    CSKA Cost Elements (Data Dependent on Chart of Accounts)

    CSKB Cost Elements (Data Dependent on Controlling Area)

    CSKR Resource master record

    CSKS Cost Center Master Data

    Best regards,

    raam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 01:28 PM

    You can use PCH logical database for getting the Org Structure

    Cost centres are stored in CSKS and CSKT

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 25, 2013 at 04:12 PM

    Try the SETHEADER table. SETCLASS = '0101'. SUBCLASS may be your planning area (KOKRS)

    You can also use the FM K_HIERARCHY_TABLES_READ.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 25, 2013 at 07:52 PM

    Hi

    You can use the following BAPI to get cost center hirarchy

    BAPI_COSTCENTER_GETDETAIL

    To find cost centers in a group use this bapi.

    BAPI_COSTCENTERGROUP_GETDETAIL

    Regards,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 04, 2020 at 02:06 PM

    Am not able to login http://www.erpgenie.com/abap/tables.htm .

    Can you please guide me.

    Regards,
    Surya.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.