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: 

FM which give cost center group by taking cost center

Former Member
0 Kudos

Hi Guru,

Is their any function module, which will take Cost center as input and cost center group as output

Thank in advance

Pavan

1 ACCEPTED SOLUTION

GauthamV
Active Contributor
0 Kudos

Use this.

BAPI_COSTCENTERGROUP_GETDETAIL

3 REPLIES 3

GauthamV
Active Contributor
0 Kudos

Use this.

BAPI_COSTCENTERGROUP_GETDETAIL

Former Member
0 Kudos

Hi Gautham,

Thanks for your quick response, but the bapi is taking Group name as input.

i have only cost center and FM has to return me the Cost center group name.

Thanks in advance

Pavan

GauthamV
Active Contributor
0 Kudos

Look at last reply from raja in this thread , it will solve your problem.

[FM to get cost center group from cost center|https://forums.sdn.sap.com/click.jspa?searchID=24371882&messageID=922188]