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: 

List of cost centers from cost center groups

Former Member
0 Kudos

Hello All,

I have a requirement to get the list of cost centers from given cost center groups.

I presume this hierarchy was not maintained in any of the transparent table.

Looks like they are maintained as sets in setnode and setheader tables.

Can some one throw light on this to get more clarity on how to use these tables to get the list of cost centers?

I do have similar issue to find out list of profit centers from profit center groups.

Thanks

Jay.

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi,

Use function module BAPI_COSTCENTER_GETLIST to get the result. Pass the cost center group to parameter costcentergroup.

4 REPLIES 4

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi,

Use function module BAPI_COSTCENTER_GETLIST to get the result. Pass the cost center group to parameter costcentergroup.

0 Kudos

Hi

Gr8 answer.

Thanks.. Just a small change. I used this Fm K_COSTCTR_BAPI_GETLIST which is called inside BAPI.

Jay

0 Kudos

Hi,

Any idea on profit center part...

How to get list of profit centers from profit center group other than kch3.

Thanks

Jay

0 Kudos

When a bapi is readily available please try to use it . May be fm you mentioned is not released for customer usage.Please check it.