Sie sind auf Seite 1von 40

Accelerating Data Migration: LSM Workbench

Legacy System Migration Workbench


lsm@sap.com
SAP AG May 2000 1

Accelerating Data Migration: LSM Workbench

What is

LSMW?
SAP AG May 2000 2

Accelerating Data Migration: LSM Workbench


What is LSMW (Legacy System Migration Workbench) ?

LSMW is a tool based on R/3. LSMW supports periodic and single data transfer from a nonSAP system to R/3. LSMW uses standard R/3 interfaces.

SAP AG May 2000 3

Accelerating Data Migration: LSM Workbench


What is data migration? / Subject of LSM

Data transfer

source: non-SAP systems (legacy systems) target: SAP R/3

Initial data transfer from non-SAP systems to SAP R/3


Move data from legacy system to SAP R/3 Switch off legacy system

Periodic data transfer (Interfacing)


Exchange data between R/3 and other systems

Position of data migration


Requires customized R/3 System (customizing must be finalized)

SAP AG May 2000 4

Accelerating Data Migration: LSM Workbench

Relevance of data migration?

Accounts for 15% - 20% of the total SAP R/3 implementation costs Smaller implementation projects: up to 40%

Why is data migration so expensive?

In many cases

you need to develop conversion programs (which can not be used later on) you need to deal with lots of technical details and different technologies data volume depends on the project volume the effort for programming does not depend on the data volume

SAP AG May 2000 5

Accelerating Data Migration: LSM Workbench

Data migration in 3 steps


start 1. step 2. step 3. step target

data in legacy system

preparatory steps

fieldmapping and rules

data import

data on R/3 data base

checklist

LSMW

SAP AG May 2000 6

Accelerating Data Migration: LSM Workbench

Requirements for the use of

LSMW
SAP AG May 2000 7

Accelerating Data Migration: LSM Workbench


Organisational

Customizing of the R/3 applications must be finished Know how in LSMW (1-2 days) Knowledge of the source data (Which fields means what?) Knowledge of the R/3 application (Which fields means what?) technical know how

R/3 basis (batch input processing, IDoc processing) ABAP

System requirements
for LSMW 1.6 (July 1999): R/3 release 4.0x, 4.5x or 4.6x
for LSMW 1.0 (Sept. 1998): R/3 release 3.0F or 3.1x

SAP AG May 2000 8

Accelerating Data Migration: LSM Workbench

How does

LSMW
work?
SAP AG May 2000 9

Accelerating Data Migration: LSM Workbench

Data Migration Datenmigration

SAP AG May 2000 10

Accelerating Data Migration: LSM Workbench

Define source structures


D A T A M I G R A T I O N

Vendor master

Bank data Contact person

A1 A2

A3 A4

A5

A6

A7

...

B1

B2

B3

...

C1

C2

C3

C4

...

SAP AG May 2000 11

Accelerating Data Migration: LSM Workbench

Define source fields


Vendor master
D A T E A M M I I G G R R A A T T I I O O N N L1 L2 L3 L4 L5 L6 L7 ...

B1

B2

B3

...

Bank data
A4 ...

A1

A2

A3

Contact person

A1 A2

A3 A4

A5

A6

A7

...

B1

B2

B3

...

C1

C2

C3

C4

...

SAP AG May 2000 12

Accelerating Data Migration: LSM Workbench


Vendor master
L1 L2 L3 L4 L5 L6

Define structure relationships


L7 ...

B1
D A T A M I G R A T I O N

B2

B3

...

Bank data

A1

A2

A3

A4

...

Contact person

A1 A2

A3 A4

A5

A6

A7

...

B1

B2

B3

...

C1

C2

C3

C4

...

SAP AG May 2000 13

...

Accelerating Data Migration: LSM Workbench


Vendor master
L1 L2 L3 L4 L5 L6 L7

Fieldmapping and conversion rules


...

D A T E A N M M I I G G R R A A T T I I O O N N

B1

B2

B3

...

Bank data

A1

A2

A3

A4

...

Contact person

Fixed value/ constant

A1 A2

A3 A4

A5

A6

A7

...

B1

B2

B3

...

C1

C2

C3

C4

...

SAP AG May 2000 14

...

Accelerating Data Migration: LSM Workbench


Most common conversion rules predefined


SAP AG May 2000 15

Initial value
Constant Assign (MOVE) Fixed value 1:1 translation Translation via intervals User-defined routines

D DE A AT F FR

Prefix
Suffix Concatenate Individual ABAP coding

001...100 10 101...200 20 201...300 30

Accelerating Data Migration: LSM Workbench

Further steps
read source data
D A T A M I G R A T I O N

data conversion
run import

SAP AG May 2000 16

Accelerating Data Migration: LSM Workbench

How LSM Workbench works

One or several files


Legacy data on PC

Structure relations

Read data

Read data
Legacy data on application server

Field mapping

Convert data

R/3 Standard

Conversion rules Converted data

Batch Input processing Direct Input processing IDoc inbound processing

SAP AG May 2000 17

Accelerating Data Migration: LSM Workbench


What kind of data can be read?

Data from spreadsheet-based applications

MS Excel, MS Access, etc.

Data from host systems on R/3 application servers Fixed record length, end of record indicator or hexadecimal length field at the beginning With and without separator Code page conversion Hierarchical data with identifying field values
Identifying string (H=header P=position) H P P ... Customer #1 (header rec.) Contact person #1 Contact person #2 ...

SAP AG May 2000 18

Accelerating Data Migration: LSM Workbench


Which data can be migrated via LSMW? ==> all data where an interface exists

Standard Batch Input, Standard Direct Input

precondition: application program entries in tables SXDA* (DX-Workbench) Recording a transaction Flat target structure (no header-position constellations with variable amount of positions) All BAPIs for which an ALE-IDoc interface has been generated (by SAP development) All

Batch Input Recording

Methods for Business Objects (BAPIs)

IDocs

SAP AG May 2000 19

Accelerating Data Migration: LSM Workbench

What does

LSMW
look like?
SAP AG May 2000 20

Accelerating Data Migration: LSM Workbench

Define project, subproject and object

SAP AG May 2000 21

Accelerating Data Migration: LSM Workbench

Select migration step

SAP AG May 2000 22

Accelerating Data Migration: LSM Workbench

Maintain attributes

SAP AG May 2000 23

Accelerating Data Migration: LSM Workbench Enter structures of legacy system in R/3

SAP AG May 2000 24

Accelerating Data Migration: LSM Workbench

Define conversion rules and field mapping

SAP AG May 2000 25

Accelerating Data Migration: LSM Workbench

Generated conversion program

SAP AG May 2000 26

Accelerating Data Migration: LSM Workbench

Interface for data on PC

SAP AG May 2000 27

Accelerating Data Migration: LSM Workbench Overview of migration object

SAP AG May 2000 28

Accelerating Data Migration: LSM Workbench Overview of migration object

SAP AG May 2000 29

Accelerating Data Migration: LSM Workbench

recording

SAP AG May 2000 30

Accelerating Data Migration: LSM Workbench

Periodic Transfer of Data


(/SAPDMC/SAP_LSMW_INTERFACE)

LSMW: additional to be program scheduled

Job
Read data (only files on the application server can be used)

Data conversion

Data import

SAP AG May 2000 31

Accelerating Data Migration: LSM Workbench


What LSMW can do

organize the data migration project

project, subproject, object

document the data migration project define data conversion per object

select target

business object method import technique

(p.e. customer master, material master) (p.e. create, change) (p.e. batch-input, IDoc)

define source

structure of the source data (segments, fields, file attributes etc) between source and target (SAP R/3) on record level and on field level transfer of field contents

define relations

define rules

SAP AG May 2000 32

Accelerating Data Migration: LSM Workbench


What LSMW can do

read data (technical conversion) convert data (conversion of values) import data

with a standard import technique

batch-input

direct input
method for a business-object (BAPI) IDoc technique

this means:

LSMW does not write data into the databases of the applications precondition for the use of LSMW is the availability of a data transfer interface in the R/3 application

SAP AG May 2000 33

Accelerating Data Migration: LSM Workbench


What LSMW can do

transport the data migration object

via download and upload via R/3 transport system

What LSMW cannot do


extract data from the legacy system outbound: transfer data from SAP R/3 into another system

SAP AG May 2000 34

Accelerating Data Migration: LSM Workbench


Advantages and strengths at a glance:

Part of R/3 and therefore platform-independent

Wide range of data conversion techniques (fixed values, translation, ABAP coding, etc.)
Migration customizing: no literals in rules Conversion program generated from conversion rules User guidance: data migration in 14~20 steps Interface for data in spreadsheet format Check against R/3 Customizing before processing the import Free of charge for SAPs customers and partners

SAP AG May 2000 35

Accelerating Data Migration: LSM Workbench


Advantages and strengths at a glance:

Migrated data in R/3 is consistent

user friendly
only basis ABAP knowledge necessary in most cases only few programming has to be done

supports data transfer for the most important master and transaction data

SAP AG May 2000 36

Accelerating Data Migration: LSM Workbench

Information

Support
Training

LSMW
SAP AG May 2000 37

Accelerating Data Migration: LSM Workbench


Information

Main information medium: SAPNet

www.service.sap.com.de/LSMW

Download of

software (LSMW16.CAR) and further material installation guide quick guide (HowToGuide)

contact

e-mail: lsm@sap.com

Support
Online-Service-System: component XX-LSM

SAP AG May 2000 38

Accelerating Data Migration: LSM Workbench


Training

upon request part of the data migration training BC420 in release 4.6 self-study via examples in SAPNET

SAP AG May 2000 39

Accelerating Data Migration: LSM Workbench

Legacy System Migration Workbench


lsm@sap.com

SAP AG May 2000 40

Das könnte Ihnen auch gefallen