Skip to end of metadata
Go to start of metadata

LSMW - Legacy System Migration Workbench


This page will briefy discuse LSMW and its steps involved.


LSMW is abbreviation used for legacy system migration workbench. It's an tool that supports the transfer of data from non-SAP systems (Legacy Systems) to SAP R/3 systems.

It's a collection of projects (SAP). Project is a collection of subprojects. Subproject is a collection of objects.

The tranfer frequency can be:

  • One-time
  • Periodic

It can be used for import of data or conversion of data.



Steps Activity

Steps Activity Description

Step 1.

Maintain Object Attributes

In this step we assign transaction code for the LSMW using a records object.

Step 2.

Maintain Source Structures

In this step we need to define an internal table for getting data from flat files into SAP application.

Step 3.

Maintain Source Files

In this step we need to add fields for the structure created in Step 2.

Step 4.

Maintain Structure Relations

In this step SAP generates a relation between the created internal table (ITAB) and the recording object

Step 5.

Maintain Field Mapping & Conversion Rules

In this step we need to generate the relationship between the internal table and recording object field.

Step 6.

Maintain Field Values

This is optional step for LSMW. We can use the SAP generated default values.

Step 7.

Specify Files

In this step we specify the file to be extracted for BDC processing using LSMW.

Step 8.

Assign Files

In this step SAP generates the relation between the Flat File assigned in Step7 and internal table defined in Step 2.

Step 9.

Import Data

In this step SAP Reads the data from assigned file into ITAB (internal table) internally SAP creates a file with extension as ...........

Step 10.

Display Import Data

Data in ITAB will be displayed as Report in this step. Report data will be in yellow color as data is in between source and recording objects.

Step 11.

Convert Data

In this step data will move from table to recording object. Internally SAP transfers the data from "LSMW.Read" file into "LSMW.Conv:. Data in this file is ready for populating data into BDC session object.

Step 12.

Display Converted Data

Data in Recording object will be displayed as report in this step. Here Report should be in green color.

Step 13.

Create Batch Input Session

Based on Recording object data SAP creates a session object and transfers the data into the session object.

Step 14.

Run Batch Input Session

Opens "SM35" transaction Code to Process BDC session object.