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: 

Cost center and cost center group

Former Member
0 Kudos

is there a database table to find information about cost center and it relation to cost center group.

I mean the heirarchy of the cost center group and cost centers.

thanks alot..

1 ACCEPTED SOLUTION

athavanraja
Active Contributor
0 Kudos

to get the immediate parent of the cost center you can use csks-khinr field.

to get the cost center group hierarchy you can use

BAPI_COSTCENTERGROUP_GETDETAIL

these details are stored in <b>setnode</b> table

Regards

Raja

4 REPLIES 4

athavanraja
Active Contributor
0 Kudos

to get the immediate parent of the cost center you can use csks-khinr field.

to get the cost center group hierarchy you can use

BAPI_COSTCENTERGROUP_GETDETAIL

these details are stored in <b>setnode</b> table

Regards

Raja

0 Kudos

yeah, that will give me cost centers according to group. but I have the cost center and I want the groups above it in the heirarchy.

I mean buttom up way... is that possible?

0 Kudos

Since you've marked this as solved, most people won't be looking at it. If you still need an answer, you should open a new thread.

Rob

0 Kudos

yes it is possible.

use table CSKS to get the immediate parent of the cost center. (CSKS-KHINR)

then use FM G_SET_GET_ALL_SUPERSETS to get all its parents.

Regards

Raja