cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt About BAPI's And RFC's

Former Member
0 Kudos

Hi Experts,

What is the use of BAPI's And RFC's.

Please give detailed Description.

Regards

Khanna

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

ANS

Former Member
0 Kudos

HI,

BAPI's are specific methods for SAP business objects, which are stored in the Business Object Repository (BOR) of the SAP system and are used for carrying out particular business tasks.

In the SAP system, BAPIs are stored as RFC-capable function modules in the ABAP Workbench Function Builder. BAPIs have standard business interfaces, which enable external applications (with the help of SAP business objects) to access SAP processes, functions and data.

RFCs enable you to call and execute predefined functions in a remote system - or in the same system. They manage the communication process, parameter transfer, and error handling.

Just have a look at these links:

http://help.sap.com/saphelp_nw04/helpdata/en/5c/f3f0371bc15d73e10000009b38f8cf/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/69/ac758adb6811d6b2ca00508b5d5c51/frameset.htm

Regards,

Gunasree

Former Member
0 Kudos

Hi,

BAPI :

Business Application programming Interfaces are the methods to access the functional data in SAP system.BAPIs are Remote Function Call capable methods, when we want to access the data from SAP systems remotely , SAP provided the standard,pre-build ,tightly secured methods are also known as BAPIs . With these we can access the functional data securely.These are stored in Business Object repository (BOR) in SAP system to carry out perticular business tasks. see the below link to get more details

http://help.sap.com/saphelp_nw2004s/helpdata/en/69/ac758adb6811d6b2ca00508b5d5c51/content.htm

RFC :Remote function call : a method to access the data remotely, i mean remote enabled function modules

With these we can access the data , but not like as BAPIs , we may not able to access the functional data as secured like BAPIs,

In general we will use RFC to communication between the different systems in SAP environment.

see the below link to get more details

http://help.sap.com/saphelp_nw2004s/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm

Regards

Chilla

Former Member
0 Kudos

Hi Rajesh,

BAPI 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.

It is not possible to connect SAP to Non-SAP systems to retrieve data using RFC alone. RFC can acces the SAP from outside only through BAPI and same is for vice versa access.

You can also read this thread:

Regards,

Subhasha Ranjan

Former Member
0 Kudos

Hi Khanna,

RFC is nothing but Remote Function call. A RFC can have import and export parameters.RFC will take the input parameters and it will process the logic and and it will give you the return value. you can think RFC same as method in java.

There is not difference for RFC and BAPIS...both are same but if you ask me more specifically you can call a BAPI when a RFC make it as Remote Funcation call.

For more information please refer the below link:

http://help.sap.com/saphelp_nw2004s/helpdata/en/22/042a3e488911d189490000e829fbbd/frameset.htm

Thanks and Regards,

Chandu.

Former Member
0 Kudos

BAPI's are executable processes or programmes which resides in SAP system which can store\retrieve the data from the SAP system.In order to connect to SAP system You need RFC Adapter.