LSMW – Legacy system Migration Workbench (2024)

LSMW – Legacy system Migration Workbench

LSMW: stands for Legacy System Migration Workbench

The tool is primarily intended for the one-time or periodic transfer of data from external systems (legacy systems) to an SAP system. Thus, it plays a role in particular when switching from third-party systems to SAP products.

The core functions of the SAP Legacy System Migration Workbench are:

  • Importing Data from Non-SAP Systems
  • Conversion of data from source format to SAP format.
  • Import of converted data (including consistency check)

Although the name refers to the migration of legacy data, SAP LSMW provides additional functions for creating and changing master data, transaction data, and Customizing data. From a technical point of view, the following options are available:

  • Batch input: Create (record) and transfer sessions by running transactions.
  • Direct input: direct transfer of data to SAP database tables
  • BAPI: Data transfer via interface
  • IDoc: Data Transfer via Standardized Electronic Messages

LSMW – Legacy system Migration Workbench (1)

The data that can be migrated with the SAP Legacy System Migration Workbench:

LSMW already enables the transfer of numerous master data and transaction data in the standard system. These include G/L accounts, customer master data, supplier master data, material master data and bills of materials. Of course, it is also possible to transfer documents such as orders, purchase orders or posting documents from financial accounting.

Additional data objects can be migrated by recording transactions if the transaction is suitable for the batch input method. This method can also be used for mass deletion of data.

Application of SAP LSMW with Batch Input:

Put simply, the batch input concept simulates the input of data by a human user. To do this, batch input sessions are first created, which contain both the necessary transaction codes (input screens) and the data to be entered. If the data originates from a non-SAP system, it must first be formatted to conform to the SAP input formats.

Select the Batch Input Recording and click on the overview.

LSMW – Legacy system Migration Workbench (2)

LSMW – Legacy system Migration Workbench (3)

LSMW – Legacy system Migration Workbench (4)

The system takes to the Material Master creation screen and records the data what we are entering.

Click on the Default all field the field names will appear automatically.

LSMW – Legacy system Migration Workbench (5)

LSMW – Legacy system Migration Workbench (6)

LSMW – Legacy system Migration Workbench (7)

LSMW – Legacy system Migration Workbench (8)

By Maintaining the Record name in the Recording field click on the save button.

The system Picks the field names automatically by recording while creating Material Master.

LSMW – Legacy system Migration Workbench (9)

Application of SAP LSMW with Direct Input:

In contrast to batch input, no sessions are generated with the direct input procedure. The data is updated directly. This means that no screens are run through. Instead, the data is written directly to the target database tables. If errors occur, a restart function can be used. Direct inputs can only be processed in the background to ensure that this is effective.

Direct input is particularly suitable for very large amounts of data, since it offers considerably better performance than batch input. SAP function modules are also available here for consistency checks.

LSMW – Legacy system Migration Workbench (10)

We have to Manually enter the field names in XL Sheet or Notepad.

LSMW – Legacy system Migration Workbench (11)

The benefits of SAP LSMW are:

  1. The main advantage lies in the considerable reduction of the time and cost involved in data migrations.
  2. Additional simplifications are provided by the reusability of data mapping and conversion rules.
  3. Another positive aspect is that migration can be carried out without programming.
  4. Special knowledge (e.g., ABAP) is only required if very specific steps are to be mapped. Users are guided intuitively through the migration process by a clear sequence of steps.
  5. Another advantage is that LSMW ensures a high level of data quality and consistency through import checks. If the procedure is correct, serious damage to the existing SAP database caused by incorrect imports can be almost ruled out.

Process Flow:

Enter the Transaction Code – LSMW in the Command Field

LSMW – Legacy system Migration Workbench (12)

The Initial screen may appear like this Enter the Project name and click on Create Entry.

LSMW – Legacy system Migration Workbench (13)

By Maintaining the data click the Enter or the Check box which shown in the below with the Tickmark.

LSMW – Legacy system Migration Workbench (14)

By Maintaining the data click on the Execute button.

LSMW – Legacy system Migration Workbench (15)

In these some fields are optional and some fields will be automatically assigned.

LSMW – Legacy system Migration Workbench (16)

LSMW – Legacy system Migration Workbench (17)

Select the line Define Object Attributes and Click on the Execute.

LSMW – Legacy system Migration Workbench (18)

It will be always in display mode we have to change to change mode manually by clicking on Display <–> Change tab.

LSMW – Legacy system Migration Workbench (19)

Here I’m creating the Materials by using Batch Input Recording.

LSMW – Legacy system Migration Workbench (20)

Select the Batch input Recording and click on the overview.

Click on Create Recording.

LSMW – Legacy system Migration Workbench (21)

By Maintaining the data click the Enter or the Check box which shown in the below with the Tickmark.

LSMW – Legacy system Migration Workbench (22)

The system asks to enter the Transaction Code. Enter MM01.

LSMW – Legacy system Migration Workbench (23)

The system takes to the Material Master creation screen and records the data what we are entering.

LSMW – Legacy system Migration Workbench (24)

After Maintaining the data click on save the system screen appears like this.

LSMW – Legacy system Migration Workbench (25)

Click on the Default All the system shows the Field names what we maintain in the creation of Material Master.

LSMW – Legacy system Migration Workbench (26)

Click on back button

LSMW – Legacy system Migration Workbench (27)

Click on again the back button.

By Maintaining the Record in the field click on the save button.

LSMW – Legacy system Migration Workbench (28)

Some fields will disappear automatically.

Click on the object overview

LSMW – Legacy system Migration Workbench (29)

Next click on the Tabe,

LSMW – Legacy system Migration Workbench (30)

Here the system shows the fields that we can maintain in the Creation of Material Master.

LSMW – Legacy system Migration Workbench (31)

Select the line Define Source structures and click on Execute

LSMW – Legacy system Migration Workbench (32)

By clicking on the new entry, we can Maintain the source Structure. By Entering the data click on Enter button.

LSMW – Legacy system Migration Workbench (33)

Click on the save button.

LSMW – Legacy system Migration Workbench (34)


Select the line Define Source fields and click on Execute

LSMW – Legacy system Migration Workbench (35)

Select the field and click on the Table Maintenance

LSMW – Legacy system Migration Workbench (36)

Enter the Required data and click on the save button and click on the back button.

LSMW – Legacy system Migration Workbench (37)

The fields are assigned to the Source structure by checking the data click on save.

LSMW – Legacy system Migration Workbench (38)

Select the line Define Structure Relations and click on Execute.

LSMW – Legacy system Migration Workbench (39)

The system automatically assigns the source structure to Recording which is created in the batch input Recording.

LSMW – Legacy system Migration Workbench (40)

Select the line Define Field Mapping and Conversion Rules and click on Execute

LSMW – Legacy system Migration Workbench (41)

Select the field and Goto Extras in the header and click on the Auto field Mapping.

LSMW – Legacy system Migration Workbench (42)

By clicking on the Auto field Mapping the screen will open, don’t change any data and click on enter.

LSMW – Legacy system Migration Workbench (43)

By clicking on Enter another screen will be open

Keep clicking on enter until the system shows the process is done.

LSMW – Legacy system Migration Workbench (44)

By checking the data click on the save button

LSMW – Legacy system Migration Workbench (45)

Select the line Specify Files and click on Execute.

LSMW – Legacy system Migration Workbench (46)

Place the cursor on legacy data and click on Add Entry

LSMW – Legacy system Migration Workbench (47)

Upload the file which maintained in the Notepad

Select the Tabulator if we maintained data in the Notepad

If We maintained data in XL sheet, select comma tab

Tick the checkbox Field Names at Start of file if we maintain the fields data first.

By Maintaining the data click on Enter

LSMW – Legacy system Migration Workbench (48)

The file is successfully uploaded, By checking the data click on save.

LSMW – Legacy system Migration Workbench (49)

Select the line Assign files and click on the Execute

LSMW – Legacy system Migration Workbench (50)

The system automatically assigns the file to the source Structure.

LSMW – Legacy system Migration Workbench (51)

Select line Read Data and Click on Execute button.

LSMW – Legacy system Migration Workbench (52)

The screen will appear like this click on the Execute the system asks to allow or deny the further step. Click on the allow the system picks the data from file that we assigned. In the file we maintain the data for 3 Materials.

LSMW – Legacy system Migration Workbench (53)

LSMW – Legacy system Migration Workbench (54)

Select the line Display Read data and click on Execute button.

LSMW – Legacy system Migration Workbench (55)

Click on the Enter or the Tickmark which is shown below.

LSMW – Legacy system Migration Workbench (56)

LSMW – Legacy system Migration Workbench (57)

Select the line Convert data and click on the Execute button.

LSMW – Legacy system Migration Workbench (58)

The screen will Appears like this click on the Execute button.

LSMW – Legacy system Migration Workbench (59)

LSMW – Legacy system Migration Workbench (60)

Select the line Display Converted Data and click on Execute.

LSMW – Legacy system Migration Workbench (61)

Click the Enter button or Tickmark checkbox which is shown in the below

LSMW – Legacy system Migration Workbench (62)

This is the last step if you want to make any changes to the data. Double click on the line item or select the line item and click on the field contents to see the full details.

LSMW – Legacy system Migration Workbench (63)

LSMW – Legacy system Migration Workbench (64)

Select the line Create Batch Input Section and click on the Execute button.

LSMW – Legacy system Migration Workbench (65)

Select the Keep batch input folder check box and click on Execute.

LSMW – Legacy system Migration Workbench (66)

Under 1 batch 3 transactions are created.

LSMW – Legacy system Migration Workbench (67)

Select the line Run Batch Input Session and click on the Execute button

LSMW – Legacy system Migration Workbench (68)

Select the line item and click on Process the system will open the screen

LSMW – Legacy system Migration Workbench (69)

Proces/Foreground:

If we select this indicator, the process will be done in frond end

Display Errors only:

If we select this indicator, the system directly shows if the data contains any errors.

Background:

If we select this indicator, the whole process will be done in the background.

  • Here I am selecting the Process/Foreground indicator I.e., the process will be the front end.
  • By selecting the required check box (Extended log and Expert mode) click on the process.

LSMW – Legacy system Migration Workbench (70)

Keep Pressing on Enter

LSMW – Legacy system Migration Workbench (71)

LSMW – Legacy system Migration Workbench (72)

LSMW – Legacy system Migration Workbench (73)

LSMW – Legacy system Migration Workbench (74)

LSMW – Legacy system Migration Workbench (75)

LSMW – Legacy system Migration Workbench (76)

LSMW – Legacy system Migration Workbench (77)

LSMW – Legacy system Migration Workbench (78)

LSMW – Legacy system Migration Workbench (79)

After Completing of creation materials, the system shows the pop-up message that Processing of batch input session completed.

Click on the session overview field which is shown below.

LSMW – Legacy system Migration Workbench (80)

The three transactions are successfully completed.

LSMW – Legacy system Migration Workbench (81)

Now Goto the MM60 to check the materials.

LSMW – Legacy system Migration Workbench (82)

LSMW – Legacy system Migration Workbench (2024)

References

Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 5444

Rating: 5 / 5 (70 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.