SAP LSMW is a tool provided by SAP for migration of data. Basically with the help of this tool data can be transferred to SAP once or periodically. LSMW can be used by Technical as well as Functional consultants. SAP has specifically designed this tool to make data transfer process easy and convenient and also to help Functional Consultants to transfer the data without getting into much technicalities. LSMW has built in functionality that takes the load off the programmer in transferring the data periodically or for doing a one time Data Migration. For example it does a check of Data to be migrated against the settings in the customization, this is carried out after the data migration but before updating the database. The LSMW tool has functionality for mapping the data ie Data coming from the Legacy System format to SAP Format.
Transaction used LSMW.
The following Methods are supported by LSMW.
Batch Input Direct Input IDOC BAPI
For carrying out the data transfer using LSMW following Steps need to be taken
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.