‎2019 Nov 18 4:24 PM
Hi All,
We see that in almost all cases we use BAPI over BDC because it has many advantages over BDC. However, can you let me know scenarios, with the help of an example preferably, where BDC should/is used even when there is an existing BAPI for that update/change?
Thanks!
‎2019 Nov 18 8:48 PM
No.
I rarely make such categorical statements but BDC is never better than BAPI. We use BDC as a last resort when the required functionality is not available in any other way.
Not sure where this question is coming from but even having basic understanding of what BDC is and how it works it's easy to see why it sucks. My dream is to never, ever having to use BDC in SAP and I hope it's also SAP's dream to finally make it happen for the customers.
‎2019 Nov 18 8:48 PM
No.
I rarely make such categorical statements but BDC is never better than BAPI. We use BDC as a last resort when the required functionality is not available in any other way.
Not sure where this question is coming from but even having basic understanding of what BDC is and how it works it's easy to see why it sucks. My dream is to never, ever having to use BDC in SAP and I hope it's also SAP's dream to finally make it happen for the customers.
‎2019 Nov 23 10:14 AM
"never"? 🙂 There can always be exceptions to rules. For instance, if it's a one shot call to speed one input, then Batch Input is really okay for me, because it's very fast to develop, speed is not required, the user has the possibility to correct the input (display mode E) so in that case BDC is much better than BAPI.
‎2019 Nov 26 11:15 PM
sandra.rossi , that's why I said I rarely make such statements. 🙂 My problem with such exceptions is that "one shot call" quickly becomes a regular production program which breaks in the next upgrade and a lot more time is spent to rewrite it. So I'm not ready to concede on this one, sorry! 🙂
‎2019 Nov 19 3:58 AM
Hello Samriddhi N,
You really don't want to know the use cases of BDC, if there is a BAPI available there is no need of using the BDC.
Your BDC can never be a permanent solution to any of your requirements, one way or the other it always raise issues.
Though there are multiple reasons to prove the need of BAPI over BDC, you can consider this simple case.
Since BDC is purely based on the screen recording concepts. Any changes over the years done to the screen after your BDC recording was done like:
1) Adding a field
2) Adding a validation to any existing field
3) Adding mandatory check to any field etc
can collapse your BDC program. And all the screen changes we are talking about, the functional and technical consultant who does this may not necessarily be aware of a BDC program existing for this screen and hence issues are always on the cards.
NEVER USE BDC OVER BAPI!!!
Regards!
‎2019 Nov 19 9:23 AM
A standard SAP example using BDC is sales order create from ORDERS IDOC message. This is calling IDOC processing function module IDOC_INPUT_ORDERS.
Regards Jack Graus
‎2019 Nov 21 11:57 AM
BAPI should be used over BDC where ever possible . But however sometimes there are few scenario this statement doesn't lies true ( Please note that it depend upon type of development already done by any developer) .
Scenario - Sometime few customer performs few modification or implicit enhancements as per requirement which may not be available when use BAPI for new set of requirement.
‎2019 Nov 22 11:45 PM
Customers should not be doing modifications either. One bad thing leads to another.
¯\_(?)_/¯
‎2019 Nov 23 4:32 AM
Customers should hire and keep competent ABAPers, who know their trade, SAP's software as well as the problem domain, who'd implement the modifications and enhancements in a competent and thorough fashion, so the functionality is also available via the few bits of official API available to them, or not at all - in the minority of cases, where it's truly impossible or unfeasible to do so 🙂
‎2019 Nov 27 5:25 AM
BAPI should be preferred over BDC by default; but some cases where BDC might be used are: