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: 

When to Use BAPI and when to use BDC to upload data?

Former Member
0 Kudos

Hi all...

i like to know in which cases one should u use bapi or bdc to upload data ....

..Thanks...

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Ashish

Always use BAPI if it is available.

Thanks

Amol Lohade

9 REPLIES 9

Former Member
0 Kudos

Ashish

Always use BAPI if it is available.

Thanks

Amol Lohade

Former Member
0 Kudos

If a BAPI exists for a transaction it is better to use it rather than a BDC... If no BAPI exists you need to use BDC....

There is no such thing as when you have to us BDC and when BAPI... It all depends on the way the data is handled...

Former Member
0 Kudos

Hi Ashish Bhide ,

Its good to use bapi if available.. Basically for a smaller transactions v can go for bdc. And when the transaction involves lot of screens, table controls....etc...then u can go for bapi provided a bapi should be available.

Venkat

ThomasZloch
Active Contributor
0 Kudos

BAPI = faster, robust and upgrade-resistant

BDC = slower and fragile

Which one would you choose, when available?

Thomas

former_member181995
Active Contributor
0 Kudos

As per of my Experience BDC should be used only on sunday.

rest all day we should use BAPI.

For more info Pls Search.

Thread Reported

Edited by: Amit Gujargoud on Sep 2, 2008 3:30 PM

Former Member
0 Kudos

Hi ,

BAPI, BDC are used for uploading the data.

BAPI is preferred because data integrity and validity can be maintained easily.

In BDC codings is required where intgrity and validity depends upon standard and logic coding.

BAPI is remote enabled function module . If you want to interact with SAP from external system , you can do that using BAPI whereas BDC you can not.

Data migration is done using BDC during initial phase of SAP implementaion.

BAPI is preferred for creating interface with external system.

Thanks,

Manas

Former Member
0 Kudos

ANSWERED

Former Member
0 Kudos

Hmmm.....

Nobody mentioned that with a batch input session, you get a an error session that can be re-processed. This is not easy to do with a BAPI.

Rob

Former Member
0 Kudos

Hi Experts,

I didn't use bapi for uploading data till now i used bdc only anybody send me sample coding using bapi for uploading data.

please help me ....

Thanks in Advance

Ram