Agenda
Introduction LSMW
Step-1: Opening the Legacy System Migration Workbench
Step 2: Create Recording
Step 3: Maintain Object Attributes (Assign recording)
Step 4: Maintain Source Structures
Step 5: Maintain Source Fields
Step 6: Maintain Structure Relations
Step 7: Maintain Field Mapping and Conversion Rules
Step 8: Specify Files
Step 9: Assign Files
Step 10: Read Data
Step 11: Display Read Data
Step 12: Convert Data
Step 13: Display Converted Data
Step 14: Create Batch Input Session
Step 15: Run Batch Input Session
Type the transaction LSMW in the command field. Fill in the fields with the appropriate
information - Project, Subproject, and Object name.
Click on the
Object.
create icon and enter in the description(s) for your Project / Subproject /
Click on the
enter icon.
Click on the
execute icon.
Create Recording
Click on the
Click on the
enter icon
enter icon.
Click on the
Click on the
enter icon.
enter icon.
save icon.
Click on
Click on the
recording.
icon to delete field(s) that you did not enter during the
Click
Click on
to save file.
back icon.
execute icon.
Click on
icon to change mode. Select the Batch Input Recording and
enter in the recording you just created. Save and go back.
Step 4:
Notice that the radio button has automatically moved to the next step Maintain source
structures. Each time you perform a transaction the radio button moves to the next step
automatically.
Also notice on the extreme right hand side under the column Last action (date, time, and
user). This is updated with information each time the transaction is performed
Maintain Source Structures should already be selected as the next step. Click on
execute icon.
Click on
new icon.
save icon.
Maintain Source Fields should already be selected as the next step. Click on
Click on
icon.
execute.
table maintenance
All the fields shown in column J needs to be mapped and copy & paste all these fields from
excel.
Updates all field names, types (Character, alphanumeric, Numeric) and the length of the
fields.
Click on
back icon.
Click on
back icon.
Maintain Structure Relations should already be selected as the next step. Click on
execute.
Go to
save. Go back
Maintain Field Mapping and Conversion Rules should already be selected as the next step.
Click on
execute.
Switch to change mode. Select Auto Field Mapping in the Extras menu if you have kept the
variable names similar.
If all fields do not map automatically, you will have to manually map them. Place your field
on the unmapped field and click on the Create Source field icon. Select the appropriate
field from the list.
Click on
enter icon.
Click on
back icon.
Specify Files
execute.
Switch to change mode. My data is stored on my PC so I have highlighted the first option.
Click on create. The file location and name are defined here. Also, the Field Names at Start
of File box is checked and Tabulator is selected for Delimiter.
Click
Click on
back icon.
Assign Files
execute.
The assigned file will have the same path as defined in the previous step Specify file. You
can change this or leave it as it. Save and go back.
Click on
back icon.
Read Data
execute.
This will read your data file based on the attributes defined during the Specify Files step
and the path defined in Assign Files. Make sure your file already exists and click on
execute.
Click on
Go back.
Display Read Data should already be selected as the next step. This is an optional step.
Click on execute.
You can choose what lines you want to read and click on ok. If you have a large file and
only want to read a subset of lines first to test the LSMW, you can specify those lines here.
Convert Data
Convert Data should already be selected as the next step. Click on and execute.
Click on execute again to start the conversion. Here you can also limit a subset of the file
to convert if needed by entering in the transaction number.
Display Converted Data should already be selected as the next step. Click on and execute.
You can choose what lines you want to read and click on ok.
A list of your data is shown. For a closer look double click on the line of your choice.
Create Batch Input Session should already be selected as the next step. Click on execute.
This option creates a batch input session so you can run it in the background. You can
select the Keep batch input folder(s)? to save the job after it has finished running. Click
on execute.
Run Batch Input Session should already be selected as the next step. Click on and execute.
Select the batch job that was created in the previous step. Click Process. Continue to
process the batch job as you normally would.
That completes your LSMW. Your objects should now be created with the validity dates
provided.