3
Most read
7
Most read
8
Most read
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 1
LSMW: Upload Master Data using
Batch Input Recording
Applies to:
All modules of SAP where upload of data need to be performed using ‘Batch Input Recording’. For more
information, visit the Master Data Management homepage.
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.
Author: Ravi Sriramoju
Company: Fujitsu Consulting India
Created on: 4 November 2010
Author Bio
Ravi Sriramoju is currently working in Fujitsu Consulting India as a SAP HCM Consultant.
He has knowledge in US/ Netherland Payroll, Time Management, Organizational
Management and Personnel Administration and Benefits.
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 2
Table of Contents
Introduction......................................................................................................................................................... 3
Creating Project/ Subproject and Object:........................................................................................................... 3
Recording:.......................................................................................................................................................... 4
Processing basic steps in LSMW:...................................................................................................................... 8
Step 1: Maintain Object Attributes.................................................................................................................. 8
Step 2: Maintain Source Structures................................................................................................................ 9
Step 3: Maintain Source Fields .................................................................................................................... 10
Step 4: Maintain Structure Relations............................................................................................................ 12
Step 5: Display Field Mapping and Conversion ........................................................................................... 13
Step 6: Maintain Fixed Values, Translations, User-Defined Routines ......................................................... 14
Step 7: Specify Files..................................................................................................................................... 14
Step 8: Assign Files...................................................................................................................................... 15
Step 9: Read Data........................................................................................................................................ 15
Step 10: Display Read Data ......................................................................................................................... 15
Step 11: Convert Data.................................................................................................................................. 16
Step 12: Display Converted Data ................................................................................................................. 16
Step 13: Create Batch Input Session ........................................................................................................... 17
Step 14: Run Batch Input Session ............................................................................................................... 17
Related Content ............................................................................................................................................... 19
Disclaimer and Liability Notice ......................................................................................................................... 20
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 3
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 4
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 5
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 6
Now, click on Default All and save and press back
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 7
Note: We are clicking ‘Default all’ button, so that all the fields which we touched during recording are included.
Now recording is completed.
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 8
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)
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 9
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 10
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 11
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 12
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.
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 13
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 14
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 15
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 16
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.
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 17
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
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 18
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.
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 19
Related Content
Please include at least three references to SDN documents or web pages.
www.sap-img.com
www.help.sap.com
www.sdn.sap.com
LSMW: Upload Master Data using Batch Input Recording
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 20
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this
document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of
this document.

More Related Content

PDF
Sap fi configuration
PDF
Sap fi automatic payment program (configuration and run)
PDF
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
PDF
Shd0 transaction variants
PPTX
Transition to SAP S/4HANA System Conversion: A step-by-step guide
PPTX
Deferred taxes in Mexico
PDF
SAP Validation and substitution
PDF
SAP BCM.pdf
Sap fi configuration
Sap fi automatic payment program (configuration and run)
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
Shd0 transaction variants
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Deferred taxes in Mexico
SAP Validation and substitution
SAP BCM.pdf

What's hot (20)

DOC
Bank reconciliation ff67
PPTX
SAP FIXED ASSETS ACCOUNTING
 
DOC
SAP data archiving
PDF
Sap manual bank statement process flow
PDF
SAP S4HANA Migration Cockpit.pdf
PPTX
New Asset Accounting in S4 HANA
PDF
SAP Bank Accounting - EBS Compilation by Techlorean.pdf
DOCX
Asset sales
PDF
S/4HANA Finance: New Features and Functionality
PDF
Overcoming the Top 7 Intercompany Accounting Challenges in SAP ERP Financials
PDF
SAP IS Retail Article Master
PDF
80467542 asset-closing-in-sap-fico
DOCX
Data medium exchange
DOC
Bankreconciliation ff67-130519130827-phpapp02
PDF
Cutover activities
DOC
Material ledger configuration
DOC
Budget upload process in SAP PS
PDF
Automatic vendor payment advice notes by mail
PDF
SAP Fiori Mobility Applications
PPTX
Sap s4 hana logistics ppt
Bank reconciliation ff67
SAP FIXED ASSETS ACCOUNTING
 
SAP data archiving
Sap manual bank statement process flow
SAP S4HANA Migration Cockpit.pdf
New Asset Accounting in S4 HANA
SAP Bank Accounting - EBS Compilation by Techlorean.pdf
Asset sales
S/4HANA Finance: New Features and Functionality
Overcoming the Top 7 Intercompany Accounting Challenges in SAP ERP Financials
SAP IS Retail Article Master
80467542 asset-closing-in-sap-fico
Data medium exchange
Bankreconciliation ff67-130519130827-phpapp02
Cutover activities
Material ledger configuration
Budget upload process in SAP PS
Automatic vendor payment advice notes by mail
SAP Fiori Mobility Applications
Sap s4 hana logistics ppt
Ad

Similar to Lsmw (20)

PDF
Rda step by step
PDF
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
PDF
_Using Selective Deletion in Process Chains.pdf
PDF
Creating attachments to work items or to user decisions in workflows
PDF
How to write a routine for 0 calday in infopackage selection
PDF
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
PDF
Dynamic variant creation
PDF
Sap query creation and transport procedure in ecc6
PDF
Management Cockpit (SEM-CPM-MC) Step by Step Creation
PDF
Delta machenism with db connect
PDF
SAP Quickviewer
PDF
Trigger bi process chain from ecc
PDF
Lo extraction part 6 implementation methodology
PDF
Performance tuning in sap bi 7.0
PDF
Lo extraction part 7 enhancements
PDF
Sap bw lo extraction
PDF
Using error stack and error dt ps in sap bi 7.0
PDF
A step by-step guide on i doc-ale between two sap servers
PDF
SAP PR released
PDF
Sand dna nearline for sap net weaver bw 7.0
Rda step by step
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
_Using Selective Deletion in Process Chains.pdf
Creating attachments to work items or to user decisions in workflows
How to write a routine for 0 calday in infopackage selection
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Dynamic variant creation
Sap query creation and transport procedure in ecc6
Management Cockpit (SEM-CPM-MC) Step by Step Creation
Delta machenism with db connect
SAP Quickviewer
Trigger bi process chain from ecc
Lo extraction part 6 implementation methodology
Performance tuning in sap bi 7.0
Lo extraction part 7 enhancements
Sap bw lo extraction
Using error stack and error dt ps in sap bi 7.0
A step by-step guide on i doc-ale between two sap servers
SAP PR released
Sand dna nearline for sap net weaver bw 7.0
Ad

Recently uploaded (20)

PPTX
QC & QA.pptx........,...................
PPTX
basu ppt AMJARIRNA CASE DISCUSSION.new one.pptx
DOCX
Diagnostic Assessment - English (to be printed).docx
PPTX
DDT AND THEIR use ,management and evaluation
PPTX
Famous_Mathematicians_Presentation (1).pptx
PPTX
diabetes.pptxgtgthtgtgtgthyjiulp'][pp0ppp
PDF
VIT Accelerating Growth - September 2023.pdf
PPTX
MATERIALS IN ORTHODONTICS PART 1.pptxxxx
PDF
20255 _12Time table 2025 life science (2).pdf
PPTX
F.Y.B.COM-A-ACC25309.pptx For a job or role? (e.g., Marketing Manager, Chief ...
PDF
Dubai Entrepreneur Jaideep Mirchandani | Skyone
PPTX
Role of Mi hshsjs sjskele didoels sosoen
PPTX
Gender Sensitizations and females learning
PDF
Surgical instruments for final year mbbs students
PPTX
Template strategi untuk pertumbuhan dan inovasi.pptx
PPTX
introduction-to-databaseakash - data - file - ditei hbe.pptx
PDF
lahore 2024 august.pdf exercise for fittness
PPTX
1. History and examination of tissue removed
PPT
A-Guide-to-Developing-a-First-Course-in-the-NATEF-Model-NACAT-2017.ppt
PDF
Combined Obstetrics pdf notes for midwifery
QC & QA.pptx........,...................
basu ppt AMJARIRNA CASE DISCUSSION.new one.pptx
Diagnostic Assessment - English (to be printed).docx
DDT AND THEIR use ,management and evaluation
Famous_Mathematicians_Presentation (1).pptx
diabetes.pptxgtgthtgtgtgthyjiulp'][pp0ppp
VIT Accelerating Growth - September 2023.pdf
MATERIALS IN ORTHODONTICS PART 1.pptxxxx
20255 _12Time table 2025 life science (2).pdf
F.Y.B.COM-A-ACC25309.pptx For a job or role? (e.g., Marketing Manager, Chief ...
Dubai Entrepreneur Jaideep Mirchandani | Skyone
Role of Mi hshsjs sjskele didoels sosoen
Gender Sensitizations and females learning
Surgical instruments for final year mbbs students
Template strategi untuk pertumbuhan dan inovasi.pptx
introduction-to-databaseakash - data - file - ditei hbe.pptx
lahore 2024 august.pdf exercise for fittness
1. History and examination of tissue removed
A-Guide-to-Developing-a-First-Course-in-the-NATEF-Model-NACAT-2017.ppt
Combined Obstetrics pdf notes for midwifery

Lsmw

  • 1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 1 LSMW: Upload Master Data using Batch Input Recording Applies to: All modules of SAP where upload of data need to be performed using ‘Batch Input Recording’. For more information, visit the Master Data Management homepage. 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. Author: Ravi Sriramoju Company: Fujitsu Consulting India Created on: 4 November 2010 Author Bio Ravi Sriramoju is currently working in Fujitsu Consulting India as a SAP HCM Consultant. He has knowledge in US/ Netherland Payroll, Time Management, Organizational Management and Personnel Administration and Benefits.
  • 2. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 2 Table of Contents Introduction......................................................................................................................................................... 3 Creating Project/ Subproject and Object:........................................................................................................... 3 Recording:.......................................................................................................................................................... 4 Processing basic steps in LSMW:...................................................................................................................... 8 Step 1: Maintain Object Attributes.................................................................................................................. 8 Step 2: Maintain Source Structures................................................................................................................ 9 Step 3: Maintain Source Fields .................................................................................................................... 10 Step 4: Maintain Structure Relations............................................................................................................ 12 Step 5: Display Field Mapping and Conversion ........................................................................................... 13 Step 6: Maintain Fixed Values, Translations, User-Defined Routines ......................................................... 14 Step 7: Specify Files..................................................................................................................................... 14 Step 8: Assign Files...................................................................................................................................... 15 Step 9: Read Data........................................................................................................................................ 15 Step 10: Display Read Data ......................................................................................................................... 15 Step 11: Convert Data.................................................................................................................................. 16 Step 12: Display Converted Data ................................................................................................................. 16 Step 13: Create Batch Input Session ........................................................................................................... 17 Step 14: Run Batch Input Session ............................................................................................................... 17 Related Content ............................................................................................................................................... 19 Disclaimer and Liability Notice ......................................................................................................................... 20
  • 3. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 3 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
  • 4. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 4 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
  • 5. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 5 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
  • 6. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 6 Now, click on Default All and save and press back
  • 7. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 7 Note: We are clicking ‘Default all’ button, so that all the fields which we touched during recording are included. Now recording is completed.
  • 8. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 8 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)
  • 9. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 9 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
  • 10. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 10 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
  • 11. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 11 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
  • 12. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 12 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.
  • 13. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 13 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
  • 14. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 14 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
  • 15. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 15 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
  • 16. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 16 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.
  • 17. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 17 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
  • 18. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 18 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.
  • 19. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 19 Related Content Please include at least three references to SDN documents or web pages. www.sap-img.com www.help.sap.com www.sdn.sap.com
  • 20. LSMW: Upload Master Data using Batch Input Recording SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 20 Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.