You are on page 1of 73

What is LSMW?

The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.

Why LSMW ?
• Because no ABAP effort are required for the SAP data migration. • However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW. • This is very Important during the Implementation Project when Security people needs to create multiple users

Our Goal (From Security Perspective)
• To Create multiple Test Users in one go. • To Create multiple Test Roles • To Add multiple Organizational Level values in multiple roles • And many more….

To Create multiple users • Execute LSMW  Enter .Topic :.

Sub Project and Object by clicking on the Create icon and accordingly we need to fill in the required data.Test_Object  Description :. • For Example :• Project :.To Create Test Users • Sub Project :.Sub Project • Object :.Enter the required details • We need to create Project.LSMW  Description :.Test Object .Test Sub  Description :.

.

.

.

.

Goto  Recordings to start the Recording Enter .

Click on  Create Recordings .

Enter the Required data  For Example :Recording  LSMW1 Description  To Create Test Users . Click on Enter .

Enter the Transaction Name For Example  Su01 .

Test_Sec Password Role :.Enter the required details in the respective fields.Enter the Role Name Save . • • • • • • For Example :User :.Test_Sec Last Name :.

.

.

.

.Click on Save Click on Default All .

.

To download the file we need to click on List  Save Local File(save the file) .

Maintain Object Attributes  Execute .

Display  Change .

Select the Batch Input Recording Option .

.

.

Display Change

Enter the Name of the Source Structure and description For Example Source Structure :- LSMW2 Description :- Test Users . Then Save and Back

Maintain Source Fields  Execute

Display  Change .

Click  Table Maintenance .

.

Length 4. Description . Type 3. Field Name 2.Enter the :1.

Save .

Back Save .

Maintain Structure Relations Execute .

Display Change .

Save .

Maintain Field mapping and Conversion Rules Execute .

Display Change .

Click on BName Source Field .

Accordingly. select the Source Structure .

Save .

Translations.Maintain Fixed Values.User Defined Routines(Skip) .

txt format. .File Name • Copy the required fields in a notepad and save the file in a .

Specify Files  Execute .

Display  Change • Double click on the Legacy data On the PC (Frontend) .

Upload the File Change the Delimiter to tabulator .

Assign Files  Execute .

Display Change .

Save .

Read Data Execute .

Execute .

Back .

Display Read data Execute .

Continue .

Double click on any one of the row .

.

Convert Data Execute .

Execute .

Back .

Display Converted Data Execute .

Double click on any one of the row .

.

Create Batch Input Session  Execute .

Execute .

Continue .

Run Batch Input Session  Execute .

Select Test_Object and click on Process .

Result • The changes will be done for all the 3 users. .

.

.

Questions??? .

Thanks .