You are on page 1of 16

01.04.

2008

LSMW
(Legacy System Migration Workbench)
Go to transaction LSMW
Click on create entry >> enter project >> subproject >> object >> execute.

Execute and following 20 steps will appear

1.
Click

2.
Execute

1. Select batch
input Record.
2. Select
overview

Click on create
recording.

Put recording
detail

Put transaction

Actual transaction is opened, then put actual sample data with out selection / clicking F4
or any other key.
Enter all data as you put while doing transaction.
Save and following screen will appear:

Click on
default All tab

Save >> go back >> go back >>.

Click the F4 tab, it


will automatically
assign.

Then save >> back, automatically shift to second step. Now 20 steps reduced to 14 steps.

Click on Object
Overview tab

Click on table.

Fields you need will be displayed.

Go to system>>list >> save >> local file >> spread sheet >> save on desk top

Template file is saved on desk top, just copy entire file to other excel file and save.

In Type field
except first two
make all as C

Copy all fields below first


two and special paste
transpose to other sheet

This is excel setting, just copy the field names except TABNAME and TCODE, and go to
second sheet >> right click >>paste special >> transpose.
If you want also transpose the field description in other sheet, this you have to give to the
user for filling the Template. Will look like this as shown below:

This is in the same file but second sheet only.


Since quality plan LSMW is more difficult, other taken, process same.

Give this Template to the user for filling the master data, ex. Third line is master data
below:

Copy the data from excel file except top line, i.e. field name. 2nd line field and data to be
copied and paste in note pad as txt document.

Go to LSMW automatically it will be 2nd stage. >> Execute >>

Create a
structure by
clicking this

Save and go Back, you will go to 3rd step.

Execute go to source fields select Table Maintenance button

Select table
maintenance tab.

You will go to source fields for source structure.


Put Field name, type and length by copying from excel sheet, as follows:

SAVE >> BACK >> SAVE >> BACK


You will go to step 4 as below:

Execute >> save >> back >> will go to step 5

Execute >> select source structure (MAIC) >> Extras >> Auto field mapping

In field match field with same no. just change from 50 >>> 100

Then just keep on pressing Enter for the same no. of times that of no of
fields.

Just save and go back >> will go to sixth step which is not required, go to 7th step
Specify files.

Execute >> select first potion legacy data on PC >>

Select the
legacy data on
PC and add
entry tab.

In the next screen assign text file on desk top, write name, select tabulator tab and file
names at start of the file tab. As per following screen shot:

Enter >> Save >> Back >> will go to 8th step.

Execute >> save >> back >> will go to ninth step Read Data

Just for testing put 1 transaction.


Execute >> back >> will go to 10th step. >> execute check and go back >> will go to step
11 (convert data)
Execute >> do not put any thing again >> execute.

Go back > will go to step 12 >> execute check >> go back >> will go to step 13
At step 13 execute twice and click enter

Will go to step 14

Select the process and select process.

Again press process tab.


Data will be loaded like in BDC, have to select foreground to see actual entry, otherwise
you can select display errors only.

Press exit batch input after process is completed.

You might also like