Data migration is the process of migrating (transferring) of data from one system to another.
It is a key consideration for any system implementation, upgrade or consolidation.
Data migration process required in depth planning , about what data to be transfer, the sequence of the data transfer, field mapping, conversion rules etc.
Which types of data are transfer ?
Data migration required when a company doing new sap implementation and they want to transfer all data from there non sap system to sap or if they want to move to S4HANA from there exiting SAP ECC system
Data migration technique is also use on periodic data processing , for creating of master data, for which the data is gathered through some campaign, or if a company is using other small scale software's along with sap, in this case mostly data is load in sap from FTP servers
Those migration methods are common in both SAP ECC and SAP S4HANA
We can also use web service and IDOC , but both are mostly prefer for periodic processing rather than migration and also for IDOC we required a middleware server.
In S4 HANA sap has provided new migration tools like LTMC, LTMOM which are known as Legacy transfer migration cockpit and Migration object modeler
LSMW
Legacy system migration workbench
It is a workbench for data migration , first choice for data migration , it can be use by both functional and technical consultant, LSMW provide 4 different methods of migration, it can be use with any DB , but first the data need to be downloaded into text files and then text files as per sap format are uploaded in sap, it cannot be connect directly to any third party software or DB.
It is better to follow proper naming convention , for easy identification.
MM->Master Data->Material
MM->Master Data->Vendor
SD->Pricing->Base Price
SD-Transaction->SO
There are total 14 steps to be process in LSMW , first 6 steps are designing part, and remaining 8 are execution part.
For any new process first 6 steps are mandatory, after that for migrating same data , we can use only execution part as the design is already ready.
In case of standard batch input , sap provides , pre define objects, methods with a program associated with it, we have to map the field of text file to the object structure for processing.
It is use only for standard transaction like material master, vendor, Customer etc, for which sap has provided the objects.
It required basic sap table/structure knowledge, and complete knowledge of transaction code for which we are doing migration, like MM01 for material creation, XD01 for create customer etc. so we will know about the field details
Advantage : well tested methods, easy to process.
Disadvantage : Not support to transaction, specially for new enjoy transactions
2: Batch Input Recording : Very popular tool of lsmw workbench is Batch Input Recording method, it can be use for both standard and custom transaction codes if we have module pool programming for custom transaction.
It does not required any programming knowledge , very basic table and abap structure concept required.
In this method we actually record the transaction, then after uploading text file, it is like re playing the recording by taking new values from text file.
Compare to Direct input method, this method little slow, as It calls the screen for each field processing.
Advantage : Can be use for both standard and custom transaction, easy to modify, can be run in foreground as well as background and error mode, no programming knowledge required
3:Business object method (BAPI) : BAPI are well tested function module provided by sap, SAP guarantees the integrity of your database for anything updated using a BAPI.
Advantage : Bapi are very fast compare to other method, it is available for most of the enjoy transaction like purchase order creation ME21N, sales order creation VA01, etc.
Disadvantage : BAPI are not available for all the transaction, it required abap knowledge.
4: IDOC (Intermediate Document) :
IDOC works here as receiver system as, sender if flat File.
Advantage : Easy to load, low programming required, we can check data any time in WE02 transaction, error idoc, can be re-process with BD87 or WE19 transaction.
Disadvantage : Good knowledge of IDOC configuration required, complete receiver side configuration need to be done.
LSMW
Advantages:
Disadvantage :
2.Coding not possible to perform validation , putting default values based on conditions .
BDC
BDC stands for Batch Data Communication and is also referred to as Batch Input.
It is use for mass processing of data, mostly in initial data migration and also on periodic basis or to atomized the business process. The steps of creating BDC are as follows
BDC Provides 2 methods
Advantage of BDC :
Disadvantage :
BAPI
Business Application Programming Interface(BAPI), BAPI are standard remote enable function module, it also enable external application to access and process sap data.
We can use bapi for data migration, mass processing on periodic basis and to atomized the business process.
Design flow :
Execution part
Advantage of BAPI :
Disadvantage :
0 Comments