cancel
Showing results for 
Search instead for 
Did you mean: 

difference between RFC and BAPI and BADI.

Former Member
0 Kudos

Hi all,

please tell me the difference between the RFC, BAPI, BADI in the perspective of WD java Developer.

what are the basic differences, how to call them in the NWDS.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

vijay_kumar49
Active Contributor

Hi,

Diff between RFC and BAPI:

BAPI's can't handle the exceptions, the calling program has to handle.

But RFC's are handle the exceptions independently.

RFC can have only one instance whereas BAPI can have many.

A RFC is just a function module which you can call in an outside system as a functional call.

Technically BAPI is a remote enabled Fm but BAPI is basically a method of a business object which is called as a method in an outside system.

Please look at this document having [diff between BAPI,BADI and RFC|http://www.sap-img.com/fu026.htm]

How to call BAPI and RFC in NWDS through Adptavi RFC Model. Right Click on Medel. Choose Adaptive RFC Mode.

Hope this is help full for u

Regards

Vijay

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Bapi is Bussiness API which are developed by Abaper's

The Adaptive Remote Function Call (Adaptive RFC) is a technology that enables the Web Dynpro application developer to use the business functions encapsulated in Business APIs (BAPIs) even after a structure modification, without having to provide the new data using a second back end or a new structure with subsequent regeneration of the proxies.

How to create:

1.expand your component

2.Right click on model select create model

3.choose adaptive RFC

This may be help full.

http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/content.htm

Thanks & Regards,

Jyothi.

Edited by: Venkata Naga Jyothi on Nov 7, 2011 9:15 AM

Former Member
0 Kudos

Hi madhu,

*BAPI*: BAPI stands for Business API(Application Program Interface).A BAPI is remotely enabled function module it can be invoked from remote programs like standalone JAVA programs, web interface etc..You can make your function module remotely enabled in attributes of Function module but a BAPI are standard SAP function modules provided by SAP for remote access.Also they are part of Businees Objest Repository(BOR).

RFC(Remote Function Call): is a Communication between applications in different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. RFC calls a function to be executed in a remote system.

BADI:BDC (Batch Data Communication) is a technology used for data transfer. it is meant for transferring data thru SAP transactions itself. when u use BDC for data transfer, the sequence of steps is the same as when u use standard sap transaction screens for data upload. the only difference is that u can use different options for foreground/background processing.

You can call RFC and BAPI into NWDS through Adaptive RFC Modal.Right click on model and select create model and there you can select import Adaptive RFC Model

Please find below forum link

Hope it helps....

Thanks,

Rahul.

Edited by: rahul.girmaji on Nov 2, 2011 10:27 AM

junwu
Active Contributor
0 Kudos

rfc is the protocol, like http

bapi is rfc enabled function, which can be called remotely and achieve certain business function.