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 Groups

Former Member
0 Kudos

I need to get the details of a cost center group (as well as a cost element group). If I got to tcode OB13, I can view the groups. However, if I use BAPI BAPI_COSTELEMENTGRP_GETDETAIL it doesn't recognize the group. I assume that it is expecting an "internal number" rather than what is displayed in OB13. Can anybody shed some light on this for me?

Regards,

Davis

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I had no trouble getting cost element groups back using the name.

Rob

6 REPLIES 6

Former Member
0 Kudos

Check the program RGS_DXTEST_CE. May be it can help u.

Former Member
0 Kudos

I had no trouble getting cost element groups back using the name.

Rob

0 Kudos

I'm sorry, I mean tcode ksh3. If you run that, enter a controlling area, then the group. If I input that group name into the BAPI it won't return anything.

I have tried looking at the sample program but it doesn't help me get the technical name.

Regards,

Davis

0 Kudos

The bapi would appear to be for cost element groups, not cost center groups.

Rob

0 Kudos

Oh shoot, you are right. Is there one for cost center groups that you know of?

Regards,

Davis

I found it: BAPI_COSTCENTERGROUP_GETDETAIL

thanks for your help!

Edited by: Davis on Oct 16, 2008 11:29 AM

0 Kudos

Seek and ye shall find

Rob