What is the difference between RFC and BAPI

Showing Answers 1 - 46 of 46 Answers

Guest

  • Jan 16th, 2007
 

Bapi's are nothing but RFC enabled function module....... and the main difference b/w RFC & BAPI is that BAPI is maintained in BOR(business object repository)...

  Was this answer useful?  Yes

Prashanth

  • Jan 19th, 2007
 

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

  Was this answer useful?  Yes

gsgiri

  • Feb 16th, 2007
 

BAPI methods are RFC enabled function modules. The difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call.Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs.BAPI is having all Key fields, methods, interfaces etc.

  Was this answer useful?  Yes

Chandra Shekar Reddy

  • Jul 26th, 2011
 

BAPI's can't handle the exceptions,the calling program has to handle.
But RFC's are handle the exceptions independently.

  Was this answer useful?  Yes

abapsravan

  • Jan 30th, 2012
 

RFC is the protocol used by SAP for remote communication, that is, for communications between remote (independent) systems.

BAPI are RFC enabled function modules. The difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA.

In this case you only specify the business object and its method from external system in BAPI there is no direct system call. While RFC are direct system call.

  Was this answer useful?  Yes

Yahan

  • Apr 23rd, 2013
 

BAPI: its a remote enabled function modules available for public to interact with SAP
RFC: Its a protocol used to call a function module from SAP system A to SAP system B.
BAPI:Outside world can interact with SAP thru BAPI.
RFC: Outside world cannot.

  Was this answer useful?  Yes

unknown

  • Jul 3rd, 2014
 

BAPI is Function Module, it is RFC enabled or local
RFC is protocol to communicate to other system function

  Was this answer useful?  Yes

Ronak

  • Nov 28th, 2014
 

BAPI - B- Business Object API - Application Prog Interface (Interface between Businss Object and ABAP for Abaper ;) )
Whenver you want to hit a BO ie Business OBject (Creating Sales order and PO etc) it is done by a bapi.
so in short BAPI and RFC have the same Functionality except that BAPI hits BOR vai Methods and RFC done not necessarly hits BOR

  Was this answer useful?  Yes

cherry

  • Dec 13th, 2014
 

BAPI(business application programming interface) it is used to transfer data b/w one system to another system i.e from sap-sap and sap - non sap and also support third party tools like java...etc.These are standardize programming interfaces(methods) to enabling external applications to access business process and data in r/3 system.

bapi defined in BOR(Business object repository) as methods and implemented as rfc enabled function modules.

  Was this answer useful?  Yes

rama

  • Nov 4th, 2015
 

RFC and BAPI both are remote enabled function modules, but RFC is used to transfer data from one system to another and BAPI is used to transfer data from SAP to SAp and non-SAP to SAP.

  Was this answer useful?  Yes

fayaz

  • Nov 12th, 2015
 

Both are used to communicate between the SAP-SAP AND NON SAP-SAP Servers
Both are remote enable function module the main difference is
RFC - These are standard alone function module
BAPI - BAPI are part of business objects these are used to communicate between the other BAPI i.e events, interface, attributes, key fields with single Business Objects.
Where as in RFC this is not possible because RFC are standalone function module.

  Was this answer useful?  Yes

varun

  • Nov 17th, 2015
 

BAPI having the update table (which provide system failure message or error message) but RFC FM not having any return table.

BAPI Store In BOR and provide validate date,
But RFC is Custom Development.

  Was this answer useful?  Yes

amol abhiman magar

  • Dec 4th, 2015
 

Both are used to make communication betw SAP-SAP & SAP-nonSAP,
Both are remote enabled FM,

Difference is:
RFC is Standalone FM;
BAPIs are part of business objects which are used to communicate with other BAPIs, events, interfaces, attributes, keyfields, etc., with in a single B.O. and this is not possible with RFCs. because they are standalone FMs.

  Was this answer useful?  Yes

Arshad

  • Dec 6th, 2017
 

BAPI :-It is used to transfer the data from sap-sap or non sap-sap.
RFC :-It is used to transfer the data from sap-sap only.

  Was this answer useful?  Yes

Abhimanyu Kumar

  • May 19th, 2018
 

Bapis are nothing but RFC enabled function module.
1. BAPI is maintained in BOR(business object repository) so BAPI are business objects.
2. RFC can have only one instance whereas BAPI can have many.
3. BAPIs cant handle the exceptions,the calling program has to handle. But RFCs are handle the exceptions independently.

  Was this answer useful?  Yes

anji yv

  • May 31st, 2018
 

Both are remote enabled function modules.
The main difference is business object. in BAPI has business object where as RFC does't have.
In BAPI you create business object then you have to register that one in business object repository. which can be accessed outside of the world like VB, Java.
RFC is connected SAP to SAP where as BAPI is connected SAP to SAP as well as SAP to non SAP.
BAPI have return parameter, it contains success and error messages where as RFC does't not have any return parameter

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions