Start of Content Area

Process documentationMigration of Data with LSMW  Locate the document in its SAP Library structure


You can use the LSMW if the source structures are simple, like this for example:

This graphic is explained in the accompanying text

You can also use the LSMW if the legacy system has complex structures, like:

This graphic is explained in the accompanying text


A comparison of functions between the legacy system and the SAP system must have been carried out. The data to be migrated is determined from this comparison.

Process Flow

This graphic is explained in the accompanying text

LSMW supports a step-by-step procedure. On the List of steps screen, the next step is automatically displayed for each step.

The following basic steps are included in the LSMW:

1.       Maintaining Object Attributes Here, you define the project, subproject and the required (business) object. If a suitable SAP standard import program is not available, you can use the recording function to create a user-specific, new object.

2.       Maintaining Source Structures

3.       Maintaining Source Fields

4.       Maintaining Structure Relationships In these steps, you define the structures and fields of the project. These describe the transfer file and must have the same format in the export program. You then relate the structures and fields of the SAP system to those of the project.

5.       Maintaining Field Mapping and Conversion Rules

6.       Maintaining Fixed Values, Conversions and User-Defined Routines: Here, you define the conversion rules for processing project data. The system generates the conversion program from the structure and field relationships as well as the conversion rules.
You then perform Migration Customizing.
That is, you assign values to the fixed values and translation values and specify the definite variants for the conversion rules.

7.       Specifying Files

8.       Assigning Files

9.       Importing Data

10.   Displaying Imported Data

11.   Converting Data

12.   Displaying Converted Data

13.   Starting IDoc Generation

14.   Starting IDoc Processing

15.   Creating an IDoc Overview

16.   Start IDoc-Postprocessing: The converted data is transferred to the SAP system. The import technique or method has already been assigned to the object by selecting the object type in the first step.


The data from the legacy system has been imported into the SAP database. Any subsequent processes result from the type of datasets migrated.

Additional Information

For more details about migrating data with the LSMW, see:

Description of the Project

Definition of the Source Structures and Source Fields

Editing Field Assignments

Data Import

Special Case: Migration of Long Texts

Periodic Data Transfer


End of Content Area