What is LSMW in SAP?

What is LSMW in SAP? The full form of LSMW is Legacy System Migration Workbench. As the name specifies it’s a tool in SAP for migrating the legacy data to SAP system. LSMW is the transaction code used to start.

Commonly used importing technology in LSMW are

1), Direct Input method

2), Batch Input Recording

3), BAPI Method

4), IDOC method

In this tutorial we describes about the steps involved in creating an LSMW project for migrating the legacy data.

In LSMW we are doing the things in a step by step procedure and the next step screen will be automatically displayed after very step. Here are the steps involved in LSMW.

 LSMW in SAP (Legacy System Migration Workbench)

Here is the screen shot of LSMW initial screen.

Step 1: Maintaining Object Attributes

Here we are specifying about the project, subproject, object and importing technology (like batch input, IDOC etc.)

  • Choose maintain object attribute from the LSMW steps screen
  • Choose Change
  • Specify the Object
  • Specify the nature of data transfer that one time or periodic.
  • Select the object type and import technique.

SAP-LSMW

Step 2: Maintaining the source structures

Here we define the structure of source.

  1. Choose maintain the source structure from the LSMW steps screen
  2. Choose Change
  3. Point your mouse on Source Structures
  4. Choose Create Structure
  5. Enter the name and description for the structure
  6. Choose Continue

Step 3: Maintaining Source Fields

After the creation of structure in step 2, in this step we are going to define each field in that structure.

  1. Choose maintain source fields from the LSMW steps screen
  2. Choose Change
  3. Point your mouse on the Source Structure where we are going to add fields.
  4. Choose Create Field.
  5. Enter the field name, text, length and type
  6. Choose Continue

Step 4: Maintaining Structure Relationship

Here we specify the relationship between the SAP structures and the source structures created in step 2.

  • Choose maintain structure relationship from the LSMW steps screen
  • Choose Change
  • Point your mouse on the SAP structure ID.
  • Choose Relationship.
  • Point your mouse on the corresponding source structure.
  • Choose Continue
  • Choose check for finding any errors in relationship.

Also See : How to Upload Transactional Data Into SAP System

Step 5: Maintaining Field mapping and Conversion Rules

The mapping between SAP structure fields and source structure fields, and conversion rule is specifying in this step. Instead of manual mapping, auto field mapping option is also available.

  • Choose maintain field mapping and conversion rule from the LSMW steps screen
  • Choose Change
  • Choose extras -> auto field mapping
  • Choose the appropriate options

Step 6: Maintaining Fixed Values, Conversions and User-Defined Routines

  • Specifying the conversion rules for processing data. Here we specify the fixed values etc.
  • Choose maintain field mapping and conversion rule from the LSMW steps screen
  • Point the mouse on the field where we want to add rule
  • Choose insert rule
  • The rules list will display. Select the rule.
  • Set the indicator
  • Choose Continue
  • The normal available rules are
  • Initial
  • Constant
  • Transfer (MOVE)
  • Fixed Value (Reusable)
  • Translation (reusable)
  • Prefix
  • Suffix
  • Concatenation
  • Left trim
  • ABAP coding
  • User-defined routine

Step 7: Specifying files

In this step we will specify the files used for the migration.

Choose specifying the files from the LSMW steps screen

Enter file name, description and other settings


Step 8: Assigning files

Here we assign the specified files to the corresponding source structure.

  • Choose Assign files from the LSMW steps screen
  • Choose change
  • Point the mouse on a structure
  • Choose Assign file
  • Select the corresponding file
  • Press Continue

Step 9: Importing Data

In this step press execute to read the data from source.

Step 10: Displaying Imported Data

In this step choose continue to display the data that has been read.

Step 11: Converting Data

In this step choose execute to transfer the read to the file of converted data.

Step 12: Display Converted Data

In this step choose execute to display the converted data.

Depending on the importing technology specifies in step 1. The next steps may have.

Step 13: Create batch input session

Step 14: Run batch Input Session.

OR

Step 13: Starting IDOC generation

Step 14: Starting IDOC processing

Step 15: Create an IDOC overview

Step 16: Start IDOC post processing

Also See: How to Manage Permissions Roles To SAP Users?

Recommended Reading For You

  • How to Lock all the Users in SAP System?How to Lock all the Users in SAP System?Lock all the Users in SAP System: Making user changes one-at-a-time can be extremely time consuming. SAP has provided mass change transaction to help making many user changes.  The mass […]
  • The Steps to Upgrade SAP Support PackageThe Steps to Upgrade SAP Support PackageHope sometimes we need to update our SAP Support Package for bug fixing or regular maintenance.If we  check our current SAP Support Package Level from transaction SPAM --> Package […]
  • Intention and Ways for SAP Training as a Part of EducationIntention and Ways for SAP Training as a Part of EducationForeground and IntroductionSAP is the acronym for a German phrase “Systeme Andwendungen Produkte in der Datenverarbeitung” whose English transcription would be Systems Applications, […]
  • What is Partner Functions in SAP SD?What is Partner Functions in SAP SD?Partner functions is two-character identification key that describes the people and organization with whom you do the business, and who are therefore involved in transaction. Here is some […]
  • Batch Management Configuration in SAP MMBatch Management Configuration in SAP MMBatch Management Configuration: This post explains a quick guide on how to use standard SAP Batch Determination for a material transfer.  For an internal goods movement we need SAP to pick […]

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: