‎2008 May 22 6:58 AM
‎2008 May 22 7:00 AM
Hi,
A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to interact and integrate
with each other at the Business Object / Process level.
Check this link to know more about BAPI.
http://www.sapgenie.com/abap/bapi/example.htm
Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a
typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.
BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form
of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The
transaction is then started using this internal table as the input and executed in the background.
In Call Transaction, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.
It can also be used for real-time interfaces and custom error handling & logging features. .
To know more about BDC,
check the link.
Main differences are...
In case of bdc data transfer takes place from flat file into sap system ie the file existing in sap system to sap sytem
where is bapi's r remotly enabled function modules which are assigned to some business objects n used to transfer the data between different business partners who are using different systems other than sap.
not only that...
when you plan to upgrade your system version then bdc willnot support those upgradations where as bapi's will support.
Reward points for useful Answers
Regards
Shiva Kumar
‎2008 May 22 7:01 AM
Hi,
BDC stands for Batch Data Communication
BDC: Through BDC you are going to update screens.
BAPI stands for Business Application Programming Interface.
Bapi:Through bapi you are goin to update Data Base Tables directly.
When ever screen of aparticular transaction changes,
you need to redo the work in case of BDC.
Where as incase of BAPI SAP will take care as it will update the Database Tables Durectly.
BApi is more flexible And provides Great performance compared to A progarm written By BDC.
BAPI is used only when it is available for the particular transaction like Delivery Sales order. but BDC can be used for any transaction which have screen and fields.
BAPI is directly updated the database instead BDC run through the screen flow.
So BAPI can't handle all the flow logic checking and enhancement put by programmer to faciliate the user requirement.
BAPI is a higher end usage for tranfering the data from SAP to non-SAP and vice-versa. for ex: if we are using VB application,where in that we want to connect to SAP and retireve the data,and then change and update the data in SAP for that purpose we can use that.
Apart from that, we can also use it for Uploading/Downloading the data from SAP to Non-SAP like BDC, provided we have an existing BAPI for that.
BAPI function modules will also do all the checks required for data integrity like Transactions for BDC.
There is one more advantage using BAPI instead of BDC. When we go for upgradation, there might be pozzibility to change the screen elements for transactions depending on the requirement. In that case,our BDC pgm may or may not work (depending on the screen changes they have made). Unless and until we prepare new BDC we cant use the old BDC pgm. But in BAPI, SAP promises that they are going to keep the old BAPI and for new functionality they will provide an upgraded BAPI. Until we write a new BAPI pgm, we can use the exisitng BAPI pgm.
Regards,
Raj.
‎2008 May 22 7:08 AM
In BDC data is updated through transaction screens where as in case of BAPI it update the data base directly.
If you are in a situation which one to choose keep in mind.
In BAPI you have very less control over data where as in BDC you have much control like converting validating based on your requirment.
More over you can use BAPI if it exists for that particluar ransaction
Regards
Bikas
‎2008 May 22 7:19 AM
Hi Swamy,
Please try to search with BDC and BAPI throwing the thread in SDN.Am sure you will got plenty of notes on that.Because we all are here to solve real time face issues not such type of theory.if you want to learn please try to explore your self in SDN istead if throwing threads.please support us in same.
Please close this thread.
Amit.
‎2015 Jul 22 8:30 AM
‎2016 Jan 21 10:43 AM