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: 

Bapi for KSH2

Former Member
0 Kudos
796

Hi, I need to insert cost centers into Cost Center Groups, using a BAPI.

BAPI_COSTCENTERGROUP_CREATE,

will not let me work with the standard hierarchy.

Does anybody know a BAPI or other function that I can use?

Thanks

4 REPLIES 4

Former Member
0 Kudos
197

Try:

BAPI_COSTCENTERGROUP_ADDNODE

Rob

Former Member
0 Kudos
197

Hi, thanks, but I tried this bapi before the one I mentioned.

BAPI_COSTCENTERGROUP_ADDNODE will only let you add Cost Center Groups. It has no option for adding Cost Centers.

Thanks anyway for your reply,

0 Kudos
197

Sorry - I thought that was you were asking.

Don't know about this, but look at BAPI_BUSPROCESSCOGRP_CREATE or other FMs in this function group.

Rob

Former Member
0 Kudos
197

Hi Rob, thanks again. I checked this BAPI, it is one of the functions within the same group as BAPI_COSTCENTERGROUP_CREATE. Only that the one you mention is for business process groups.

Within this function group the logical function to use for what I need is BAPI_COSTCENTERGROUP_CREATE, but as I said at the beginning, it will not let me do any changes to the standard hierarchy.

Regards,

Oscar