Apostila Lsmw - Sap 01
-
Upload
rafael-tinoco -
Category
Documents
-
view
242 -
download
0
Transcript of Apostila Lsmw - Sap 01
-
8/6/2019 Apostila Lsmw - Sap 01
1/45
SAP AG July 1999 1
Accelerating Data Migration: LSM Workbench
Legacy System Migration
Workbench
-
8/6/2019 Apostila Lsmw - Sap 01
2/45
LSMW?
What is
Accelerating Data Migration: LSM Workbench
-
8/6/2019 Apostila Lsmw - Sap 01
3/45
SAP AG July 1999 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)
-
8/6/2019 Apostila Lsmw - Sap 01
4/45
SAP AG July 1999 4
Accelerating Data Migration: LSM Workbench
Relevance of data migration? Accounts for15% - 20% of the total SAP R/3 implementation costs
Smaller implementation projects: up to 40%
Why is data migrationso 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
-
8/6/2019 Apostila Lsmw - Sap 01
5/45
SAP AG July 1999 5
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 non-
SAP system to R/3.
LSMW uses standard R/3 interfaces.
-
8/6/2019 Apostila Lsmw - Sap 01
6/45
SAP AG July 1999 6
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 (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
-
8/6/2019 Apostila Lsmw - Sap 01
7/45
-
8/6/2019 Apostila Lsmw - Sap 01
8/45 SAP AG July 1999 8
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
-
8/6/2019 Apostila Lsmw - Sap 01
9/45
Accelerating Data Migration: LSM Workbench
Requirements
for the use of
LSMW
-
8/6/2019 Apostila Lsmw - Sap 01
10/45 SAP AG July 1999 10
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 or 4.5x
for LSMW 1.0 (Sept. 1998): R/3 release 3.0F or 3.1x
-
8/6/2019 Apostila Lsmw - Sap 01
11/45
work?
LSMW
How does
Accelerating Data Migration: LSM Workbench
-
8/6/2019 Apostila Lsmw - Sap 01
12/45 SAP AG July 1999 12
Accelerating Data Migration: LSM Workbench
DatenmigrationData Migration
-
8/6/2019 Apostila Lsmw - Sap 01
13/45 SAP AG July 1999 13
Accelerating Data Migration: LSM Workbench
Define source structures
Bank data
Contact person
Vendor masterDA
T
A
M
I
GR
A
T
I
O
N
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
-
8/6/2019 Apostila Lsmw - Sap 01
14/45 SAP AG July 1999 14
Accelerating Data Migration: LSM Workbench
Define source fields
D
A
T
E
M
I
G
RA
T
I
O
N
Vendor master
Bank data
Contact person
L1 L2 L3 L4 L5 L6 L7 ...
B1 B2
A1
B3 ...
...A2 A3 A4
D
A
T
A
M
I
GR
A
T
I
O
N
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
-
8/6/2019 Apostila Lsmw - Sap 01
15/45 SAP AG July 1999 15
Accelerating Data Migration: LSM Workbench
Define structure relationshipsVendor masterL1 L2 L3 L4 L5 L6 L7 ...
Bank dataB1 B2 B3 ...
Contact personA1 ...A2 A3 A4
...
D
A
T
A
MI
G
R
A
T
I
O
N
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
-
8/6/2019 Apostila Lsmw - Sap 01
16/45 SAP AG July 1999 16
Accelerating Data Migration: LSM Workbench
Fieldmapping and conversion rulesVendor master
L1 L2 L3 L4 L5 L6 L7 ...
Bank dataB1 B2 B3 ...
Contact personA1 ...A2 A3 A4
...
Move
1:1translation
Individualcoding
Fixed value/constant
D
A
T
E
N
M
I
G
R
A
T
I
O
N
D
A
T
A
M
I
GR
A
T
I
O
N
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
-
8/6/2019 Apostila Lsmw - Sap 01
17/45
-
8/6/2019 Apostila Lsmw - Sap 01
18/45 SAP AG July 1999 18
Accelerating Data Migration: LSM Workbench
Central conversion rules (reusable rules)
Generating standard conversion rules
Same conversion in several data objects
Assure consistent data conversion in different data objects
Material number Material master
Sales order
Purchase requisition
-
8/6/2019 Apostila Lsmw - Sap 01
19/45 SAP AG July 1999 19
Accelerating Data Migration: LSM Workbench
Migration customizing
Rules with several variants
and alternatives
Variable fixed values
user-defined routines
Check against R/3 customizing
Input file for the import program
-
8/6/2019 Apostila Lsmw - Sap 01
20/45 SAP AG July 1999 20
Accelerating Data Migration: LSM Workbench
Further steps
generate conversion program
read source data
data conversion
run import
D
A
T
A
M
I
GR
A
T
I
O
N
-
8/6/2019 Apostila Lsmw - Sap 01
21/45
-
8/6/2019 Apostila Lsmw - Sap 01
22/45 SAP AG July 1999 22
Accelerating Data Migration: LSM Workbench
H Customer #1 (header rec.)
P Contact person #1
P Contact person #2
... ...
IdentifyingIdentifying
stringstring
(H=header(H=header
P=position)P=position)
Interfaces to legacy-system data
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 hexadecimallength field at the beginning
With and without separator
Code page conversion
Hierarchical data with identifying field values
-
8/6/2019 Apostila Lsmw - Sap 01
23/45 SAP AG July 1999 23
Accelerating Data Migration: LSM Workbench
Which data can be migrated via LSMW?
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
-
8/6/2019 Apostila Lsmw - Sap 01
24/45
LSMW
What does
look like?
Accelerating Data Migration: LSM Workbench
-
8/6/2019 Apostila Lsmw - Sap 01
25/45 SAP AG July 1999 25
Accelerating Data Migration: LSM Workbench
Define project,
subprojectand object
Define project,
subprojectand object
-
8/6/2019 Apostila Lsmw - Sap 01
26/45
SAP AG July 1999 26
Accelerating Data Migration: LSM Workbench
Select
migration step
Select
migration step
-
8/6/2019 Apostila Lsmw - Sap 01
27/45
SAP AG July 1999 27
Accelerating Data Migration: LSM Workbench
Enter
structures oflegacy system
in R/3
Enter
structures oflegacy system
in R/3
-
8/6/2019 Apostila Lsmw - Sap 01
28/45
SAP AG July 1999 28
Accelerating Data Migration: LSM Workbench
Define
conversion
rules andfield
mapping
Define
conversion
rules andfield
mapping
-
8/6/2019 Apostila Lsmw - Sap 01
29/45
SAP AG July 1999 29
Accelerating Data Migration: LSM Workbench
Generated
conversionprogram
Generated
conversionprogram
-
8/6/2019 Apostila Lsmw - Sap 01
30/45
-
8/6/2019 Apostila Lsmw - Sap 01
31/45
-
8/6/2019 Apostila Lsmw - Sap 01
32/45
SAP AG July 1999 32
Accelerating Data Migration: LSM Workbench
Overview of
migrationobject
Overview of
migrationobject
-
8/6/2019 Apostila Lsmw - Sap 01
33/45
SAP AG July 1999 33
Accelerating Data Migration: LSM Workbench
Migration
customizing:
translation table
Migration
customizing:
translation table
-
8/6/2019 Apostila Lsmw - Sap 01
34/45
SAP AG July 1999 34
Accelerating Data Migration: LSM Workbench
Edit recordingEdit recording
-
8/6/2019 Apostila Lsmw - Sap 01
35/45
SAP AG July 1999 35
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
A l i D Mi i LSM W kb h
-
8/6/2019 Apostila Lsmw - Sap 01
36/45
SAP AG July 1999 36
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
A l ti D t Mi ti LSM W kb h
-
8/6/2019 Apostila Lsmw - Sap 01
37/45
SAP AG July 1999 37
Accelerating Data Migration: LSM Workbench
Examples of positive feedback:
... 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 LSM Workbench saved the day. Without it, we would
never have been finished on time.
...in our opinion, the major benefit is LSMs flexibility, whichallows us to respond very quickly to changing requirements...
A l ti D t Mi ti LSM W kb h
-
8/6/2019 Apostila Lsmw - Sap 01
38/45
SAP AG July 1999 38
Accelerating Data Migration: LSM Workbench
Examples of positive feedback:
...within two and a half hours, we managed to generate our
own migration object for the material master transfer, and
successfully migrate the material masters from the EXCEL
sheet. It was a complete success! ...
...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.
...I used the LSMW to transfer customers and creditors, and Iwas really impressed by how fast and flexible it was!
Fantastic! ...
A l ti D t Mi ti LSM W kb h
-
8/6/2019 Apostila Lsmw - Sap 01
39/45
Accelerating Data Migration: LSM WorkbenchInformation
Support
Training
LSMW
-
8/6/2019 Apostila Lsmw - Sap 01
40/45
-
8/6/2019 Apostila Lsmw - Sap 01
41/45
A l ti D t Mi ti LSM W kb h
-
8/6/2019 Apostila Lsmw - Sap 01
42/45
LSMW
Beyond
Accelerating Data Migration: LSM Workbench
-
8/6/2019 Apostila Lsmw - Sap 01
43/45
Accelerating Data Migration: LSM Workbench
-
8/6/2019 Apostila Lsmw - Sap 01
44/45
SAP AG July 1999 44
Accelerating Data Migration: LSM Workbench
Outlook
Release 4.6
New-DX Workbench and LSMW
Release 5.0
Unified solution for all
data migration issues
Accelerating Data Migration: LSM Workbench
-
8/6/2019 Apostila Lsmw - Sap 01
45/45
Accelerating Data Migration: LSM Workbench
Legacy System Migration
Workbench