Vous êtes sur la page 1sur 37

LSMW

ES INTEGRATION

25th May 2012


Agenda
2

1 Purpose

2 Basic Principles of the LSM Workbench

3 Characteristics

4 Project, subproject and object

5 Interactive procces guide

6 Data migration. Step by step


Purpose
3

 This introduction is intended to allow a quick entry into the work with
the Legacy System Migration Workbench ("LSMW").

 Learn the basics of the Legacy System Migration Workbench


("LSMW").
Schematic Flow of Data Migration
with the LSM Workbench
4

Accelerating Data Migration: LSM Workbench


One or several
How LSM Workbench works files

Legacy data
on PC
Read data Read data
Structure
Legacy data
relations on application
server

Field
Convert data
mapping

SAP Standard
Batch Input
Conversion processing
rules
Converted Direct Input
data processing

IDoc inbound
processing

 SAP AG July 1999 21


Characteristics
5

LSMW is a Non-SAP to SAP communication TOOL

The LSM Workbench is a tool that supports data transfer from non-SAP systems to R/3. The
main functions of the LSM Workbench are:
 Import data (legacy data in spreadsheet tables and/or sequential files)
 Convert data (from source format to target format)
 Import data (into the database of the R/3 application)

The tool supports conversion of data of the old system in a convenient way. The data can
then be imported into the R/3 system via batch input, direct input, BAPIs or IDocs.

Furthermore, the LSM Workbench provides a recording function that allows to generate a
"data migration object" in an entry or change transaction.
Initial transaction: LSMW
6
Project, Subproject and Object
7

On the initial screen, you can create a new project, corresponding subprojects and objects via
Edit -> Create new entry.
 Project: An ID with a maximum of 10 characters to name your data transfer project. If you
want to transfer data from several legacy systems, you may create a project e.g. for every
legacy system.
 Subproject: An ID with a maximum of 10 characters that is used as further structuring
attribute.
 Object: An ID with a maximum of 10 characters to name the business object.
Interactive process guide
8

After selecting an object, ENTER or CONTINUE leads you to the interactive process guide. Here
you are guided through the individual steps of data migration.
Data Migration – Step by Step
9

Maintain Object Attributes:


 In this step, object type and import technique are selected.

Create
recording

After create recording, it will be


entered here.
Data Migration – Step by Step
10

Create recording:
 It´s needed to mark all the fields you want to load.
Data Migration – Step by Step
11

It´s needed to enter a


name and delete the
default value for all
fields you have
selected.
Data Migration – Step by Step
12

When recording is finished, it´s needed to asign it to object:


Data Migration – Step by Step
13

Step 1 is finished:

Next step
Data Migration – Step by Step
14

Create source structure (Step 2):


Data Migration – Step by Step
15

Maintain source fields (Step3):


 It´s needed a text file with the fields

More than it´s needed


Data Migration – Step by Step
16

 Length of fields has to be modified


Data Migration – Step by Step
17

 It´s needed to enter the lenght of fields


Data Migration – Step by Step
18

Maintain structure relations (Step 4):


 Here, it´s assigned object to its structure. There is only needed, to push “modify” and
then save.
Data Migration – Step by Step
19

Maintain Field Mapping and Conversion Rules (Step 5):


 In this step it is assigned the fields from structure, constants, rule or translations.
 To assign a field from structure:
Data Migration – Step by Step
20

Maintain Field Mapping and Conversion Rules (Step 5):


 Select the target field to be assigned.
 Push Source Field.
 Choose the field from structure. This field will be assigned.
 More than one field from structure could be assigned.
 Target fields could be empty.
Data Migration – Step by Step
21

Maintain Field Mapping and Conversion Rules (Step 5):


 To do others functions:

Assign structure field to target field Create translations

Reset field to initial

Create ABAP rules Make the field constant


Data Migration – Step by Step
22

Maintain Fixed Values, Translations, User-Defined Routines (Step 6):


 Translations and routines:
Data Migration – Step by Step
23

Maintain Fixed Values, Translations, User-Defined Routines (Step 6):


 Translations, first window:

Here, it´s defined source field and target field.


Type of source field will always be C and type
of target field CHAR.
Data Migration – Step by Step
24

Maintain Fixed Values, Translations, User-Defined Routines (Step 6):


 Translations, second window:

Default values

Don´t select this


Data Migration – Step by Step
25

Maintain Fixed Values, Translations, User-Defined Routines (Step 6):


 Translations, third window:

Old value New value


Always selected for each entry in table
Data Migration – Step by Step
26

Maintain Fixed Values, Translations, User-Defined Routines (Step 6):


 Routines:

This is default code and can´t be


modified.

Abap code is inserted here. If they are needed more lines press enter.
Data Migration – Step by Step
27

Specify files (Step 7):


Data Migration – Step by Step
28

Specify files (Step 7):

After saving
Data Migration – Step by Step
29

Assign files (Step 8):


 Only press modify and after this save:
Data Migration – Step by Step
30

Read data (Step 9):


 Only execute and check that all entries are read.
Data Migration – Step by Step
31

Display read data (Step 10):


 Here it´s shown data read. It can be displayed if any errors have occurred.
 Only push green icon to display.

Data read
Data Migration – Step by Step
32

Convert data (Step 11):


 Only is needed to execute.
Data Migration – Step by Step
33

Display converted data (Step 12):


 Here it´s shown data converted. It can be displayed if any errors have
occurred.
 Only push green icon to display.

Data converted
Data Migration – Step by Step
34

Create batch input session (Step 13):


 Select a name and execute.

Enter name

Select if it´s wanted to keep the batch


Data Migration – Step by Step
35

Run batch input session (Step 15):


 This step goes to SM35 to run the batch.
Data Migration – Step by Step
36

Export/import proyect:
 If it´s needed to transport the project (and to import in target system),
there is to download to a file.
Thanks
37

Thanks for listening!!!

Vous aimerez peut-être aussi