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: 
SAP Community Downtime Scheduled for This Weekend

Diffenece B/n BAPI & BDC

Former Member
0 Kudos
142

Hi Gurus,

Could any body give me the Exact Diffenece B/n BAPI & BDC

Regards

Vijaya

1 ACCEPTED SOLUTION

Former Member
0 Kudos
83

Hi Vijaya,

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

http://sappoint.com/abap/

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.

http://sappoint.com/abap/

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, if useful.

Regards,

Nitin.

7 REPLIES 7

Former Member
0 Kudos
83

BAPI is mainly function module....

BDC is do some transaction with the help of screen recording.....

Former Member
0 Kudos
83

Hi,

Check the link which is helpful...

http://www.karakas-online.de/forum/viewtopic.php?t=6083

http://www.allinterview.com/showanswers/35803.html

Regards.

Edited by: Iyswarya Godi on Jun 26, 2008 11:38 AM

Former Member
0 Kudos
84

Hi Vijaya,

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

http://sappoint.com/abap/

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.

http://sappoint.com/abap/

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, if useful.

Regards,

Nitin.

Former Member
0 Kudos
83

Hi Vijaya,

Did you search the forum before posting the question? there lot of theards are available

Refer one of the theard

https://forums.sdn.sap.com/click.jspa?searchID=13360902&messageID=4260535

Regards

Kiran Sure

Former Member
0 Kudos
83

hiiiii

BAPI - These are some published programs which are used to upload data i

nto SAP system.

BADI - This is a program enhancement technique for making it customer specific. SAP provides BADI openings in the standard programs. You need to search for the s

uitable BADI as your requirement and then you need to do the coding in the program.here you use function modules to make it more flexible.

regards

twinkal

former_member69765
Contributor
0 Kudos
83

BAPIs stand for : Buisness APIs.

Well take a simplest scenario ... As part of migration you want to create some Orders. Lets say traxn is IW31. You have to create some 1000 orders automatically.

Approach 1 : Use BDC. BDC will basically simulate as if every order was created from the transaction itsel. Meaning it will simulate as if somebody (a BDC program in this case) entered these values manually and then saved.

However, this is performace wise tricky.

Alternate could be .. That I create direct entries in tables. !! But Hey .. what about the validations ?

Also, how would this work if I were to create orders in a remote system ? BDC will not work !!

Solution : BAPIs. BAPIs are just like Function modules. Create and seen in SE37.

With BAPIs all the validations are done and then data is saved.

There are RFC FMs so you can call them on a remote system also.

These are faster than BDC Programs.

Error handling is easy.

Cheers.

Former Member
0 Kudos
83

hi,

bapi: it is an interface, used for allowing external applications(java, .net, etc..) to acess and process the SAP R/3 data and by using bapi we can transport data from external systems into SAP system.

bapi's are available in BOR( business object repository), we can call bapi's in two ways..

1) it called as method of business object and

2) function module

follow this link for bapi...

http://help.sap.com/saphelp_46c/helpdata/en/7e/5e115e4a1611d1894c0000e829fbbd/frameset.htm

bdc: by using bdc we can transfer external application data into sap r/3 by using different import techniqes..like

session method

call transaction.

follow this link for bdc.....

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddb...

Edited by: Ashok Reddy on Jun 26, 2008 11:53 AM