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 we go for BAPI & When we go for BDC ?

yasu_1096
Explorer
0 Kudos
276

Hi All,

When we call for BAPI & When we go for BCD 's ?

5 REPLIES 5

sergiorecasens
Participant
0 Kudos
218

Hi Afgan,

I think this question can be answered with another answer of an old question of the forum:

https://answers.sap.com/answers/3738592/view.html

Thank you,

Sergio

raymond_giuseppi
Active Contributor
218

This is a FAQ - the search returns hundreds of answers

The usual answer is to use the BAPI when available (and sufficient) else go through the BDC when allowed (no nice feature).

218

Just think about those options for a while:

- BAPI is a standard released function module created by SAP and maintained by SAP: it's the (business) object SAP tells you "use this when..."

- BDC is a recording of a transaction in a specific moment in time

If SAP people decide to modify any standard business object, they will update any released function module (or class) related, and modify any transaction in the same way. So:

- your BAPI will still work after an upgrade

- your recording will become obsolete and will stop working

Then... When we go for BAPI and when we go for BDC?

As raymond.giuseppi told you, we only go for BDC when there is no other option available.

Harish_Vatsa
Active Contributor
218

Dear Afgan,

Please refer the below link for BAPI and BDC

https://answers.sap.com/questions/3962438/how-bapi-is-better-than-bdc%27s.html

--

Regards,

HV

VXLozano
Active Contributor
0 Kudos
218

raymond.giuseppi , you should convert your comment to an answer.