SlideShare a Scribd company logo
1 of 17
Download to read offline
LSMW: Upload Master Data using
 Batch Input Recording




Summary
LSMW is the tool provided by SAP in order to upload huge amount of data from legacy file to R/3 system.
This article describes in detail how to upload master data in SAP HR module. However similar steps can
be followed for other modules as well.
LSMW: Upload Master Data using Batch Input Recording




Introduction
The Legacy System Migration Workbench (LSMW) is a tool to transfer data from legacy systems into an
R/3 System. LSMW supports a step-by-step procedure, if one step is executed and saved then next step
automatically follows. Apart from creation of project/ subproject/ object and recording, there are 14 basic
steps included in LSMW. This article explains clearly about each and every step.
Process Flow:




As an example, I am showing how to upload primary address for an employee i.e. Infotype 0006 with
Subtype 1.

Creating Project/ Subproject and Object:
Go to LSMW T.code
Give the name of the Project, Subproject and Object as desired




© 2010 SAP AG                                                                                                     2
LSMW: Upload Master Data using Batch Input Recording




Now place cursor in Project field and click on create and give description of each as shown below and
press enter.




Recording:
In menu bar, Goto Recordings (as shown below)




Now, Select ‘Recordings’ and create Give recording name and description




Note: In recording we show path, so that the system follows the same way while uploading the data from legacy to
      R/3 system




© 2010 SAP AG                                                                                                          3
LSMW: Upload Master Data using Batch Input Recording




 Give Transaction code as ‘PA30’ (to maintain master data for an employee) 




 In Master data maintain screen, give Personnel No, infotype and subtype (if any), and click on create




 In Create Address screen, enter fields which you want to upload and save




© 2010 SAP AG                                                                                                         4
LSMW: Upload Master Data using Batch Input Recording




Now, click on Default All and save and press back




© 2010 SAP AG                                                                                         5
LSMW: Upload Master Data using Batch Input Recording




Note: We are clicking ‘Default all’ button, so that all the fields which we touched during recording are included.


Now recording is completed.




© 2010 SAP AG                                                                                                             6
LSMW: Upload Master Data using Batch Input Recording




Processing basic steps in LSMW:
Basically, LSMW need to be configured 14 basic steps. Below you will find detailed step-by step
procedure




Step 1: Maintain Object Attributes
Select this radio button and click on execute (Do same for other steps)
Now, click on Display/ Change icon (do this for every step, because by default it will be display mode)
Here, we are telling system that what kind recording should take into consideration while performing
upload.
Select ‘Batch Input Recording’ and give name as shown below
Save and back (Note: Without any user intervention, radio button will come to next step)




© 2010 SAP AG                                                                                                                7
LSMW: Upload Master Data using Batch Input Recording




Step 2: Maintain Source Structures
Source structures are helpful in building hierarchical relationships. While uploading the data system
always checks highest level structure first before going for subordinate structure.
Select source structure and create




© 2010 SAP AG                                                                                                     8
LSMW: Upload Master Data using Batch Input Recording




Enter details as shown below




Save and back.

Step 3: Maintain Source Fields
Here we assign all the fields which need to upload to source structure.
Click on Object Overview select table




© 2010 SAP AG                                                                                                    9
LSMW: Upload Master Data using Batch Input Recording




Copy the fields and length in excel sheet (for temporary)
Note: exclude TABNAME and TCODE which are not required to maintain separately, system will take
these from recording we made.
Make excel sheet as shown




© 2010 SAP AG                                                                                                10
LSMW: Upload Master Data using Batch Input Recording




Now select ‘Maintain Source Fields’ button and execute
Click on ‘table maintenance’




Paste from the excel sheet which we maintained.




Save and back

Step 4: Maintain Structure Relations
Here we check whether structure relations between legacy and R/3 established or not.
In this step there is no need to change, just save and come back.




© 2010 SAP AG                                                                                                   11
LSMW: Upload Master Data using Batch Input Recording




Step 5: Display Field Mapping and Conversion
Here we establish the relationship between legacy and R/3 based on object fields.
In menu bar, go to Extras Auto Field Mapping
Note: Make sure that you select your recording before auto field mapping




Now accept proposal for all the fields which need to upload




© 2010 SAP AG                                                                                                  12
LSMW: Upload Master Data using Batch Input Recording




After auto field mapping complete, save and back.

Step 6: Maintain Fixed Values, Translations, User-Defined Routines
No need to maintain this step, unless and until if there exist any user defined routines, which helpful for
reusable.

Step 7: Specify Files
In this step, you specify the location of the legacy file.
Note: Generally we receive legacy file in excel format, so save this file as Text (Tab delimited).
Now, double click on ‘Legacy Data – On the PC (Front End)’ 




Save and back




© 2010 SAP AG                                                                                                      13
LSMW: Upload Master Data using Batch Input Recording




Step 8: Assign Files
Here, we just check whether file is assigned to source structure or not.




Save and back.

Step 9: Read Data
Here our legacy data is read




ExecuteNow, next screen shows how many number of records have been read.

Step 10: Display Read Data
Here, we can display all for part of the data by giving line numbers




Check, whether data has been correctly fit into fields




© 2010 SAP AG                                                                                                     14
LSMW: Upload Master Data using Batch Input Recording




Step 11: Convert Data
Here, whatever data has been read will convert to SAP standards.




Execute Now, it shows how many records have been converted. It should be same as data which have
been read in step 9.

Step 12: Display Converted Data
Here, converted data can be viewed for cross check.




Data from the legacy file is fitting to correct fields, so we configured all prior steps without any mistake.
Note: If data is not fitting correctly, then we need to cross check Step3 and Step5.




© 2010 SAP AG                                                                                                       15
LSMW: Upload Master Data using Batch Input Recording




Step 13: Create Batch Input Session
In this step, we create session for batch input
Make sure you check box for ‘Keep batch input folder’ is active




Execute




Step 14: Run Batch Input Session
Here we run the batch input session which we created in step 13.
Select Session and execute process




© 2010 SAP AG                                                                                                      16
LSMW: Upload Master Data using Batch Input Recording




Here we can choose options, how upload should be done.
It is recommendable that, first 3 to 4 records upload foreground to make sure data is uploading correct,
for rest of records select ‘Display errors only’.
Now legacy data will we upload to Master data of employees in SAP system.




© 2010 SAP AG                                                                                                    17

More Related Content

What's hot

Sap sd important interview concepts
Sap sd important interview concepts Sap sd important interview concepts
Sap sd important interview concepts Mohit Amitabh
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoclakshmi rajkumar
 
SAP Serial number management
SAP Serial number managementSAP Serial number management
SAP Serial number managementKelvin Cheng
 
SAP STO config
SAP STO configSAP STO config
SAP STO configsamitchak
 
SAP FICA Training
SAP FICA TrainingSAP FICA Training
SAP FICA Trainingtekslate1
 
66141912 sap-sd-advanced-pricing
66141912 sap-sd-advanced-pricing66141912 sap-sd-advanced-pricing
66141912 sap-sd-advanced-pricingvishnuj02
 
Pricing Routine In Vofm
Pricing Routine In VofmPricing Routine In Vofm
Pricing Routine In Vofmgueste6b4e7
 
Sap sd quest_answer_2009061511245119496
Sap sd quest_answer_2009061511245119496Sap sd quest_answer_2009061511245119496
Sap sd quest_answer_2009061511245119496Jitender Dalal
 
Reverse pricing procedure
Reverse pricing procedureReverse pricing procedure
Reverse pricing proceduretejesbadani
 
SAP FI/CO - What is difference between company code and company in SAP?
SAP FI/CO - What is difference between company code and company in SAP?SAP FI/CO - What is difference between company code and company in SAP?
SAP FI/CO - What is difference between company code and company in SAP?Sanjay Ram
 
Sap sd-srinivas-naidu
Sap sd-srinivas-naiduSap sd-srinivas-naidu
Sap sd-srinivas-naiduaawara88
 
Step by-step-to-upload-new-customer-master-record-with-lsmw
Step by-step-to-upload-new-customer-master-record-with-lsmwStep by-step-to-upload-new-customer-master-record-with-lsmw
Step by-step-to-upload-new-customer-master-record-with-lsmwsristick
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infosapdocs. info
 

What's hot (20)

Sap sd important interview concepts
Sap sd important interview concepts Sap sd important interview concepts
Sap sd important interview concepts
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoc
 
Revenue account determination
Revenue account determinationRevenue account determination
Revenue account determination
 
SAP HR / HCM Advance Level Training Demo
SAP HR / HCM Advance Level Training DemoSAP HR / HCM Advance Level Training Demo
SAP HR / HCM Advance Level Training Demo
 
SAP Serial number management
SAP Serial number managementSAP Serial number management
SAP Serial number management
 
SAP STO config
SAP STO configSAP STO config
SAP STO config
 
Credit Management in SAP SD
Credit Management in SAP SDCredit Management in SAP SD
Credit Management in SAP SD
 
SAP FICA Training
SAP FICA TrainingSAP FICA Training
SAP FICA Training
 
66141912 sap-sd-advanced-pricing
66141912 sap-sd-advanced-pricing66141912 sap-sd-advanced-pricing
66141912 sap-sd-advanced-pricing
 
Pricing Routine In Vofm
Pricing Routine In VofmPricing Routine In Vofm
Pricing Routine In Vofm
 
Sap sd quest_answer_2009061511245119496
Sap sd quest_answer_2009061511245119496Sap sd quest_answer_2009061511245119496
Sap sd quest_answer_2009061511245119496
 
SAP Time Management
SAP Time Management SAP Time Management
SAP Time Management
 
Reverse pricing procedure
Reverse pricing procedureReverse pricing procedure
Reverse pricing procedure
 
SAP FI/CO - What is difference between company code and company in SAP?
SAP FI/CO - What is difference between company code and company in SAP?SAP FI/CO - What is difference between company code and company in SAP?
SAP FI/CO - What is difference between company code and company in SAP?
 
Pre DME
Pre DMEPre DME
Pre DME
 
Sap sd-srinivas-naidu
Sap sd-srinivas-naiduSap sd-srinivas-naidu
Sap sd-srinivas-naidu
 
Output determination
Output determinationOutput determination
Output determination
 
Tax in sap
Tax in sapTax in sap
Tax in sap
 
Step by-step-to-upload-new-customer-master-record-with-lsmw
Step by-step-to-upload-new-customer-master-record-with-lsmwStep by-step-to-upload-new-customer-master-record-with-lsmw
Step by-step-to-upload-new-customer-master-record-with-lsmw
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
 

Similar to Lsmw overview

Lsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaLsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaHari Krishna
 
Consolidate your SAP System landscape Teched && d-code 2014
Consolidate your SAP System landscape Teched && d-code 2014Consolidate your SAP System landscape Teched && d-code 2014
Consolidate your SAP System landscape Teched && d-code 2014Goetz Lessmann
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Leila Morteza
 
SAP Legacy System Migration Workbench (LSMW): Introduction
SAP Legacy System Migration Workbench (LSMW): IntroductionSAP Legacy System Migration Workbench (LSMW): Introduction
SAP Legacy System Migration Workbench (LSMW): IntroductionJonathan Eemans
 
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster RecoverySAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery SAP Technology
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processingguest2160992
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0gireesho
 
autumo ifaceX - Product Presentation
autumo ifaceX - Product Presentationautumo ifaceX - Product Presentation
autumo ifaceX - Product PresentationMichael Gasche
 
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA reportSAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA reportRonald Konijnenburg
 
Comparison of various streaming technologies
Comparison of various streaming technologiesComparison of various streaming technologies
Comparison of various streaming technologiesSachin Aggarwal
 
What's New in SAP HANA SPS 11 Mission Critical Data Center Operations
What's New in SAP HANA SPS 11 Mission Critical Data Center OperationsWhat's New in SAP HANA SPS 11 Mission Critical Data Center Operations
What's New in SAP HANA SPS 11 Mission Critical Data Center OperationsSAP Technology
 
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & MigrationBW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & MigrationLinh Nguyen
 
SAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster RecoverySAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster RecoverySAP Technology
 
SAP ADMINISTRATION
SAP ADMINISTRATIONSAP ADMINISTRATION
SAP ADMINISTRATIONAly Adel
 

Similar to Lsmw overview (20)

Lsmw
LsmwLsmw
Lsmw
 
LSMW.pptx
LSMW.pptxLSMW.pptx
LSMW.pptx
 
Lsmw Anilkumar chowdary
Lsmw  Anilkumar chowdaryLsmw  Anilkumar chowdary
Lsmw Anilkumar chowdary
 
Lsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaLsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishna
 
Vipul mehta cv
Vipul mehta cvVipul mehta cv
Vipul mehta cv
 
Sso Mac
Sso MacSso Mac
Sso Mac
 
Consolidate your SAP System landscape Teched && d-code 2014
Consolidate your SAP System landscape Teched && d-code 2014Consolidate your SAP System landscape Teched && d-code 2014
Consolidate your SAP System landscape Teched && d-code 2014
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)
 
SAP Legacy System Migration Workbench (LSMW): Introduction
SAP Legacy System Migration Workbench (LSMW): IntroductionSAP Legacy System Migration Workbench (LSMW): Introduction
SAP Legacy System Migration Workbench (LSMW): Introduction
 
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster RecoverySAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0
 
autumo ifaceX - Product Presentation
autumo ifaceX - Product Presentationautumo ifaceX - Product Presentation
autumo ifaceX - Product Presentation
 
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA reportSAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
 
Comparison of various streaming technologies
Comparison of various streaming technologiesComparison of various streaming technologies
Comparison of various streaming technologies
 
What's New in SAP HANA SPS 11 Mission Critical Data Center Operations
What's New in SAP HANA SPS 11 Mission Critical Data Center OperationsWhat's New in SAP HANA SPS 11 Mission Critical Data Center Operations
What's New in SAP HANA SPS 11 Mission Critical Data Center Operations
 
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & MigrationBW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
BW Migration to HANA Part 2 - SUM DMO Tool for SAP Upgrade & Migration
 
SAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster RecoverySAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
 
Srm 6.0
Srm 6.0Srm 6.0
Srm 6.0
 
SAP ADMINISTRATION
SAP ADMINISTRATIONSAP ADMINISTRATION
SAP ADMINISTRATION
 

Recently uploaded

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

Lsmw overview

  • 1. LSMW: Upload Master Data using Batch Input Recording Summary LSMW is the tool provided by SAP in order to upload huge amount of data from legacy file to R/3 system. This article describes in detail how to upload master data in SAP HR module. However similar steps can be followed for other modules as well.
  • 2. LSMW: Upload Master Data using Batch Input Recording Introduction The Legacy System Migration Workbench (LSMW) is a tool to transfer data from legacy systems into an R/3 System. LSMW supports a step-by-step procedure, if one step is executed and saved then next step automatically follows. Apart from creation of project/ subproject/ object and recording, there are 14 basic steps included in LSMW. This article explains clearly about each and every step. Process Flow: As an example, I am showing how to upload primary address for an employee i.e. Infotype 0006 with Subtype 1. Creating Project/ Subproject and Object: Go to LSMW T.code Give the name of the Project, Subproject and Object as desired © 2010 SAP AG 2
  • 3. LSMW: Upload Master Data using Batch Input Recording Now place cursor in Project field and click on create and give description of each as shown below and press enter. Recording: In menu bar, Goto Recordings (as shown below) Now, Select ‘Recordings’ and create Give recording name and description Note: In recording we show path, so that the system follows the same way while uploading the data from legacy to R/3 system © 2010 SAP AG 3
  • 4. LSMW: Upload Master Data using Batch Input Recording Give Transaction code as ‘PA30’ (to maintain master data for an employee)  In Master data maintain screen, give Personnel No, infotype and subtype (if any), and click on create In Create Address screen, enter fields which you want to upload and save © 2010 SAP AG 4
  • 5. LSMW: Upload Master Data using Batch Input Recording Now, click on Default All and save and press back © 2010 SAP AG 5
  • 6. LSMW: Upload Master Data using Batch Input Recording Note: We are clicking ‘Default all’ button, so that all the fields which we touched during recording are included. Now recording is completed. © 2010 SAP AG 6
  • 7. LSMW: Upload Master Data using Batch Input Recording Processing basic steps in LSMW: Basically, LSMW need to be configured 14 basic steps. Below you will find detailed step-by step procedure Step 1: Maintain Object Attributes Select this radio button and click on execute (Do same for other steps) Now, click on Display/ Change icon (do this for every step, because by default it will be display mode) Here, we are telling system that what kind recording should take into consideration while performing upload. Select ‘Batch Input Recording’ and give name as shown below Save and back (Note: Without any user intervention, radio button will come to next step) © 2010 SAP AG 7
  • 8. LSMW: Upload Master Data using Batch Input Recording Step 2: Maintain Source Structures Source structures are helpful in building hierarchical relationships. While uploading the data system always checks highest level structure first before going for subordinate structure. Select source structure and create © 2010 SAP AG 8
  • 9. LSMW: Upload Master Data using Batch Input Recording Enter details as shown below Save and back. Step 3: Maintain Source Fields Here we assign all the fields which need to upload to source structure. Click on Object Overview select table © 2010 SAP AG 9
  • 10. LSMW: Upload Master Data using Batch Input Recording Copy the fields and length in excel sheet (for temporary) Note: exclude TABNAME and TCODE which are not required to maintain separately, system will take these from recording we made. Make excel sheet as shown © 2010 SAP AG 10
  • 11. LSMW: Upload Master Data using Batch Input Recording Now select ‘Maintain Source Fields’ button and execute Click on ‘table maintenance’ Paste from the excel sheet which we maintained. Save and back Step 4: Maintain Structure Relations Here we check whether structure relations between legacy and R/3 established or not. In this step there is no need to change, just save and come back. © 2010 SAP AG 11
  • 12. LSMW: Upload Master Data using Batch Input Recording Step 5: Display Field Mapping and Conversion Here we establish the relationship between legacy and R/3 based on object fields. In menu bar, go to Extras Auto Field Mapping Note: Make sure that you select your recording before auto field mapping Now accept proposal for all the fields which need to upload © 2010 SAP AG 12
  • 13. LSMW: Upload Master Data using Batch Input Recording After auto field mapping complete, save and back. Step 6: Maintain Fixed Values, Translations, User-Defined Routines No need to maintain this step, unless and until if there exist any user defined routines, which helpful for reusable. Step 7: Specify Files In this step, you specify the location of the legacy file. Note: Generally we receive legacy file in excel format, so save this file as Text (Tab delimited). Now, double click on ‘Legacy Data – On the PC (Front End)’  Save and back © 2010 SAP AG 13
  • 14. LSMW: Upload Master Data using Batch Input Recording Step 8: Assign Files Here, we just check whether file is assigned to source structure or not. Save and back. Step 9: Read Data Here our legacy data is read ExecuteNow, next screen shows how many number of records have been read. Step 10: Display Read Data Here, we can display all for part of the data by giving line numbers Check, whether data has been correctly fit into fields © 2010 SAP AG 14
  • 15. LSMW: Upload Master Data using Batch Input Recording Step 11: Convert Data Here, whatever data has been read will convert to SAP standards. Execute Now, it shows how many records have been converted. It should be same as data which have been read in step 9. Step 12: Display Converted Data Here, converted data can be viewed for cross check. Data from the legacy file is fitting to correct fields, so we configured all prior steps without any mistake. Note: If data is not fitting correctly, then we need to cross check Step3 and Step5. © 2010 SAP AG 15
  • 16. LSMW: Upload Master Data using Batch Input Recording Step 13: Create Batch Input Session In this step, we create session for batch input Make sure you check box for ‘Keep batch input folder’ is active Execute Step 14: Run Batch Input Session Here we run the batch input session which we created in step 13. Select Session and execute process © 2010 SAP AG 16
  • 17. LSMW: Upload Master Data using Batch Input Recording Here we can choose options, how upload should be done. It is recommendable that, first 3 to 4 records upload foreground to make sure data is uploading correct, for rest of records select ‘Display errors only’. Now legacy data will we upload to Master data of employees in SAP system. © 2010 SAP AG 17