SAP - Legacy System Migration Workbench
SAP - Legacy System Migration Workbench
2023
LSMW
Summary
1.Go to transaction LSMW
2.Create Project
3.Create ‘Subproject’
4.Select the first step “Maintain Object Attributes” and click on “Execute”
9.Specify files
10.Assign Files
11.Read Data
13.Convert Data
Conclusion
Page | 1
Training Document 01.02.2023
LSMW is a standard tool provided by SAP. Normally, LSMW is used for data migration. But in
some case that we have to create/update huge volume of data, LSMW is the good choice as
well.
Standard Batch/Direct Input is a program provided by SAP. To use this method, you have to
know object, method and program name (SAP required to enter these parameters before start
execution).
Moreover, you have to create structure as SAP required. The advantages of this method are:
1- You can create/update data in the same time.
2- You can update many record of sub-information in the same time such as
create/update/delete bank information in vendor master.
3- You can post document with many line items. Each document doesn’t need to have the same
no. of line item.
This method also have disadvantage that you may take much more time to create structure and
read document before starting.
Page | 2
Training Document 01.02.2023
1. Go to transaction LSMW.
2. Create Project:
➔ Click on “Continue”.
3. Create ‘Subproject’:
Page | 3
Training Document 01.02.2023
➔ Click on Continue.
Page | 4
Training Document 01.02.2023
4. Select the first step “Maintain Object Attributes” and click on “Execute”.
Here mention object and method in standard batch/Direct input radio button and press enter, it will give
standard program name . SAVE and go back.
Page | 5
Training Document 01.02.2023
Page | 6
Training Document 01.02.2023
Place cursor on structure name and click on
Here mention the what ever fields we require and flat file should be in the same structure .
Page | 7
Training Document 01.02.2023
Here to maintain structure relations click on BGR00 and ‘click relation ship’ as shown in above screen
shot it will assigned to structure. Repeat this for all required relations in that screen.
Nothing should be done in this step .(we will go for this step rarely).
9. specify files:
Here to specify files take file from legacy data ( on the pc front end ) .
click on legacy data and click create button. And browse for your flat file on your pc . (create flat file for
your structure in second step.). here in imported data it will take only 45 characters .
Page | 8
Training Document 01.02.2023
10. Assign Files
➔ To assign files click cursor on structure and click assignment .it will assign to file .
Page | 9
Training Document 01.02.2023
13. Convert Data
In this step, system will let you create batch session. You just follow the standard parameter by press
execute button only.
This is the last step that leads you to the new screen for running batch session. It’s the same screen as
SM35. You just select your batch session and press <process button> as usual.
Conclusion
Check result to make sure that all data is updated by using LSMW.
Page | 10