10 Data Migration Techniques
10 Data Migration Techniques
1
Introduction
▪ Data migration means migrating the data from legacy system to SAP system.
▪ The system other than the SAP system is called as legacy system.
2
Steps of Data Migration
Extracting the data - Extracting the data from the legacy system into a file.
Converting the data - Converting the data to appropriate format. This is called as
conversion.
3
Data Migration Techniques
4
BDC - Introduction
▪ The purpose of BDC is to transfer data from Non-SAP(legacy) system to SAP system.
5
Precautions for Recording
6
BDC Methods
2. Session method
Imp point : Call transaction method and session method are called as batch input
methods.
7
Call Transaction Method
▪ Syntax: CALL TRANSACTION ‘transaction code’ USING <BDC internal table> MODE < A or
▪ Example : CALL TRANSACTION 'MM01’ USING lt_bdcdata MODE ‘A’ UPDATE ‘S’
8
Call Transaction Method - Processing Modes
1. All screen(A)
2. No screen(N)
3. Error(E)
9
Call Transaction Method - Processing Modes
2. No screen(N) - It does not show any screen. We directly get the result .
3. Error(E) - If there is an error in BDC, it shows the error screen. If there is no error, it does
1
0
Call Transaction Method - Update Modes
1. Asynchronous(A)
2. Synchronous(S)
3. Local Update(L)
1
1
Call Transaction Method - Update Modes
1. Asynchronous(A) - COMMIT WORK. The called transaction does not wait for any updates
2. Synchronous(S) - COMMIT WORK AND WAIT. The called transaction waits for any
1
2
Call Transaction Method - Update Modes(Contd.)
3. Local Update(L) - If the data is updated locally, the update of the database will not be
processed in a separate process. The update functions run in the same dialog process.
1
3
Session Method
BDC_CLOSE_GROUP.
1
4
Session Method - Processing Modes
1. Foreground
2. Background
1
5
Session Method - Processing Modes
2. Background - It does not show any screen. We directly get the result .
3. Display errors only - If there is an error in BDC, it shows the error screen. If there is no
error, it does not show any screen, we directly get the result .
1
6
Call Transaction Method and Session Method Comparison
▪ The below table shows the comparison of call transaction method and session method.
1
7
Direct Input Method
▪ Direct input method are standard SAP programs to post the data in to SAP.
▪ This method is fast as compared to batch input methods(call transaction method and
session method).
1
8
Direct Input Method(Contd.)
RFBIBL00 - FI(Finance)
1
9
LSMW- Introduction
▪ It is an ABAP workbench tool which is used to transfer data from Non-SAP( legacy)
▪ LSMW works best for master data as one doesn’t require much coding while using
LSMW.
2
0
LSMW- Introduction(Contd.)
▪ This method is preferred by functional SAP consultants rather than technical consultants
▪ The difference between a LSMW and BDC is - LSMW is for functional consultants which
does not require much coding whereas BDC is designated for technical consultants
2
1
LSMW Creation
1. Project - Specifies the name of the data transfer project. More than one subproject can
be assigned to a project.
2. Subproject - Specifies the name of the subproject. A subproject can have unlimited
number of objects.
1. Direct input
4. IDOC(intermediate document)
2
3
BAPI - Introduction
▪ It is a technique which is used to conduct large scale data migration from Non-
2
4
Advantages of BAPI over BDC
2
5
Steps to Add Custom Fields to BAPI
▪ SAP provided the provision to add custom fields to the standard BAPI.
▪ The various steps to add custom fields to the standard BAPI are as follows:
2
6
Thank You
2
7