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

BAPI VS RFC?

Former Member
0 Likes
600

Hi,

Can anybody please tell me what is the difference between BAPI and RFC?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
532

It is true that BAPIs are always defined as Remote-enabled function modules. However, what makes them different or conceptualized in a particular class as "BAPI" is that they serve for a business related functionality as the name also implies "Business Application Programming Interface".

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html

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

Best Regards,

Vibha Deshmukh

*Please mark all the helpful answers

4 REPLIES 4
Read only

Former Member
0 Likes
533

It is true that BAPIs are always defined as Remote-enabled function modules. However, what makes them different or conceptualized in a particular class as "BAPI" is that they serve for a business related functionality as the name also implies "Business Application Programming Interface".

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html

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

Best Regards,

Vibha Deshmukh

*Please mark all the helpful answers

Read only

Former Member
0 Likes
532

hi,

both BAPI and RFC are function modules which can be called via an external system.

BAPIs are a set of FMs that are already available whereas RFCs are the customised version which is coded by the user as per his needs.

Regards,

Sandeep.

pls mark helpful answers

Read only

Former Member
0 Likes
532

Hi,

RFC - Remote Function Module - every function module which its attribute "Remote-enabled module" is checked is considered to be a RFC.

BAPI - a private case of RFC .A BAPI is an abap module function which fulfils specific design criteria.

A BAPI must:

1. Have a name that starts with BAPI_

2. Maintain a static interface through different versions

of the sap system

3. Be remote enabled

4. Handle all errors gracefully

5. Implement the method of a SAP Business Object

etc. etc.

Please pay attention that when using rfc function you can't invoke the SAP GUI - only transfer/change data.

Regards,

Ruthie.

Read only

0 Likes
532

HI

BAPI VS RFC

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. They are then called RFC function modules. BAPIs are complete sets of (BAPI) function modules that model a business application.

When you are familiar with web developments: RFC can be compared to HTTP and BAPIs are CGI applications.

In other words: A BAPI function is a function module that can be called remotely using the RFC technology.

regards

pavan