Sie sind auf Seite 1von 39

Legacy

Legacy System
System Migration
Migration
Workbench
Workbench
(LSMW)
(LSMW)

What
What is
is Data
Data Migration
Migration ??

Data
Data Migration
Migration (also
(also called
called data
data conversion
conversion or
or
data
data transition)
transition) refers
refers to
to the
the transfer
transfer of
of data
data
from
from company
company legacy
legacy systems
systems to
to
SAP
SAP R/3
R/3

One
Oneof
ofthe
themost
mostcritical
criticalsuccess
successfactors
factorsfor
forany
anyimplementation
implementation

What
What are
are the
the types
types of
of data
data to
to be
be migrated
migrated ??
Master
Master Data
Data

Material
Material Masters,
Masters, Vendor
Vendor Masters,
Masters, Customer
Customer Masters
Masters etc.
etc.

Transaction
Transaction Data
Data

Sales
Sales Orders,
Orders, Purchase
Purchase Orders,
Orders, Production
Production Orders
Orders etc.
etc.

Configuration
Configuration Data
Data

Plants,
Plants, Storage
Storage Locations,
Locations, Purchasing
Purchasing Groups
Groups etc.
etc.

When
When do
do we
we do
do Data
Data Migration
Migration ??

Data Migration
Conversion Programs
Data Collection
Data Cleanup and Validation
Data Upload

What
What are
are the
the methods
methods of
of Data
Data Migration
Migration ??
Manual
Manual

Configuration
Configuration Data
Data (Number
(Number of
of records
records <
< 100)
100)

CATT
CATT (Computer
(Computer Aided
Aided Test
Test Tool)
Tool)
Number
Number of
of records
records <
< 1000
1000

BDC
BDC (Batch
(Batch Data
Data Conversion)
Conversion)

Standard
Standard BDCs
BDCs provided
provided by
by SAP
SAP or
or ABAP
ABAP development
development

LSMW
LSMW (Legacy
(Legacy System
System Migration
Migration Workbench)
Workbench)
Configurable
Configurable tool
tool for
for data
data migration
migration

What
What is
is LSM
LSM Workbench
Workbench ??
Migrates
Migrates business
business objects
objects instead
instead of
of single
single tables
tables

E.g
E.gUpload
Uploadof
ofmaterial
materialmaster
master(MARA,
(MARA,MARC,
MARC,MARD,
MARD,MBEW
MBEWetc.)
etc.)

Defining
Defining flexible
flexible conversion
conversion rules:
rules: adjustable
adjustable through
through migration
migration
customizing
customizing
Makes
Makesuse
useof
ofstandard
standardSAP
SAPupload
uploadprograms
programsfor
forcritical
criticalbusiness
business
objects
objects
Allows
Allowsrecording
recordingof
ofprograms
programs(similar
(similarto
toCATT)
CATT)and
andthen
thendefining
defining
the
theconversion
conversionrules
rules

Generates
Generates conversion
conversion programs
programs from
from defined
defined conversion
conversion rules
rules

What
What are
are the
the Pre-defined
Pre-defined Data
Data Objects
Objects ??
FI
FI

G/L
G/L Accounts,
Accounts, Vendors,
Vendors, Customers,
Customers, Financial
Financial documents
documents

MM
MM

Materials,
Materials, Purchase
Purchase Info
Info Records,
Records, Stocks,
Stocks, Reservations
Reservations

PP
PP

Bills
Bills of
of Material,
Material, Work
Work Centers,
Centers, Routings
Routings

SD
SD

Customers,
Customers, Conditions,
Conditions, Sales
Sales Orders
Orders

What
What is
is the
the LSMW
LSMW Process
Process ??

Legacy
system
data

Host
interface
Spreadsheet
interface

Field
mapping and
conversion
rules

Batch input
session

Direct input
session

Transfer
program
(batch input,
direct input)

Input file for


LSM
conversion
program

Conversion
program

Input file
for BI/DI
program

Conversion
and error log

Transaction Code: LSMW


Create a Project, Subproject and Object

Common for all uploads

Depends on method of input

Steps in executing an LSMW


Object

Step 1

Use
Standard SAP Object or
Record the transaction

Step 2

Create a source structure (can be one or multiple).


This refers to the structure of the upload file.

Step 3

In this step you specify,

Sequence of fields in the upload structure.

Type of field: Char, Numeric, Date etc.

Length of field (should be less than the

corresponding SAP field length)

Step 4

Assign the source structure created to the


SAP upload structure.

Step 5
Define conversion rules: Constant

Step 5
Define conversion rules: Source Field

Step 5

Step 5

Step 5

Step 5

Step 6

Arrange the data upload file as per specified format.


Save the upload file as a Text, tab delimited file (.txt).

Step 7

Specify the upload


file path.
Tabulator
Field names at
beginning
ASCII

Step 7

Give path on application server


1. .read file
2. .conv file

Step 8

Assign the file to the source structure.

Step 9

Read Data.

Step 9

Log for Read Data. Check for errors, if any.


Reads file from desktop and writes it to the
application server as a .read file.
Input is only the .txt file, not the
conversion rules.

Step 10

Display Read
Data

Step 10

Log for Converted Data. Check for errors, if


any.
Reads from .read file and writes it to the
application server as a .conv file.
Input are the .read file and the conversion
rules.

Step 11

Display Converted Data

Step 11

Step 12

Start Input Program


Direct Input
Batch Input

Step 12

Logical/Physical file name


(.conv file)
Max. no. of errors
Transactions per commit
Lock Mode

Step 12

Upload completion message.

Step 12

Upload log.

Check the upload.

How
How to
to create
create User
User Defined
Defined Migration
Migration Objects
Objects ??

Recording
Recording aa transaction
transaction e.g.
e.g. MM01
MM01
Editing
Editing the
the recorded
recorded transaction
transaction

Changing
Changingfield
fieldnames
namesand
andfield
fielddescriptions
descriptions
Setting
Settingdefault
defaultvalues
values

Generating
Generating aa data
data structure
structure in
in the
the R/3
R/3 data
data dictionary
dictionary
Mapping
Mapping legacy
legacy data
data to
to these
these fields
fields

What
What are
are the
the advantages
advantages of
of LSMW
LSMW ??
Zero
Zero to
to minimal
minimal ABAP
ABAP development
development required
required
Conversion
Conversion rules
rules can
can be
be changed
changed whenever
whenever required
required
Reusability
Reusability of
of the
the same
same object
object by
by copying
copying and
and then
then modifying
modifying
Very
Very high
high time
time savings:
savings: E.g.
E.g. Material
Material Master
Master Upload
Upload

Configuration
Configurationof
ofthe
theobject:
object:10mins
10mins
Testing
Testingthe
theobject:
object:10mins
10mins
Data
Dataupload:
upload:1min
1min--2hrs
2hrsmax.
max.(depending
(dependingon
onno.
no.of
ofrecords)
records)

Validation
Validation with
with configured
configured objects
objects
User
User friendly
friendly

How
How do
do the
the various
various methods
methods compare
compare ??
CATT
CATT

PROS
PROS
Allows
Allowsyou
youto
to
record
recordtransactions
transactions
Very
Veryefficient
efficientififno.
no.
of
ofrecords
recordsare
areless
less
CONS
CONS
Not
Notaarobust
robusttool
toolifif
no.
no.of
ofrecords
recordsare
are
more
more(>1000)
(>1000)

BDC
BDC

PROS
PROS
Proven
Provenand
andtimetimetested
testedmethod
method
Very
Veryefficient
efficienteven
even
ififno.
no.of
ofrecords
records
are
aremore
more
CONS
CONS
Requires
RequiresABAP
ABAP
development
development
Additional
AdditionalABAP
ABAP
development
developmenttime
time
and
andcosts
costs

LSMW
LSMW

PROS
PROS
Zero/minimal
Zero/minimal
ABAP
ABAPdevelopment
development
Very
Veryefficient
efficienteven
even
ififno.
no.of
ofrecords
records
are
aremore
more(100000)
(100000)
High
Hightime
timeand
andcost
cost
saving
saving
Most
Mostflexible
flexible
CONS
CONS
Upload
Uploadrate
rateslower
slower
than
BDCs
in
than BDCs insome
some
cases
cases

Das könnte Ihnen auch gefallen