48
Accelerating Data Migration: LSM Workbench ACE Legacy System Migration Legacy System Migration Workbench Workbench

Apresentacao Lsmwpres ABAP 191201

  • Upload
    rdt1981

  • View
    19

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Legacy System Migration Legacy System Migration WorkbenchWorkbench

Page 2: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

What is

LSMW?

Page 3: Apresentacao Lsmwpres ABAP 191201

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

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)

Page 4: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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

Page 5: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Data migration in 3 steps

preparatorysteps

1. step 2. step 3. step

checklist LSMW

start target

datain

legacy system

data on R/3 database

fieldmapping and

rules

data import

Page 6: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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.

Page 7: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Requirements

for the use of

LSMW

Page 8: Apresentacao Lsmwpres ABAP 191201

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

Page 9: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

How does

LSMWwork?

Page 10: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

DatenmigrationData Migration

Page 11: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Define source structures

Bank data

Contact person

Vendor masterDATA

MIGRATION

B1 B2 B3 ... C1 ...C2 C3 C4A1 A2 A3 A4 A5 A6 A7 ...

Page 12: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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 ...

Page 13: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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 ...

Page 14: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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 ...

Page 15: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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

Page 16: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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

Page 17: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Further steps read source data

data conversion

run import

DATA

MIGRATION

Page 18: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

One or several files

R/3 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

Page 19: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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 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”

IdentifyingIdentifyingstringstring

(H=header(H=headerP=position)P=position)

Page 20: Apresentacao Lsmwpres ABAP 191201

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

Page 21: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

What does

LSMWlook like?

Page 22: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Define project, subproject and object

Define project, subproject and object

Page 23: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Select migration step

Select migration step

Page 24: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Maintainattributes

Page 25: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Enter structures of

legacy system in R/3

Enter structures of

legacy system in R/3

Page 26: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Define conversion rules and

field mapping

Define conversion rules and

field mapping

Page 27: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Generated conversion

program

Generated conversion

program

Page 28: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Interface for data on PC

Interface for data on PC

Page 29: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Overview of migration

object

Overview of migration

object

Page 30: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Overview of migration

object

Overview of migration

object

Page 31: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Migration customizing:

translation table

Migration customizing:

translation table

Page 32: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

recordingrecording

Page 33: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Transport of Mapping and Conversion Rules

PurposeMapping and conversion rules that have

been used in a R/3 system should be used in another R/3 system.

PurposeMapping and conversion rules that have

been used in a R/3 system should be used in another R/3 system.

ProcedureUse the export and import function of LSMW

Or: create a change request to use the standard transport system of R/3

ProcedureUse the export and import function of LSMW

Or: create a change request to use the standard transport system of R/3

Condition 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)

Condition 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)

LSM-Version

1.6

LSM-Version

1.6

Page 34: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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

Page 35: Apresentacao Lsmwpres ABAP 191201

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

Page 36: Apresentacao Lsmwpres ABAP 191201

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

Page 37: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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

Page 38: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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 SAP’s customers and partners

Page 39: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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

Page 40: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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...”

Page 41: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

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! ...”

Page 42: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACEInformation

Support

Training

LSMW

Page 43: Apresentacao Lsmwpres ABAP 191201

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: [email protected]

Support

Online-Service-System: component XX-LSM

Page 44: Apresentacao Lsmwpres ABAP 191201

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

Page 45: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Beyond

LSMW

Page 46: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

New DX-Workbench (Release 4.6)

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.)

Page 47: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Release 4.6

New-DX Workbench and LSMW

Release 5.0

Unified solution for alldata migration issues

Page 48: Apresentacao Lsmwpres ABAP 191201

Accelerating Data Migration: LSM Workbench ACE

Legacy System Migration Workbench

[email protected]