Application Development and Automation 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: 
Read only

Cost Center Groups

Former Member
0 Likes
964

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
Read only

Former Member
0 Likes
913

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

Rob

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

6 REPLIES 6
Read only

Former Member
0 Likes
913

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

Read only

Former Member
0 Likes
914

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

Rob

Read only

0 Likes
913

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

Read only

0 Likes
913

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

Rob

Read only

0 Likes
913

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

Read only

0 Likes
913

Seek and ye shall find

Rob