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

Loading Cost Center Groups

Former Member
0 Likes
824

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

Former Member
0 Likes
679

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

Former Member
0 Likes
680

Hi Manoj,

YOu have to use the bapi method for lsmw.

Use the bapi BAPI_COSTCENTERGROUP_CREATE for your requirement.

Regards,

ravi

Read only

0 Likes
679

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

Read only

0 Likes
679

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

Read only

0 Likes
679

Thanks very much Ravi.

Read only

0 Likes
679

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

my mail id is rohan_sap@yahoo.co.in