‎2006 Oct 05 4:27 PM
Can anybody tell me why bapi is advantageous over BDC, or vice versa.
‎2006 Oct 05 4:31 PM
Hi Rajan,
Welcome to SDN.
A BAPI is faster because it is updating the DB "directly" through ABAP code.
A BDC with call transaction goes through the whole screen sequence like any user would do, simply put, it is filling screens.
Regards,
Ferry Lianto
‎2006 Oct 05 4:30 PM
Hi,
BDC is traditional way of coding the transactions for uploading the legacy data, Sap is changing all transactions to Object oriented programming. Since BAPI is Object based and supports all the new transactions it is preffered over BDC. More over BAPI's process data faster than BDC.
Hope this helps.
‎2006 Oct 05 4:30 PM
BAPI is a SAP-supplied function module with a defined interface, which allows you to interact with various business objects. SAP guarantees the integrity of your database for anything updated using a BAPI. BDC is a method of driving screens programatically, for updating SAP data. BAPIs are generally faster than BDCs.
A BAPI is faster because it is updating the DB "directly". Whereas BDC with call
transaction goes through the whole screen sequence like any user would do, simply put, fills screens.
Regards,
PRakash.
‎2006 Oct 05 4:31 PM
Hi Rajan,
Welcome to SDN.
A BAPI is faster because it is updating the DB "directly" through ABAP code.
A BDC with call transaction goes through the whole screen sequence like any user would do, simply put, it is filling screens.
Regards,
Ferry Lianto
‎2006 Oct 05 4:42 PM
Ferry,
Nice job stealing Prakash's second paragraph and adding a blank line and a few extra words.
‎2006 Oct 05 4:42 PM
However - there is not always a BAPI for a particular transaction and not all functions that are performed by a transaction can be done by a BAPI. BDCs produce error sessions which can be processed by the user, while BAPIs don't.
Having said that, not all transactions support batch input.
But SAP is going the way of BAPIS. So it's best to use them whenever possible.
Rob
‎2006 Oct 05 4:45 PM
Hi,
BAPI has more advantages over BDC as stated above , but we need to use BDC whenever an application has been enhanced( i.e a field is added), if i am wrong plz let me know.
Regards
Syed