LSMW
-
Upload
janryanferol8727 -
Category
Documents
-
view
415 -
download
31
Transcript of LSMW
SAP AG January 2002 1
Accelerating Data Migration: LSM Workbench
Legacy System Migration Legacy System Migration WorkbenchWorkbench
[email protected]@sap.com
SAP AG January 2002 2
Accelerating Data Migration: LSM Workbench
What is
LSMW?
SAP AG January 2002 3
Accelerating Data Migration: LSM Workbench
What is data migration? / Subject of LSM
Data transfer source: non-SAP systems (“legacy systems”) target: SAP System
Initial data transfer from non-SAP systems to an SAP System Move data from legacy system to an SAP System Switch off legacy system
Periodic data transfer (Interfacing) Exchange data between an SAP System and other systems
Position of data migration Requires customized SAP System (customizing must be
finalized)
SAP AG January 2002 4
Accelerating Data Migration: LSM Workbench
Relevance of data migration? Accounts for 15% - 20% of the total SAP 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 January 2002 5
Accelerating Data Migration: LSM Workbench
Data migration in 3 steps
preparatorysteps
1. step 2. step 3. step
checklist LSMW
start target
datain
legacy system
data on
SAP database
fieldmapping and
rules
data import
SAP AG January 2002 6
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 an SAP System.
LSMW uses standard SAP interfaces.
SAP AG January 2002 7
Accelerating Data Migration: LSM Workbench
Requirements
for the use of
LSMW
SAP AG January 2002 8
Accelerating Data Migration: LSM Workbench
Organisational
Customizing of the SAP applications must be finished
Know how in LSMW (1-2 days)
Knowledge of the source data (Which fields means what?)
Knowledge of the SAP application (Which fields means what?)
technical know how
R/3 basis (batch input processing, IDoc processing)
ABAP
System requirements
For LSMW 3.0 (Nov. 2002): R/3 release 6.10
For LSMW 1.7 (Sept. 2000): 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 January 2002 9
Accelerating Data Migration: LSM Workbench
How does
LSMWwork?
SAP AG January 2002 10
Accelerating Data Migration: LSM Workbench
DatenmigrationData Migration
SAP AG January 2002 11
Accelerating Data Migration: LSM Workbench
Define source structures
Bank data
Contact person
Vendor masterDATA
MIGRATION
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
SAP AG January 2002 12
Accelerating Data Migration: LSM Workbench
Define source fields
DATEMIGRATION
Vendor master
Bank data
Contact person
L1 L2 L3 L4 L5 L6 L7 ...
B1 B2
A1
B3 ...
...A2 A3 A4
DATA
MIGRATION
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
SAP AG January 2002 13
Accelerating Data Migration: LSM Workbench
Define structure relationshipsVendor master
L1 L2 L3 L4 L5 L6 L7 ...
Bank dataB1 B2 B3 ...
Contact personA1 ...A2 A3 A4
...
DATA
MIGRATION
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
SAP AG January 2002 14
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
...
Mov
e
1:1 translation
Individual coding
Fixed value/ constant
DATENMIGRATION
DATA
MIGRATION
B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...
SAP AG January 2002 15
Accelerating Data Migration: LSM Workbench
Most common conversion rules predefined
Initial value
Constant
Assign (“MOVE”)
Fixed value
1:1 translation
Translation via intervals
User-defined routines
Prefix
Suffix
Concatenate
Individual ABAP coding
D DEA ATF FR
001...100 10101...200 20201...300 30
SAP AG January 2002 16
Accelerating Data Migration: LSM Workbench
Central conversion rules (reusable rules)
Assure consistent data conversion in different data objects
Material numberMaterial number
Material masterMaterial master
Sales orderSales order
Purchase requisitionPurchase requisition
Purchase orderPurchase order
SAP AG January 2002 17
Accelerating Data Migration: LSM Workbench
Further steps read source data
data conversion
run import
DATA
MIGRATION
SAP AG January 2002 18
Accelerating Data Migration: LSM Workbench
One or several files
SA
P S
tand
ard
Convert dataConvert data
Batch Input processingBatch Input processing
Legacy dataon PC
Legacy dataon PC
Read dataRead data
Converted data
Converted data
Read dataRead dataLegacy data
on application server
Legacy data on application
server
IDoc inboundprocessing
IDoc inboundprocessing
Direct Input processingDirect Input processing
How LSM Workbench works
Structure relations
Field mapping
Conversion rules
Structure relations
Field mapping
Conversion rules
SAP AG January 2002 19
Accelerating Data Migration: LSM Workbench
H Customer #1 (header rec.)P Contact person #1P Contact person #2... ...
What kind of data can be read?
Data from spreadsheet-based applications
MS Excel, MS Access, etc.
Data from host systems on SAP 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”
IdentifyingIdentifyingstringstring
(H=header(H=headerP=position)P=position)
SAP AG January 2002 20
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)
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
SAP AG January 2002 21
Accelerating Data Migration: LSM Workbench
What does
LSMWlook like?
SAP AG January 2002 22
Accelerating Data Migration: LSM Workbench
Define project, subproject and object
Define project, subproject and object
SAP AG January 2002 23
Accelerating Data Migration: LSM Workbench
Select migration step
Select migration step
SAP AG January 2002 24
Accelerating Data Migration: LSM Workbench
Maintainattributes
SAP AG January 2002 25
Accelerating Data Migration: LSM Workbench
Enter structures of
legacy system in the SAP
System
Enter structures of
legacy system in the SAP
System
SAP AG January 2002 26
Accelerating Data Migration: LSM Workbench
Define conversion rules and
field mapping
Define conversion rules and
field mapping
SAP AG January 2002 27
Accelerating Data Migration: LSM Workbench
Generated conversion
program
Generated conversion
program
SAP AG January 2002 28
Accelerating Data Migration: LSM Workbench
Interface for data on PC
Interface for data on PC
SAP AG January 2002 29
Accelerating Data Migration: LSM Workbench
Overview of migration
object
Overview of migration
object
SAP AG January 2002 30
Accelerating Data Migration: LSM Workbench
Overview of migration
object
Overview of migration
object
SAP AG January 2002 31
Accelerating Data Migration: LSM Workbench
Migration customizing:
translation table
Migration customizing:
translation table
SAP AG January 2002 32
Accelerating Data Migration: LSM Workbench
recordingrecording
SAP AG January 2002 33
Accelerating Data Migration: LSM Workbench
Transport of Mapping and Conversion Rules
PurposeMapping and conversion rules that have
been used in an SAP system should be used in another SAP system.
PurposeMapping and conversion rules that have
been used in an SAP system should be used in another SAP system.
ProcedureUse the export and import function of LSMW
Or: create a change request to use the standard transport system of SAP
ProcedureUse the export and import function of LSMW
Or: create a change request to use the standard transport system of SAP
Condition Both SAP systems have the same LSMW-version
Condition Both SAP systems have the same LSMW-version
LSM-Version
3.0
LSM-Version
3.0
SAP AG January 2002 34
Accelerating Data Migration: LSM Workbench
Periodic Transfer of Data (/SAPDMC/SAP_LSMW_INTERFACE)
LSMW:additionalprogram Job
Read data (only files on the application server can be used)
Data conversion
Data import
to bescheduled
SAP AG January 2002 35
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 system) on record level and on field
level
define rules transfer of field contents
SAP AG January 2002 36
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 SAP application
SAP AG January 2002 37
Accelerating Data Migration: LSM Workbench
What LSMW can do
transport the data migration object
via download and upload
via SAP transport system
What LSMW cannot do
extract data from the legacy system
“outbound”: transfer data from SAP into another system
SAP AG January 2002 38
Accelerating Data Migration: LSM Workbench
Advantages and strengths at a glance:
Part of SAP 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 SAP Customizing before processing the import
Free of charge for SAP’s customers and partners
SAP AG January 2002 39
Accelerating Data Migration: LSM Workbench
Advantages and strengths at a glance:
Migrated data in SAP 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 January 2002 40
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 LSM’s flexibility, which allows us to respond very quickly to changing requirements...”
SAP AG January 2002 41
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 I was really impressed by how fast and flexible it was! Fantastic! ...”
SAP AG January 2002 42
Accelerating Data Migration: LSM WorkbenchInformation
Support
Training
LSMW
SAP AG January 2002 43
Accelerating Data Migration: LSM Workbench
Information
Main information medium: SAPNet
www.service.sap.com.de/LSMW
Download of
software (LSMW30.CAR) and further material
installation guide
quick guide (“HowToGuide”)
contact
e-mail: [email protected]
Support
Online-Service-System: component XX-LSM
SAP AG January 2002 44
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 January 2002 45
Accelerating Data Migration: LSM Workbench
Beyond
LSMW
SAP AG January 2002 46
Accelerating Data Migration: LSM Workbench
DX-Workbench
Organize your data migration projects
Generate test data
Use LSMW (or third-party tool) as mapping engine
Fast data load via BAPIs
Handle import errors (restart etc.)
SAP AG January 2002 47
Accelerating Data Migration: LSM Workbench
Legacy System Migration Workbench