Application Development 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: 

BAPI / IDOC

Former Member
0 Kudos

Hi All,

I have requirement to upload the master data using IDOC / BAPI/ BDC/ LSMW.

I need some answers :

- Which methods is best and why for data transfers using IDOC / BAPI / BDC / LSMW .

- iF i have some new zfields i.e exit in standard screen then how i upload the data in these fileds.

Any help or suggestion is useful.

Regards,

6 REPLIES 6

Former Member
0 Kudos

hi Navdeep,

its better to use LSMW and BDC approach for custom fields.

Regards

Ahsan

0 Kudos

Is there any specific reason for doing so if yes then please tell me same.

Regards,

Abhijit74
Active Contributor
0 Kudos

Hi,

It's depends on requirements. Every methods has it's own befinits. If you are functional person it will be better to use LSMW. If you know the disadvantages of BDC.

In LSMW you can use all the methods. LSMW offers different techinque for migrating data: Direct input ,BAPI,Idoc,Batch input recording. While bdc basically uses recording.

Coding can be done flexible way in BDC if you compared with BDC.

In IDOC you can also create the custom segment. In BAPI there is a provision for enhancement.

So it's depends on your requirements.

Thanks,

Abhijit

Former Member
0 Kudos

Nice one thanks for quick reply, is there any detailed view so to understand clearly under what circumstances we follow which one for uploading the data.

Please if you have some steps to differentiate the same then tell me it's more beneficial.

Regards,

Former Member
0 Kudos

Hi,

when ever data uploaded through BDC data is not secure. whilw data is uploaded through IDO at that time data is secure.

For EX: while data is presentation server at that time u can also manipulate the data,

while data i application server also the adminstrator can manipulate the data.

But through IDOC its not possible to mainpulate the data.

BAPI is an interface to upload data from one R/3 to another R/3.

For creating interface u need to ake the interface through RFC and write u r code and run u r program, then check in other r/3

Former Member
0 Kudos

Hi,

for uploading the data every method has some special is there,if u take LSMW idoc and bapi methods are covered in lsmw.

its depends on the u r requirment ,u r mention in zfields better to choose BDC ,or BAPI.

FOR LSMW check below link

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d90895-68dd-2a10-f096-

bf8cf2e2f65b

Regards,

Madhu