Application Development and Automation 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: 
Read only

difference between RFC and BAPI

Former Member
0 Likes
626

hi

what is the difference between RFC and BAPI.

i know BAPI is RFC enabled.n dont know the diff

4 REPLIES 4
Read only

Former Member
0 Likes
604

Have a look at below link:

This question is asked so many times before in this forum. You can search the forum for your answer.

Thanks,

Vibha

Read only

Former Member
0 Likes
604

Ravi,

its good to see you often on SDN ,i hope now you understand how to extract much information from SDN as much possible.

try to use SDN search option by just giving

difference between RFC and BAPI you will get your answer.its better rahter than throwing thread.

Amit.

Read only

Former Member
0 Likes
604

Hi Ravi,

Please check this link

http://help.sap.com/saphelp_45b/helpdata/de/cf/8ccab761ea11d2804a00c04fada2a1/content.htm

http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm

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

RFC is used for communications between two independent SAP systems, or for communications between an SAP system and a non-SAP system, such as an external application. It can also be used for communications between modules on the same system.

Using the RFC interfaces you can extend the functionality of R/3 applications from an external program.

Compared to using the GUI interfaces, using RFC interfaces requires more knowledge of the business logic of the R/3 applications with which you are integrating the external application.

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 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. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.

Best regards,

raam

Read only

Former Member
0 Likes
604

BAPI stands for Business Application Programming Interface. It is a library of functions that are released to the public as an interface into an existing SAP system from an external system. RFC is the protocol used to call functions in an R/3 system by a caller external to R/3 or to call programs external to R/3 from an R/3 system. Functions can only be called via RFC, if they are tagged as RFC functions in the SAP development workbench.