Professional Documents
Culture Documents
Steps To Create A Simple LSMW Using Batch Input Recording
Steps To Create A Simple LSMW Using Batch Input Recording
input recording
The LSM Workbench is an R/3-based tool that
supports you when transferring data from non-SAP
systems ("Legacy Systems") to R/3 once or
periodically.
The tool supports conversion of data of the legacy system in a convenient way. The data can then be imported into
the R/3 system via batch input, direct input, BAPIs or IDocs.
Furthermore, the LSM Workbench provides a recording function that allows to generate a "data migration object" in
an entry or change transaction
To start working with the LSM Workbench, use transaction LSMW:
Click on the create button to create new project, subproject and the object. As shown
below.
Project: An ID with a maximum of 10 characters to name your data transfer project. If you want to transfer data
from several legacy systems, you may create a project e.g. for every legacy system.
-
In the initial screen, All objects provides a list of all projects created already. My objects displays a list of all objects
you created personally. All objects of the project displays all objects of the selected project as tree structure. Project
documentation displays any documentation written for the individual popups and processing steps. you can print the
project documentation out, send it and save it in various file formats.
Click on the execute button once the project, subproject and the object are
created.
Click Back.Now record usingBatch Input RecordingData Migration - Step by Stepvia Batch Input Recording
Step 1: Maintain Object attributes
In this example, you will be updating the Material master records with the help of recording a transaction (MM01).
Choose radio buttonBatch Input Recordingand click on the recording overview icon to record the R/3 transaction.
Enter theRecordingname asMM01_REC2, the description asMM01 Recording method, and the transaction code
asMM01.
Click on Done.
Note that the fields are populated with default values. The values you entered when you recorded the transaction are
set by default.
*Double-click on the fieldRMMG1-MATNRand enter the name asMATNRand the description asMATERIAL
NUMBERand remove the default as shown below:
Repeat this step for all fields.Similarly, double-click on all other fields with default values and make appropriate
changes. Once you have made changes, the recording overview screen looks as shown below:
Click on SAVE to save the recording. The click on BACK icon to the main screen. Save the while going back to the
main screen.
After completing the recoding the system will automatically take you to the second step as shown below:
IMPORTANT
****The Structure of the flat file should be proper otherwise data will not be uploaded.. All the mandatory fields should
be present in the flat file for the required transaction
Step 8: Assign files
Execute step 'Assign Files' and the system automatically defaults the filename to the source structure.
After we execute the data read from the flat file is as shown
below.
You can Process the session in foreground or background or can only display errors.
Select the Processing Mode and then click on the PROCESS tab to executive the session.
After the session is completely processed you can confirm this by viewing the Material master records (MM03) or in
the table MARA.