LSMW Step-By-Step Guide
LSMW Step-By-Step Guide
Recording
Introduction
The Legacy System Migration Workbench (LSMW) is a instrument to transmit data from
legacy systems into an R/3 System. LSMW supports a step-by-step process; if one step
is executed and saved then next step automatically follows. Apart from formation of
project/ subproject/ object and recording, there are 14 basic steps included in LSMW.
This article explains clearly about each and every step.
Example, I am showing how to upload Personnel Data for an employee i.e. Infotype
0002 .
Go to LSMW
Recording:
Go to Transaction ‘PA30’
In Master data maintain screen, give Personnel No, infotype and subtype (if any), and
click on create
Select The fields in whioch you want to input the data.
We are clicking ‘Default all’ button, so that all the fields which we touched during
recording are included
Save and back to main Screen.
LSMW need to be configured 14 basic steps. Below you will find detailed step-by step
procedure.
Click On execute
Step 1: Maintain Object Attributes
Now, click on Display/ Change icon Here, we are telling system that what kind recording should take into
consideration while performing upload.
Select ‘Batch Input Recording’ and give name as shown below (Recording Name)
Save and Back.
Source structures are helpful in building hierarchical relationships. While uploading the data system always
checks highest level structure first before going for subordinate structure.
Here we assign all the fields which need to upload to source structure.
Click on change and then select the source field and then Table.
Note: exclude TABNAME and TCODE which are not required to maintain separately,
system will take these from recording we made.
Save and back.
Here we check whether structure relations between legacy and R/3 established or not.
In this step there is no need to change, just save and come back.
Save and Back.
Here we establish the relationship between legacy and R/3 based on object fields.
No need to maintain this step, unless and until if there exist any user defined routines, which helpful for
reusable.
Note: Generally we receive legacy file in excel format, so save this file as Text
Make sure you check box for ‘Keep batch input folder’ is active
Step 14: Run Batch Input Session
Here we run the batch input session which we created in step 13.