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

Diffrence between RFC and BAPI

Former Member
0 Likes
862

Plz. any one can help me to know the Diffrence between RFC and BAPI

9 REPLIES 9
Read only

Former Member
0 Likes
790

Hi parsad,

You can follow this link for differnce b/w two,

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

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.

BAPIs are called from the outside-in. That is, an external program

invokes a BAPI that gets data from SAP to display or updates data in

SAP. The BAPI concept does not include an event concept -- you cannot

tell SAP that when certain events happen to a "business object", to fire

a message or a file to an external system.

regards

Aashish garg

Message was edited by: aashish garg

Read only

0 Likes
790

Hi,

Check these Links

Regards,

Santosh

Read only

Former Member
0 Likes
790

Hi !

BAPI's (Business Application Interfaces) represent a complete bisiness transaction such as the SAP-Dialog-Transactions do.

They are implemented as SAP-Function-Modules and cann be simpley called by CALL FUNCTION ....

RFC is a technology.

RFC (Remote Function Call) means calling a function from an outstanding system or from one SAP-System to an other SAP or non SAP system.

Regards

Rainer

Some points would be nice if that helped a bit.

Read only

former_member186741
Active Contributor
0 Likes
790

BAPIs relate to specific Business Areas and are usually, if not always, implemented as RFCs. RFCs are function modules written so that they can be called from external sources (remote Function Calls). Not all RFCs are BAPIs. You could write your own function module and make it accessible as an RFC.

Read only

0 Likes
790

Hi,

> What is the difference between a BAPI and an 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.

Cheers

VJ

Read only

Former Member
0 Likes
790

Hi,

BAPI's are associated with Business Objects and also they are RFC enabled.

But RFC's are the FM's which can be called from external systems, those FM's can be used in many places based on the applications..

Regards

vijay

Read only

Former Member
0 Likes
790

Hai

what is BAPI?

BAPI stands for Business API(Application Program Interface).

I have answered this question before..

A BAPI is remotely enabled function module ie 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).

Please check out this thread..

Read only

Former Member
0 Likes
790

Hi,

First of all RFC is a protocol used to call the other system.

For calling the SAP system from external system we have two ways.

1. Normal RFC Function module (written in normal ABAP Generally we call RFC function module)

2. BAPI (Business Object method completely written in ABAP objects)

The standard SAP interfaces and all BAPI’s are published centrally in the XML-based Interface Repository (IFR). You can access the Interface Repository in the Internet using the following address: http://ifr.sap.com.

Best Regards,

Raghu

Read only

Former Member
0 Likes
790

Thanks all you guys....its great explanation about the difference between BAPI and RFC..its helpful to many people.

thanks,

Bt