The document discusses the Legacy Systems Migration Workbench (LSMW) in SAP, which is a tool used to transfer data from external flat files into SAP. It reviews the LSMW architecture, outlines the steps to set up a LSMW data transfer including defining source and target formats, mapping the source to target, and identifying files. The document demonstrates executing a LSMW routine to read a flat file, convert the data, and load it into SAP.
The document discusses the Legacy Systems Migration Workbench (LSMW) in SAP, which is a tool used to transfer data from external flat files into SAP. It reviews the LSMW architecture, outlines the steps to set up a LSMW data transfer including defining source and target formats, mapping the source to target, and identifying files. The document demonstrates executing a LSMW routine to read a flat file, convert the data, and load it into SAP.
The document discusses the Legacy Systems Migration Workbench (LSMW) in SAP, which is a tool used to transfer data from external flat files into SAP. It reviews the LSMW architecture, outlines the steps to set up a LSMW data transfer including defining source and target formats, mapping the source to target, and identifying files. The document demonstrates executing a LSMW routine to read a flat file, convert the data, and load it into SAP.
The document discusses the Legacy Systems Migration Workbench (LSMW) in SAP, which is a tool used to transfer data from external flat files into SAP. It reviews the LSMW architecture, outlines the steps to set up a LSMW data transfer including defining source and target formats, mapping the source to target, and identifying files. The document demonstrates executing a LSMW routine to read a flat file, convert the data, and load it into SAP.
Download as PPT, PDF, TXT or read online from Scribd
Download as ppt, pdf, or txt
You are on page 1of 22
LSMW
Interfacing Techniques in R/3
Legacy Systems Migration Workbench Interfacing Techniques in R/3 LSMW Legacy Systems Migration Workbench Review the LSM Workbench Architecture Investigate the steps to set-up a LSMW object Execute a LSM Workbench routine Objectives
LSMW Application Link Enabling (ALE) Interfacing Objects SAP External System SAP Business Connector CPI-C Synchronous RFC ActiveX BAPI Asynchronous CPI-C RFC IDoc Flat-File CATT One-Way DXOB LSMW LSMW Legacy Systems Migration Workbench Data Transfer Objects Legacy Systems Migration Workbench LSMW Data Transfer into SAP using LSMW Externa l System Flat File SAP SAP Data Transfer Object F o r m a t t e d
F l a t
F i l e
BDC BAPI IDoc L S M W
LSMW Legacy Systems Migration Workbench Accessible via transaction LSMW SAP-Developed Data Conversion Utility Imports Flat-File structures Outputs SAP-standard structures Available as an add-on to SAP - needs to be installed Documented in the LSM Workbench On-Line Help LSMW Major Activities Define the flat file source and SAP target formats Map the source to the target Identify the files to be read / used / created Execute the Read / Conversion Execute the Data Load LSMW Data Transfer Object Define Target and Source BDC BAPI IDoc BGR00 Data Control Record BLF00 Data Header 1 BLFA1 Data Detail 1 BLF00 Data Header 2 BLFA1 Data Detail 2 Vendor Master Source Name Name1 Street1 Street Name2 Street2 Name3 Street3 Country1 Country Country2 Country3 LSMW Exercise 1 Defining the Source and Target LSMW Mapping the Target to the Source Data Transfer Object BGR00 Control Record BLF00-TCODE
Source Name Name1 Street1 Street Count1 Country Fixed Values TCODEnn XK01 KTOKKnn EMPL LSMW Exercise 2 Mapping the Source and Target LSMW Identifying Source & Target Files Source File VENDORnn.TXT Workstation Application Server Uploaded Records File ZVENDORnn.lsmw.read SAP Data Transfer Prepared File ZVENDORnn.lsmw.conv LSMW Exercise 3 Identifying the files to be used LSMW SAP Data Transfer Prepared File ZVENDORnn.lsmw.conv Uploaded Records File ZVENDORnn.lsmw.read LSMW Converts File Identifying Source & Target Files Source File VENDORnn.TXT Workstation Application Server LSMW Reads File SXDA Loads File LSMW Exercise 4 Executing the conversion routines LSMW Data Transfer into SAP (SXDA) Externa l System Flat File C o n v e r s i o n
P r o g r a m
( L S M W )
SAP Call Transaction A B A P / 4
( S A P - D e v e l o p e d )
Database Direct Input Dialog Screens BATCH INPUT JOB Creat e Execute A B A P / 4
F o r m a t t e d
F l a t
F i l e
S t a n d a r d
D a t a
T r a n s f e r
P r o g r a m
LSMW Summary of Activities Define the flat file source and SAP target formats Map the source to the target Identify the files to be read / used / created Execute the Read / Conversion Execute the Data Load LSMW Notes LSMW is a development tool - only the output files should be used in production Can only work with Flat Files Only allows import - no SAP Export functionality Designed for use in conversions, not interfaces Incomplete Imperfect Simple, Quick & Easy to Use Powerful
LSMW Other Useful Tools CATT BDC Recorder ABAP Standard Data Transfer Workbench
For reference: The Data Transfer Made Easy Guide
LSMW Application Link Enabling (ALE) Interface Objects SAP External System SAP Business Connector CPI-C Synchronous RFC ActiveX BAPI Asynchronous CPI-C RFC IDoc Flat-File CATT One-Way DXOB LSMW LSMW Terminology Flat File - simple text formatted ASCII file LSMW - Legacy Systems Migration Workbench SDT - Standard Data Transfer DX - Data Transfer Object SXDA - Data Transfer Workbench CATT - Computer Aided Test Tool BDC - Batch Data Conversion
LSMW Legacy Systems Migration Workbench Reviewed the LSMW Architecture Investigated the steps to set-up a LSMW conversion Executed a LSMW-developed Read, Convert & Data Load Summary of Objectives