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

LSMW

Former Member
0 Likes
780

Hi everyone,

I am currently using LSMW to migrate Vendor master datas between 2 R/3 systems, from A to B.

I would like to know how can I download (it can be by copying colomn by colomn) the whole Vendor master datas which are found in A in order to upload it in B.

Because some of the datas are in LFA1 and others in LFB1 etc. In addition to that I don't have the same number of enteris amoung the tables.

Is there any table who gather the whole datas in one?

Kind regards,

Aklilu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
764

Hi,

use BAPI_VENDOR_GETDETAIL to get all the details of vendor and create the flat file in system A.

Then use this file as input to LSMW in system B.

Also, give a thought to ALE.

Regards,

Shashank

Hi everyone,

I am currently using LSMW to migrate Vendor master datas between 2 R/3 systems, from A to B.

I would like to know how can I download (it can be by copying colomn by colomn) the whole Vendor master datas which are found in A in order to upload it in B.

Because some of the datas are in LFA1 and others in LFB1 etc. In addition to that I don't have the same number of enteris amoung the tables.

Is there any table who gather the whole datas in one?

Kind regards,

Aklilu

5 REPLIES 5
Read only

Former Member
0 Likes
765

Hi,

use BAPI_VENDOR_GETDETAIL to get all the details of vendor and create the flat file in system A.

Then use this file as input to LSMW in system B.

Also, give a thought to ALE.

Regards,

Shashank

Read only

0 Likes
764

Hi,

First thank you for your help. But how can I get with this function modul the whole information because I have to put the company code and the vendor number for every entries.

In advance thank you.

Aklilu

Read only

0 Likes
764

Hi again,

I am trying also to display the whole info by doing BAPI transaction -> vendor -> getdetail -> tools but I can not find the datas.

Kind regards,

Aklilu

Read only

0 Likes
764

Hi,

write a simple program which downloads the data of vendors to flat file in system A.

You can use follwing logic.

Select * from LFA1 into table t_lfa1.

loop at t_lfa1.

call function 'BAPI_VENDOR_GETDETAIL'

and pass the parameters from t_lfa1.

fill some internal table with all vendor details say itab.

endloop.

call function 'GUI_DOWNLOAD'

and pass this internal table itab.

it will create the flat file.

use this flat file as input to LSMW in system B

Hope it helps..

Regards,

Shashank

Read only

0 Likes
764

Thanks.

Aklilu