Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Tables to be used for getting cost centre hierarchy

Former Member
0 Kudos
20,811

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
3,300

Hello,

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

Regards.

6 REPLIES 6

Former Member
0 Kudos
3,301

Hello,

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

Regards.

Former Member
0 Kudos
3,300

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

Former Member
0 Kudos
3,300

You can use PCH logical database for getting the Org Structure

Cost centres are stored in CSKS and CSKT

Former Member
0 Kudos
3,300

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

You can also use the FM K_HIERARCHY_TABLES_READ.

venkateswaran_k
Active Contributor
0 Kudos
3,300

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

former_member672965
Discoverer
0 Kudos
3,300

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

Can you please guide me.

Regards,
Surya.