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

Problem in LSMW.......

Former Member
0 Likes
492

Hi Friends,

I have problem in LSMW, yours help will be appreciated in this regard.

The problems is-

I have created a vendor using LSMW, now I supposed to expand this same vendor to multiple company codes.

Eg- Created vendor ‘abc’ using XK01 t-code, now I want to expand this ‘abc’ vendor to all the company codes ( about 26 company codes are there as per requirement). I supposed to do using LSMW. Could any had came across such the situation plz help me with your ideas. Exactly in which step I have to do coding and how can I do it for all company codes…all individual vendors.

Your ideas will be greatly appreciated.

Hi Friends,

I have problem in LSMW, yours help will be appreciated in this regard.

The problems is-

I have created a vendor using LSMW, now I supposed to expand this same vendor to multiple company codes.

Eg- Created vendor ‘abc’ using XK01 t-code, now I want to expand this ‘abc’ vendor to all the company codes ( about 26 company codes are there as per requirement). I supposed to do using LSMW. Could any had came across such the situation plz help me with your ideas. Exactly in which step I have to do coding and how can I do it for all company codes…all individual vendors.

Your ideas will be greatly appreciated.

2 REPLIES 2
Read only

Former Member
0 Likes
474

Hi ,

Try like this .

Make a constant for the vendor field . This can be done in the field mapping step .

select ur vendor field & click on the RULE button on the application tool bar .

there u will get a pop up screen . there u select the constant radio button & u

can assign the constant value for the vendor .after this, prepare a file wth ur

company codes & with other field details . after all this upload it . it will work

let me know if u have any concerns.

Reward points if it is helpful.

Thanks,

Manjunath MS

Read only

Former Member
0 Likes
474

Hi

This is easy do in LSMW.

Make a recording of the transaction XK01 to extend with reference and <b>ensure you identify the mandatory fields required in the various views</b>(tend to vary for each company / sales org). Create a spreadsheet with relevant fields and populate with data for all the company codes and sales org's required. Save the file as Tab Delimited file. Create the relevant source structure and fields and do the mapping. Assign the file (The tab delimitted file). Read and convert the file then create the batch job then run it.

Vendors extended.

Hope this helps

Dave