38
Wipro confidential © Copyright 2008 Wipro Ltd Data Migration Techniques

Data Migration Techniques in Sap ABAP

Embed Size (px)

DESCRIPTION

Data Migration techniques at advanced level

Citation preview

Data Migration TechniquesData Migration Techniques
Table of Contents
Introduction of BDC
*
Confidential © Copyright 2009 Wipro Ltd
Introduction to Data Migration Techniques
The term data migration refers to the transfer of business data (master and transaction data) from any application system to an SAP ERP system.
Data migration is sometimes also referred to as data transfer.
Legacy system - The application system that contains the data to be transferred before the migration is referred to as the legacy system (or source system).
Legacy data - The data that is to be migrated from a legacy system to the SAP.
Confidential © Copyright 2009 Wipro Ltd
*
Data Migration Technical Steps:
Reading the Data (File to Technically standardized Format)
Converting the Data (To appropriate format)
Importing the Data (To a format which SAP system can process)
Verifying the Data (To check for accurate data)
Confidential © Copyright 2009 Wipro Ltd
*
*
Data Migration Techniques
Extended Computer Aided Test Tool (eCATT)
Confidential © Copyright 2009 Wipro Ltd
*
Batch Input / BDC
Introduction to Batch Input or BDC
BDC is one of the primary ways in which data can be transferred into an SAP system. BDC is used primarily for bulk data transfers.
Types of BDC Programs:
*
*
Direct Input
Direct Input programs work like that they update database tables directly.
These are considered performance advantage compared to other techniques. Generally we are not supposed to change the data directly, which is a disadvantage in it.
Examples of Direct Input Programs: RMDATIND – MM, RFBIBL00 – FI
Confidential © Copyright 2009 Wipro Ltd
*
Call Transaction / Session Method
BDC works by simulating the user input from transactional screen via an ABAP program.
The data input data file will come in the form of a flat file which the user save as file type txt file or prn file from the Microsoft Excel program. 
We will create a program to read the text file and upload into the SAP system.
Tcode SHDB is used to record the transaction code and we can generate a simple program where we can modify the recordings if needed.
Confidential © Copyright 2009 Wipro Ltd
*
How to create a BDC Program
Goto Transaction SHDB for recording
Confidential © Copyright 2009 Wipro Ltd
*
Start a new recording giving below details:
Confidential © Copyright 2009 Wipro Ltd
*
Confidential © Copyright 2009 Wipro Ltd
Once Recording is done, go back to get the below screen. Then Save.
Confidential © Copyright 2009 Wipro Ltd
*
*
Create Program from Recording:
*
Create Program from Recording:
*
*
Output of the Program:
*
Confidential © Copyright 2009 Wipro Ltd
Using the program, either we create a session and execute it manually or we process it using CALL Transaction method as shown in the screenshots in previous slide.
Sample Program Output:
Call Transaction is preferable.
*
Legacy System Migration Workbench
Introduction to LSMW
The LSMW is an R/3-based tool that supports you when transferring data from non-SAP systems ("Legacy Systems") to R/3 once or periodically.
The tool supports conversion of data of the legacy system in a convenient way. The data can then be imported into the R/3 system via batch input, direct input, BAPIs or IDocs.
Confidential © Copyright 2009 Wipro Ltd
SAP AG July 1999 *
One or several files
Convert data
How to create a sample LSMW Program
Goto Tcode: LSMW
*
Initial Screen for LSMW. (Need to perform all the steps)
Confidential © Copyright 2009 Wipro Ltd
*
Step 1:
*
Step 2: Creating a Structure Name
Confidential © Copyright 2009 Wipro Ltd
*
*
*
Step 5: Fields Mapping
*
*
*
Specify the file with options to read the file.
Confidential © Copyright 2008 Wipro Ltd
*
*
Step 8: Assign file
*
Step 9: Read Data
*
AFS Categories
*
*
Import Data
The steps displayed by the program depend on the selected object type:
Standard batch input or recording:
Generate batch input session
Run batch input session
BAPI or IDoc:
Start IDoc creation
Start IDoc processing
Create IDoc overview
Start IDoc postprocessing
Best part of LSMW is we can download the project and then upload in any system we wanted. There is no Transport Request needed to move the program.
Step 13: Create Batch Input Session and Run it
Confidential © Copyright 2009 Wipro Ltd
*
eCATT
Inroduction of eCATT
The Extended Computer Aided Test Tool (eCATT) is a tool that was originally developed to test business processes. Technically, a business process always consists of a sequence of dialog transactions. To avoid having to enter each transaction manually, the eCATT enables you to automate transaction processing and supply the transactions with
appropriate values. Ultimately, the data generated in this manner forms the foundation for the system, integration, and mass tests that are essential to every ERP implementation project.
*
Questions and Answers
*
One or several files
IDoc inbound