Escolar Documentos
Profissional Documentos
Cultura Documentos
INTRODUCTION
Legacy System Migration Workbench or LSMW is SAP standard program that can be used to easily load / change master data or transactions in SAP
without any programming at all. It can be used to upload data at cutover, such as: open orders, contracts, materials, vendors, stock on hand, ....... It
can also be used in a production system to make changes to existing data. Very limited authorization checks are available on the transaction, so the
use of it must be very well controlled.
The functionality is very well documented in the SAP help files [help.sap.com]. Below is a simple example where vendor masters are loaded using
recording in LSMW.
(For an example on how to load materials using Direct Input method in LSMW, see this post)
Start it all by executing transaction LSWM (program /SAPDMC/SAPMLSMW ). Define Project / subproject / Object. It is also possible to export the
project to a text file, to be imported into another system.
Various methods can be used to load the file (BAPI, ALE, recording ….). We will be using a recorded transaction. To record the transaction, we give
the recording a name and type in the transaction code that will be used.
Step through the screens as you would have done it manually.
A screen will be shown with all the fields that was recorded. Every field needs a name. To keep it simple, allocate the default SAP name to the fields.
Make sure all the fields you want to load/change are in the list. If not, re-record the transaction and ensure you do a dropdown or type in values in the
correct field.
Here is a list of all the process steps that available. In our example, not all will be used. Those to be used in example are mark with a red dot. So, we
will be using Process Step 1, 3, 4, 5, 7, 8, 9, 11, 12, 13.
NB: Every time you select a process step, you will be in display mode -- first thing to do for every step is to switch to change mode by clicking the
"Display<->Change" button.
As can be seen – in our case we used comma delimited text. It is generally better to use tab delimited format to avoid errors (example where text
fields may contain commas). If you will be using LSMW quite a lot, it is better to get a better text editor and not used Notepad (as shown in screen
below).
Back in LSMW, the fields in external file is defined, so make them the same as in txt file.
To confirm that the data was loaded correctly, verify that vendors were loaded correctly.
SAP version used for this post: SAP ECC (ERP Central Component) 5.0
LSMW version used: version 4.0.0 of the LSM Workbench from 31.08.2004 (Menu: Extras > Display Display version)
Subscribe
POPULAR POSTS
SAP SD Tables
SAP MM Tables
Split Valuation
Very basics of SAP External Service Management
Loading Material Masters with LSMW Direct Input method
SAP Finance Tables
Setting up simple Release Procedure for Purchase Requisitions
Change SAP documents -- tables CDHDR and CDPOS
Sort by Newest
Recommend ⤤ Share
LOG IN WITH
Name