Professional Documents
Culture Documents
Workbench
ACE
What is
LSMW?
Accelerating Data Migration: LSM
Workbench
ACE
What is data migration? / Subject of LSM
Data transfer
source: non-SAP systems (“legacy systems”)
target: SAP R/3
data
data fieldmapping
preparatory data import on R/3
in and
steps data
legacy rules base
system
checklist LSMW
Accelerating Data Migration: LSM
Workbench
ACE
What is LSMW (Legacy System Migration Workbench) ?
Requirements
LSMW
Accelerating Data Migration: LSM
Workbench
ACE
Organizational
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
Accelerating Data Migration: LSM
Workbench
ACE
How does
LSMW
work?
Accelerating Data Migration: LSM
Workbench
ACE
Data Migration
Datenmigration
Accelerating Data Migration: LSM
Workbench
ACE
Define source structures
D Vendor master
A
T
A
M Bank data
I
G
R Contact person
A
T
I
O
N
D L1 L2 L3 L4 L5 L6 L7 ...
A
T
E
A
M B1 B2 B3 ... Bank data
M
I
I
G
G Contact person
R A1 A2 A3 A4 ...
R
A
A
T
T
I
I
O
O
N
N
...
Accelerating Data Migration: LSM
Workbench
ACE
Vendor master Fieldmapping and conversion rules
L1 L2 L3 L4 L5 L6 L7 ...
D
A B1 B2 B3 ... Bank data
T
E
A
N Contact person
M A1 A2 A3 A4 ...
M
I
I
G
G
R
1:1 translati
R
A
Move
A
T
In
T
d
I
ivi
I
d
O
ua
O
on
lc
N
od
i ng
Fixed value/
constant
...
Accelerating Data Migration: LSM
Workbench
ACE
Most common conversion rules predefined
Initial value D DE
A AT
Constant F FR
Assign (“MOVE”)
Fixed value
1:1 translation
Translation via intervals
User-defined routines 001...100 10
101...200 20
Prefix 201...300 30
Suffix
Concatenate
Individual ABAP coding
Accelerating Data Migration: LSM
Workbench
ACE
Central conversion rules (reusable rules)
Assure consistent data conversion in different data objects
Material master
Sales order
Material number
Purchase requisition
Purchase order
Accelerating Data Migration: LSM
Workbench
ACE
Further steps
read source data
D
A data conversion
T
A
run import
M
I
G
R
A
T
I
O
N
Accelerating Data Migration: LSM
Workbench
ACE
One or several
How LSM Workbench works files
Legacy data
on PC
Read data Read data
Legacy data
Structure on application
relations server
Convert data
Field mapping
R/3 Standard
Batch Input
Conversion rules processing
IDoc inbound
processing
Accelerating Data Migration: LSM
Workbench
ACE
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”
H Customer #1 (header rec.)
Identifying P Contact person #1
string P Contact person #2
(H=header ... ...
P=position)
Accelerating Data Migration: LSM
Workbench
ACE
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)
Batch Input Recording
Recording a transaction
Flat target structure (no header-position constellations with variable amount of positions)
Methods for Business Objects („BAPIs“)
All BAPIs for which an ALE-IDoc interface has been generated
(by SAP development)
IDocs
All
Accelerating Data Migration: LSM
Workbench
ACE
What does
LSMW
look like?
Accelerating Data Migration: LSM
Workbench
ACE
Define project,
subproject
and object
Accelerating Data Migration: LSM
Workbench
ACE
Select
migration step
Accelerating Data Migration: LSM
Workbench
ACE
Maintain
attributes
Accelerating Data Migration: LSM
Workbench
ACE
Enter
structures of
legacy system
in R/3
Accelerating Data Migration: LSM
Workbench
ACE
Define
conversion
rules and
field
mapping
Accelerating Data Migration: LSM
Workbench
ACE
Generated
conversion
program
Accelerating Data Migration: LSM
Workbench
ACE
Interface for
data on PC
Accelerating Data Migration: LSM
Workbench
ACE
Overview of
migration
object
Accelerating Data Migration: LSM
Workbench
ACE
Overview of
migration
object
Accelerating Data Migration: LSM
Workbench
ACE
Migration
customizing:
translation table
Accelerating Data Migration: LSM
Workbench
ACE
recording
Accelerating Data Migration: LSM
Workbench
ACE
Purpose
Mapping and conversion rules that have
been used in a R/3 system should be used in
another R/3 system.
Procedure
Use the export and import function of LSMW
Or: create a change request to use the standard transport
system of R/3
LSM- LSM-
Version Version Condition
1.6
1.6
Both R/3 systems have the same LSMW-version
(to transport rules from version 1.0 to 1.6 you must either convert the rules to 1.6 format
before the export or import to version 1.0 and then do the upgrade of the rules)
Accelerating Data Migration: LSM
Workbench
ACE
Periodic Transfer of Data
(/SAPDMC/SAP_LSMW_INTERFACE)
LSMW:
additional to be
program scheduled Job
Data conversion
Data import
Accelerating Data Migration: LSM
Workbench
ACE
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 (p.e. customer master, material master)
method (p.e. create, change)
import technique (p.e. batch-input, IDoc)
define source
structure of the source data (segments, fields, file attributes etc)
define relations
between source and target (SAP R/3) on record level and on field level
define rules
transfer of field contents
Accelerating Data Migration: LSM
Workbench
ACE
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
Accelerating Data Migration: LSM
Workbench
ACE
What LSMW can do
transport the data migration object
via download and upload
via R/3 transport system
“... Just wanted to let you know us here at ... We are very
pleased with the LSM product. We are using it for most of our
conversions and have found it to be of tremendous help and
quality. ...”
“...the transfer of master data on June 12, and of the open items
on June 19, 1998, meant that we could go live the same day.”
Support
Training
LSMW
Accelerating Data Migration: LSM
Workbench
ACE
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
Accelerating Data Migration: LSM
Workbench
ACE
Training
upon request
part of the data migration training BC420 in release 4.6
self-study via examples in SAPNET
Accelerating Data Migration: LSM
Workbench
ACE
Beyon
d
LSMW
Accelerating Data Migration: LSM
Workbench
ACE
New DX-Workbench (Release 4.6)
Release 5.0
lsm@sap.com