Вы находитесь на странице: 1из 12

12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

SAP LSMW Step by Step Tutorial Select Topics

July 18, 2017

SAP LSMW Step by Step Tutorial


What is LSMW( Legacy System Migration Workbech)?

Now let us know what is the LSMW? ,is a Legacy System Migration workbench using
which we can import the data from Non-SAP system to SAP system.It is specially
designed for functional consultants who are not experts in the coding and it can be
done in 14 steps to complete the LSMW for this we have to map the all steps and
LSMW has  four ways to import data into SAP, and they are: BDC, Direct Input,
BAPI(BO) and IDOC..Here steps are:

First of all ,go to transaction LSMW.

Enter Project name    : zs_lsmw.


      Subproject name : zs_lsmw.
      Object name     : zs_lsmw.

Now ,Click on Create entry  button.

It will ask for description, Give description for


      Project name    : zs_lsmw project.
      Sub-project name : zs_lsmw subproject.
      Object name     : zs_lsmw object.

Click on Continue(f8) button.

It will takes you to the LSMW steps screen and rst step radio button already selected.

Step1   Maintain object attributes 

Step2  Maitain source structures 

Step3  Maitain source elds 

Step5  Maitain eld mapping coversion rules 

Step6   Maintain xed values, translations, user-de ned routines


http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 1/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP  Specify
Step7 ABAPles AND WEBDYNPRO TUTORIALS SUBSCRIBE

Step8   Assign les 

Step9   Read data 

Step10   Display read data 

Step11   Convert data

Step12  Display converted data 

Step13  Create batch input session 

Step14  Run batch input session

Data upload using "LSMW" is succesfully completed.

Finally ,Go to SE11 and check whether  data is uploaded or not.

To start working with the LSM Workbench, use transaction LSMW:

Click on the create button to create new project, sub-project and the object. As shown
below.

On the initial screen, you can create a new project, corresponding sub-projects and
objects via Edit -> Create new entry.
Click on the execute button once the project, sub-project and the object are created. 

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 2/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

Click Back.Now record using Batch Input Recording Data Migration - Step by Step via
Batch Input Recording

Maintain Object attributes in LSMW

Here, you will be updating the Material master records of the transaction (MM01).
Select radio button Batch Input Recording and click on the recording overview icon to
record the R/3 transaction. Enter the Recording name as MM01_REC2. 

  
Click on create to record the transaction.

Enter Transaction code MM01 and Click on Continue.

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 3/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

Enter the elds the elds and Default Values populated autamatically .

You can remove the default values by clicking on the eld.

Repeat the above step for all elds.Now ,you can see the recording overview screen .

Click on SAVE to save the recording. The click on BACK icon to the main screen. Save
the while going back to the main screen.

Maintain Source Structure for LSMW

Select the Radio button Maintain Source Structure.

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 4/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

Click on CREATE to create a source structure. Give a name and a description to the
source structure as shown below:

Save the source structure and go to the main screen.

Maintain Source Fields for LSMW

Click on 'Table Maintenance' icon to enter Field name, Type and Length for each eld.

Save while coming back to the main screen.

Maintain Structure Relations in SAP LSMW

Execute a step to 'Maintain Structure Relations'. Since, there is only one Source and
Target Structure, the relationship is defaulted automatically.

Save while coming back to the main screen.

Maintain eld mapping and conversion rules

Keep cursor on eld 'MATNR' and click on 'Assign Source eld' icon to choose source
eld MATERIAL from structure MM01V6 .

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 5/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

Similarly, assign 'Source Field' rules to the remaining elds.


Once all the elds are mapped, you should have an overview screen like below.

Save while coming back to the main screen.

Maintain xed values, translations, user-de ned routines

Specify les
In this step, we de ne how the layout of the input le is.  It is present on your PC
,Double Click on the legacy data.

Save while going to main screen.


Create an Excel with your data and save it in your PC.

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 6/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE


Assign le
Execute step 'Assign Files' and the system automatically defaults the lename to the
source structure.

Save while going to main screen.


Read data
In this step, LSMW reads the data from the source le (from your PC's local drive). You
have the option to read only selected rows and convert data values to internal format.

  
After we execute the data read from the at le is as shown below.

Display read data


This step is optional. If required, you can review the eld contents for the rows of data
read.

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 7/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

Convert data
This is the step that actually converts the source data (in source format) to a target
format. Based on the conversion rules de ned, source elds are mapped to target
elds. 

Click BACK to come back to main screen.


Display Converted data
Again this is an optional step to view how the source data is converted to internal SAP
format.

Create batch input session


Once the source data is converted in an internal format, you can create a batch
session to process updates.

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 8/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS SUBSCRIBE

Click on EXECUTE button to execute a batch input session.

Run Batch Input Session

You can execute batch input session is using a standard SM35 transaction for
managing BDC sessions. Once you have successfully executed the batch input
session, the Material master records are updated in the system. You can con rm this
by viewing the Material master records (MM03).

Select the session and click on the PROCESS icon.

You can Process the session in foreground or background or can only display errors.

Difference between BDC and LSMW


BDC Session Method Tutorial
BDC Call Transaction Tutorial
BDC Interview Questions and Answers
SAP ABAP Tutorials for Beginners

LSMW,Tutorial ,SAP LSMW, Step by Step Tutorial on LSMW,Creating LSMW in SAP.

RELATED POSTS:

How To Check RFC How To Write A BDC Recording In Difference Between


Connection Using Program In SAP SAP ABAP Call Transaction...
F... ABAP

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 9/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND


BDC WEBDYNPRO
SAP ABAP
Related Posts Widget
TUTORIALS SUBSCRIBE

No comments yet

Add a comment as sobhan koneru

Popular ABAP Tutorials

ALV Reports Interview Questions


April 12, 2017

SAP ABAP ALV Reports Interview Questions and Answers for Experienced  Here, i am
sharing very import real time oriented questions which are faced at several interviews
on ALV Reports to help for freshers and experienced SAP ABAP consultants with …

KEEP READING

Sample ABAP Programming Examples for Practice


July 16, 2017

Sample ABAP Programming Examples for Practice Are you beginner to ABAP
http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 10/12
12/1/2017 SAP LSMW Step by Step Tutorial

Language ,you're looking for example programs for practice .Here i collected some
SAPprograms
sample ABAPfrom
AND WEBDYNPRO
various TUTORIALS
objects in ABAP useful SUBSCRIBE
for beginners to improve …

KEEP READING

SAP ABAP Smartforms Interview Questions and Answers


April 13, 2017

SAP ABAP Smartforms Interview Questions and Answers

What is smartform? Smart Forms are printing forms used to print Invoice and …

KEEP READING

SAP ABAP Data Dictionary Real Time Interview Questions and


Aanswers
April 11, 2017

SAP ABAP Data Dictionary Real Time Interview Questions and Answers
These interview Questions from the SAP ABAP Data Dictionary are faced at the
different companies in the several interviews which are useful for real time …

KEEP READING

BADI Interview Questions in SAP


April 13, 2017

BADI Interview Questions in SAP A BAdI is an object-oriented enhancement option,


which makes it the most sophisticated enhancement type. The main characteristic of
a BAdI is that it provides a mechanism to change the functionality of a well-de ned …

KEEP READING

Like on Facebook

SAP ABAP and WebD…


304 likes

Liked Share

You and 1 other friend likes this

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 11/12
12/1/2017 SAP LSMW Step by Step Tutorial

SAP ABAP AND WEBDYNPRO TUTORIALS


Powered by Blogger
SUBSCRIBE

Theme images by Michael Elkan

Labels

Monthly Updates

Report Abuse

Donate to Me
Donate with PayPal

Privacy Policy

http://www.sapabapwebdynprotutorials.com/2017/07/sap-lsmw-step-by-step-tutorial.html 12/12

Вам также может понравиться