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: 

Loading Cost Center Groups

Former Member
0 Kudos

Has any one loaded cost center groups with heirarchies using LSMW ? I have an excel spreadsheet listing cost center groups with heirarchy levels. This sheet is to be used as input file for LSMW. What is teh best way to handle this project ?

Thanks in advance

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

Hi Manoj,

YOu have to use the bapi method for lsmw.

Use the bapi BAPI_COSTCENTERGROUP_CREATE for your requirement.

Regards,

ravi

5 REPLIES 5

former_member181962
Active Contributor
0 Kudos

Hi Manoj,

YOu have to use the bapi method for lsmw.

Use the bapi BAPI_COSTCENTERGROUP_CREATE for your requirement.

Regards,

ravi

0 Kudos

Thanks Ravi for your prompt response.

Does this BAPI create the lower heirarchies also ?

I will need to create all the nodes in the heirarchy and I have more than 3 heirarchy levels for every group listed in the spreadsheet.

Manoj

0 Kudos

HI manoj,

It think it is possible to have lower level hierarchies as well.

You have to use the tables parameters:

HIERARCHYNODES

HIERARCHYVALUES

of the bapi.

See the bapi documentation for more info.

Regards,

ravi

0 Kudos

Thanks very much Ravi.

0 Kudos

can any one forward me snapshot of uploading data into cost center (lsmw)

my mail id is rohan_sap@yahoo.co.in