You are on page 1of 29

LSMW

Legacy System Migration Workbench

Y.B.Raju

Mar 14th 2011


Objectives

Objectives

 What is LSMW

 Advantages & Features of LSMW

 How LSMW works?

 LSMW predefined Convention rules

 Process Steps in LSMW

 Data that can be Processed using LSMW

 Dos and Don’ts of LSMW

 Summary
Prerequisites

Targeted Audience / Trainees :

 SAP Technical and Functional Consultants

Technical Skills Required :

 Creating structures, tables.


 Proficiency in using SHDB recording, BAPI,
Idocs and Standard Program usage.
Data Migration
Tools For Data Migration
What is LSMW?

• Definition :

Migration workbench for initial and periodic data transfer from non-
SAP systems to an SAP system
Advantages & Features of LSMW

Advantages :
Transfer data objects instead of data base tables

 Reusable Mapping

 Ensure data consistency

Features:
 Integrated Transaction Recorder

 Consistency check against the customizing

 Support of the below SAP standard import techniques:


 Batch Input programs (including own recordings)
 Direct Input programs
 BAPIs
 IDocs
Convert Data with LSMW
Convert Data with LSMW in Detail
Convert Data with LSMW : Program Generation
Working Process of LSMW : Technical Point of view
LSMW Predefined Conversion Rules
Process Steps in LSMW
Different Kinds of Data that can be read

 Data from spreadsheet-based applications

 Any data from flat files

 Text files, csf-files, csv-files etc.

 Data from host systems on SAP application servers

 Fixed record length, end of record indicator or hexadecimal length field at the beginning
With and without separator

 Différent non-Unicode code pages, Unicode

 Hierarchical data in multiple files (relational structures, tables from relational data bases)

 Hierarchical data in one flat file with “identifying field values”


Ways of Migrating data via LSMW

 Standard Batch Input, Standard Direct Input


 Precondition: Application program given
 Entries in SXDA* tables

 Batch Input Recording


 Recording a transaction
 Flat target structure (no header-position constellations with variable amount of
positions)

 Methods for Business Objects (BAPI)


 All BAPIs for which an ALE-IDoc interface has been generated and released
(by SAP development)
 All BAPIs for which an ALE-IDoc interface is generated and released by
customer (using transaction BDBG)

 IDocs
 All released IDocs
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW

Create source field name for all the fields as


mentioned above.
Vendor Master data uploading using LSMW

Once we create source field name for


all the selected fields, Finally the
structure visible as shown in first
screen.
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW
Vendor Master data uploading using LSMW

Now run the session to upload the


data.
What LSMW cannot Do

 Extract data from the legacy system

 “Outbound”: Transfer data from SAP into another system

 Work with XML-files


LSMW Exercise

 Use LSMW for MK01 and MM01 using recording


option.
Summary

Topics Covered

 What is LSMW

 Advantages & Features of LSMW

 How LSMW works?

 LSMW predefined Convention rules

 Process Steps in LSMW

 Data that can be Processed using LSMW

 Dos and Don’ts of LSMW


Questions
Thank You

You might also like