Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Question Regarding Data Migration?

Former Member
0 Likes
797

HI every body,

I have to migrate some data regarding Materials like transaction MM01. Is it possible to migrate data without using BAPI.

Are BAPI's are that much important in Data Migration? We can't do with LSMW and BDC ?

Please Help me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
753

Hi ,

Basically bapi updates directly to the table , so can say it directly updates the data base,

where as ur BDC will go to the database through screens , so each time u r screen accesion time is saved, and this time incraeses depending upon ur no. of tabs of the transaction , no of times u call the screen for ur no of recpords etc,

So use of bapi is alwys firts and bettre.

For material craete or cange u can use the bapi,

BAPI_MATERIAL_SAVEDATA

If u r transfering data from one system to other using rfc , u can get the data firts using rfc to internal table nad then u can segregate that to the coresponindg table of bapi.

or else if ur using direct xls u can upolod the xls fiel first then put the data in corrosponding bapi sturcture or table.

If u need some more info u r welcome.

Rajendra

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
753

It's a matter of performance. For example, it'll take 5 hours with BAPI but 50 hours with batch input (I just say that batch input is much slower than BAPI, not that there is a ratio of 1 to 10 which in fact would depend on many parameters) Please read the threads on that topic, and revert to us if you have any more precise question.

Read only

Former Member
0 Likes
753

Hi Sandra Rossi,

Actually in a an iinteraction with another ABAP consultant , he just said that MM01 transaction's data can not be transferred through BDC, I told it is possible but i never done with the same that's why i just kept silent.

Could u just tell me what are basic differances for BAPI and BDC.

Read only

0 Likes
753

Just make a recording in SHDB and you'll see whether it works or not (I don't know for MM01; there are some technical restrictions to use batch input).

For the differences, first [search the forum with words "difference bapi bdc"|http://www.sdn.sap.com/irj/scn/advancedsearch?query=differencebapibdc]

Read only

Former Member
0 Likes
754

Hi ,

Basically bapi updates directly to the table , so can say it directly updates the data base,

where as ur BDC will go to the database through screens , so each time u r screen accesion time is saved, and this time incraeses depending upon ur no. of tabs of the transaction , no of times u call the screen for ur no of recpords etc,

So use of bapi is alwys firts and bettre.

For material craete or cange u can use the bapi,

BAPI_MATERIAL_SAVEDATA

If u r transfering data from one system to other using rfc , u can get the data firts using rfc to internal table nad then u can segregate that to the coresponindg table of bapi.

or else if ur using direct xls u can upolod the xls fiel first then put the data in corrosponding bapi sturcture or table.

If u need some more info u r welcome.

Rajendra

Read only

0 Likes
753

Thank u.

Actually till Ididn't worked on BAPI so little bit confusion. Actually I use to migrate every thing through transactions only. So it would be time saving with BAPI.

Read only

0 Likes
753

next time, search the forum. Note that you may be banned in extreme cases if you don't respect forum rules