Legacy System Migration Workbench   1 of 74
What is LSMW


  •    It is a interactive tool for data transfer.
  •    Data transfer between legacy system (non-SAP) to SAP once or periodically.
  •    Key benefits:
        –   Dramatically reduces the cost and time of migrating data.
        –   Ensure optimum quality and consistency through import checks.


  •    Advantages of LSMW:
        –   Wide ranges of data conversion techniques (fixed values, translation, ABAP coding etc).
        –   Conversion program generated from conversion rules.
        –   Consistency in migration.
        –   Less programming required.
        –   Platform independent.
        –   Check data before updating in database.




Legacy System Migration Workbench                    2 of 74
General Steps in LSMW


  •    Read the legacy data from one or several files (e.g. spreadsheet tables, sequential files)
  •    Convert the data from source format to target format.
  •    Import the data using standard interfaces ( Batch input, BAPI, IDoc).




Legacy System Migration Workbench                  3 of 74
How LSMW works
                                                                          One or several
                                                                              files

                                                                                 Legacy data
                                                                                   on PC

                                     Read data             Read data
    Structure                                                                    Legacy data on
                                                                                  application
    relations                                                                        server



    Field mapping                   Convert data




                                                                                      R/3 Standard
                                                                  Batch Input
    Conversion                                                    processing
    rules

                                     Converted                    Direct Input
                                       data                       processing

                                                                  IDoc inbound
                                                                   processing

Legacy System Migration Workbench                4 of 74
Step in LSMW


  •    Transaction code : LSMW
  •    14 steps:
        –   Maintain object attributes.
        –   Maintain source structures.
        –   Maintain source fields.
        –   Maintain source relations.
        –   Maintain field mapping and conversion rules.
        –   Maintain fixed values, translations, user-defined routines.
        –   Specify files.
        –   Assign files.
        –   Read/import data.
        –   Display read/import data.
        –   Convert data.
        –   Display converted data.
        –   Create batch input session
        –   Run Batch input session.



Legacy System Migration Workbench                      5 of 74
T.Code is LSMW




Legacy System Migration Workbench          6 of 74
Create New Project




Legacy System Migration Workbench   7 of 74
Create Subproject , Object and click here




Legacy System Migration Workbench                            8 of 74
Go To Menu path Goto->Recordings




Legacy System Migration Workbench               9 of 74
Click on ‘Recordings’ and create




Legacy System Migration Workbench       10 of 74
Specify the Name of Recording
                          and click here




Legacy System Migration Workbench                         11 of 74
Specify the Transaction




Legacy System Migration Workbench                     12 of 74
Enter relevant Data




Legacy System Migration Workbench               13 of 74
Click here for selecting at least one view




Legacy System Migration Workbench                         14 of 74
Fill all mandatory fields and
                                                    Save the recording




Legacy System Migration Workbench   15 of 74
Click on ‘Default All’,
                                    Save it and Go Back.




Legacy System Migration Workbench                       16 of 74
Click here to Go Back




Legacy System Migration Workbench                    17 of 74
Click here to Execute




Legacy System Migration Workbench   18 of 74
Execute the First step




Legacy System Migration Workbench                 19 of 74
Save and Go Back


                                               Click here for Change mode




                                               Select ‘Batch Input Recording’ and
                                                 Enter the Recording Name




Legacy System Migration Workbench   20 of 74
Click on ‘Object Overview’




Legacy System Migration Workbench   21 of 74
Click on ‘Table’




Legacy System Migration Workbench   22 of 74
Select the fields by pressing Ctrl+Y




Legacy System Migration Workbench                         23 of 74
Copy the fields which are selected




Legacy System Migration Workbench   24 of 74
Paste them into an Excel Sheet




Legacy System Migration Workbench             25 of 74
Select column ‘A’ and
                      Goto Menupath Data->Text to Columns




Legacy System Migration Workbench                       26 of 74
Click here to proceed




Legacy System Migration Workbench   27 of 74
Select ‘Text’ Option




                                               Select all Columns




                                               Click on ‘Finish’




Legacy System Migration Workbench   28 of 74
Copy these Columns




Legacy System Migration Workbench         29 of 74
Paste them in another Sheet and
                          Change all data types as ‘C’




Legacy System Migration Workbench                           30 of 74
Click here to Go Back




Legacy System Migration Workbench                    31 of 74
Execute for Second Step




Legacy System Migration Workbench                 32 of 74
Create
                        Click here for Change Mode


                        Click on ‘Source Structures’




Legacy System Migration Workbench                      33 of 74
Specify the Structure and click here




Legacy System Migration Workbench              34 of 74
Save and Go Back




Legacy System Migration Workbench            35 of 74
Execute for Third Step




Legacy System Migration Workbench                36 of 74
Go to Menu Path,
                                    Source Fields->Table Maintenance




Legacy System Migration Workbench              37 of 74
Save and Go Back




                                    Copy the Columns from
                                    Excel sheet and Paste them here and
                                    Press ‘Enter’.




Legacy System Migration Workbench       38 of 74
Save and Go Back




Legacy System Migration Workbench            39 of 74
Execute for Fourth Step




Legacy System Migration Workbench                   40 of 74
Click here for Change Mode
                                    Save and Go Back


                                    Click here




Legacy System Migration Workbench          41 of 74
Execute for Fifth Step




Legacy System Migration Workbench                   42 of 74
Go to Menu Path
                                               Extras->Auto-Field Mapping


                                               Click on ‘Fields’




Legacy System Migration Workbench   43 of 74
Click Here




Legacy System Migration Workbench   44 of 74
Go on Clicking here until Mapping is Completed




Legacy System Migration Workbench                           45 of 74
Click here




Legacy System Migration Workbench         46 of 74
Save and Go Back




Legacy System Migration Workbench                      47 of 74
Skip Sixth Step




Legacy System Migration Workbench                48 of 74
Execute for Seventh Step




Legacy System Migration Workbench                  49 of 74
Copy Column ‘A’




Legacy System Migration Workbench   50 of 74
Paste Special in another Sheet




Legacy System Migration Workbench                          51 of 74
Click on ’Transpose’ and
                                               Press Enter




Legacy System Migration Workbench   52 of 74
This becomes Work Sheet for Entering Data




Legacy System Migration Workbench            53 of 74
Select ‘Text (Tab delimited)’   Save the File with a Name
                                    as File Type




Legacy System Migration Workbench                54 of 74
Specify the File Path using F4




              Double Click here
                                                            Select ‘Tabulator’



                                                            Check this
                                                            Un Check this




                                    Click here to Proceed




Legacy System Migration Workbench          55 of 74
Save and Go Back




Legacy System Migration Workbench        56 of 74
Execute for Eight Step




Legacy System Migration Workbench                      57 of 74
Save and Go Back


                                    Click here for Change Mode




Legacy System Migration Workbench       58 of 74
Execute for Ninth Step




Legacy System Migration Workbench                   59 of 74
Execute




Legacy System Migration Workbench   60 of 74
Go Back




Legacy System Migration Workbench             61 of 74
Execute for Tenth Step




                        Click here




Legacy System Migration Workbench                     62 of 74
Go Back




Legacy System Migration Workbench       63 of 74
Execute for Eleventh Step




Legacy System Migration Workbench                       64 of 74
Execute




Legacy System Migration Workbench   65 of 74
Go Back




Legacy System Migration Workbench             66 of 74
Execute for Twelfth Step




                    Click here




Legacy System Migration Workbench                       67 of 74
Go Back




Legacy System Migration Workbench             68 of 74
Execute for Thirteenth Step




Legacy System Migration Workbench                      69 of 74
Execute




Legacy System Migration Workbench   70 of 74
Click here




Legacy System Migration Workbench        71 of 74
Execute for Fourteenth Step




Legacy System Migration Workbench                        72 of 74
Click here




        Select the Session




                                Click here for Processing




Legacy System Migration Workbench                           73 of 74
Legacy System Migration Workbench   74 of 74

Lsmw final with comments

  • 1.
    Legacy System MigrationWorkbench 1 of 74
  • 2.
    What is LSMW • It is a interactive tool for data transfer. • Data transfer between legacy system (non-SAP) to SAP once or periodically. • Key benefits: – Dramatically reduces the cost and time of migrating data. – Ensure optimum quality and consistency through import checks. • Advantages of LSMW: – Wide ranges of data conversion techniques (fixed values, translation, ABAP coding etc). – Conversion program generated from conversion rules. – Consistency in migration. – Less programming required. – Platform independent. – Check data before updating in database. Legacy System Migration Workbench 2 of 74
  • 3.
    General Steps inLSMW • Read the legacy data from one or several files (e.g. spreadsheet tables, sequential files) • Convert the data from source format to target format. • Import the data using standard interfaces ( Batch input, BAPI, IDoc). Legacy System Migration Workbench 3 of 74
  • 4.
    How LSMW works One or several files Legacy data on PC Read data Read data Structure Legacy data on application relations server Field mapping Convert data R/3 Standard Batch Input Conversion processing rules Converted Direct Input data processing IDoc inbound processing Legacy System Migration Workbench 4 of 74
  • 5.
    Step in LSMW • Transaction code : LSMW • 14 steps: – Maintain object attributes. – Maintain source structures. – Maintain source fields. – Maintain source relations. – Maintain field mapping and conversion rules. – Maintain fixed values, translations, user-defined routines. – Specify files. – Assign files. – Read/import data. – Display read/import data. – Convert data. – Display converted data. – Create batch input session – Run Batch input session. Legacy System Migration Workbench 5 of 74
  • 6.
    T.Code is LSMW LegacySystem Migration Workbench 6 of 74
  • 7.
    Create New Project LegacySystem Migration Workbench 7 of 74
  • 8.
    Create Subproject ,Object and click here Legacy System Migration Workbench 8 of 74
  • 9.
    Go To Menupath Goto->Recordings Legacy System Migration Workbench 9 of 74
  • 10.
    Click on ‘Recordings’and create Legacy System Migration Workbench 10 of 74
  • 11.
    Specify the Nameof Recording and click here Legacy System Migration Workbench 11 of 74
  • 12.
    Specify the Transaction LegacySystem Migration Workbench 12 of 74
  • 13.
    Enter relevant Data LegacySystem Migration Workbench 13 of 74
  • 14.
    Click here forselecting at least one view Legacy System Migration Workbench 14 of 74
  • 15.
    Fill all mandatoryfields and Save the recording Legacy System Migration Workbench 15 of 74
  • 16.
    Click on ‘DefaultAll’, Save it and Go Back. Legacy System Migration Workbench 16 of 74
  • 17.
    Click here toGo Back Legacy System Migration Workbench 17 of 74
  • 18.
    Click here toExecute Legacy System Migration Workbench 18 of 74
  • 19.
    Execute the Firststep Legacy System Migration Workbench 19 of 74
  • 20.
    Save and GoBack Click here for Change mode Select ‘Batch Input Recording’ and Enter the Recording Name Legacy System Migration Workbench 20 of 74
  • 21.
    Click on ‘ObjectOverview’ Legacy System Migration Workbench 21 of 74
  • 22.
    Click on ‘Table’ LegacySystem Migration Workbench 22 of 74
  • 23.
    Select the fieldsby pressing Ctrl+Y Legacy System Migration Workbench 23 of 74
  • 24.
    Copy the fieldswhich are selected Legacy System Migration Workbench 24 of 74
  • 25.
    Paste them intoan Excel Sheet Legacy System Migration Workbench 25 of 74
  • 26.
    Select column ‘A’and Goto Menupath Data->Text to Columns Legacy System Migration Workbench 26 of 74
  • 27.
    Click here toproceed Legacy System Migration Workbench 27 of 74
  • 28.
    Select ‘Text’ Option Select all Columns Click on ‘Finish’ Legacy System Migration Workbench 28 of 74
  • 29.
    Copy these Columns LegacySystem Migration Workbench 29 of 74
  • 30.
    Paste them inanother Sheet and Change all data types as ‘C’ Legacy System Migration Workbench 30 of 74
  • 31.
    Click here toGo Back Legacy System Migration Workbench 31 of 74
  • 32.
    Execute for SecondStep Legacy System Migration Workbench 32 of 74
  • 33.
    Create Click here for Change Mode Click on ‘Source Structures’ Legacy System Migration Workbench 33 of 74
  • 34.
    Specify the Structureand click here Legacy System Migration Workbench 34 of 74
  • 35.
    Save and GoBack Legacy System Migration Workbench 35 of 74
  • 36.
    Execute for ThirdStep Legacy System Migration Workbench 36 of 74
  • 37.
    Go to MenuPath, Source Fields->Table Maintenance Legacy System Migration Workbench 37 of 74
  • 38.
    Save and GoBack Copy the Columns from Excel sheet and Paste them here and Press ‘Enter’. Legacy System Migration Workbench 38 of 74
  • 39.
    Save and GoBack Legacy System Migration Workbench 39 of 74
  • 40.
    Execute for FourthStep Legacy System Migration Workbench 40 of 74
  • 41.
    Click here forChange Mode Save and Go Back Click here Legacy System Migration Workbench 41 of 74
  • 42.
    Execute for FifthStep Legacy System Migration Workbench 42 of 74
  • 43.
    Go to MenuPath Extras->Auto-Field Mapping Click on ‘Fields’ Legacy System Migration Workbench 43 of 74
  • 44.
    Click Here Legacy SystemMigration Workbench 44 of 74
  • 45.
    Go on Clickinghere until Mapping is Completed Legacy System Migration Workbench 45 of 74
  • 46.
    Click here Legacy SystemMigration Workbench 46 of 74
  • 47.
    Save and GoBack Legacy System Migration Workbench 47 of 74
  • 48.
    Skip Sixth Step LegacySystem Migration Workbench 48 of 74
  • 49.
    Execute for SeventhStep Legacy System Migration Workbench 49 of 74
  • 50.
    Copy Column ‘A’ LegacySystem Migration Workbench 50 of 74
  • 51.
    Paste Special inanother Sheet Legacy System Migration Workbench 51 of 74
  • 52.
    Click on ’Transpose’and Press Enter Legacy System Migration Workbench 52 of 74
  • 53.
    This becomes WorkSheet for Entering Data Legacy System Migration Workbench 53 of 74
  • 54.
    Select ‘Text (Tabdelimited)’ Save the File with a Name as File Type Legacy System Migration Workbench 54 of 74
  • 55.
    Specify the FilePath using F4 Double Click here Select ‘Tabulator’ Check this Un Check this Click here to Proceed Legacy System Migration Workbench 55 of 74
  • 56.
    Save and GoBack Legacy System Migration Workbench 56 of 74
  • 57.
    Execute for EightStep Legacy System Migration Workbench 57 of 74
  • 58.
    Save and GoBack Click here for Change Mode Legacy System Migration Workbench 58 of 74
  • 59.
    Execute for NinthStep Legacy System Migration Workbench 59 of 74
  • 60.
  • 61.
    Go Back Legacy SystemMigration Workbench 61 of 74
  • 62.
    Execute for TenthStep Click here Legacy System Migration Workbench 62 of 74
  • 63.
    Go Back Legacy SystemMigration Workbench 63 of 74
  • 64.
    Execute for EleventhStep Legacy System Migration Workbench 64 of 74
  • 65.
  • 66.
    Go Back Legacy SystemMigration Workbench 66 of 74
  • 67.
    Execute for TwelfthStep Click here Legacy System Migration Workbench 67 of 74
  • 68.
    Go Back Legacy SystemMigration Workbench 68 of 74
  • 69.
    Execute for ThirteenthStep Legacy System Migration Workbench 69 of 74
  • 70.
  • 71.
    Click here Legacy SystemMigration Workbench 71 of 74
  • 72.
    Execute for FourteenthStep Legacy System Migration Workbench 72 of 74
  • 73.
    Click here Select the Session Click here for Processing Legacy System Migration Workbench 73 of 74
  • 74.
    Legacy System MigrationWorkbench 74 of 74