Application Development 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: 

Regarding function modules

Former Member
0 Kudos

difference between RFC enabled function modules and BAPIs

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Naveen,

RFC-enabled function modules are ABAP programs that can be executed from a remote SAP system in a distributed environment. They are created in the ABAP Workbench Function Builder. For example, BAPIs (Business Application Programming Interface) are implemented as RFC-enabled function modules.

The Guided Procedures (GP) framework allows you to import any RFC-enabled function module as a callable object and to use it in a business process that you model with GP. In addition, you do not need to modify the implementation of the existing function modules to fit any specific requirements. The framework itself integrates the function modules into the GP environment.

Prerequisites

· You have access to an SAP system and you have the permissions required to execute the RFC-enabled function module that you are exposing as a callable object.

· You have the latest version of GP installed.

Process Flow

The process of importing an RFC-enabled function module into GP comprises the following steps:

1. Configuring an endpoint

2. Exposing a BAPI as a callable object

BAPIs are special, remote-enabled methods of a business object, and are implemented as RFC-enabled function modules.

BAPIs can perform various functions such as:

- cretaing an object

- querying the attributes of an object

- changing the attributes of an object

USES OF BAPI:

You can use BAPIs for different applications.

For example:

­ Internet application components: Where individual R/3 functions are implemented on the Internet or Intranet for users with no R/3 experience.

­ Building R/3 components Communication between the business objects from different R/3 components (applications).

­ VisualBasic / JAVA / C++ : External clients access R/3 data and processes through the BAPIs.

Reward if helpful.

Thankyou,

Regards.

5 REPLIES 5

Former Member
0 Kudos

BAPI:

BAPI is an API method of a business object which intern is a RFC enabled function module. Business objects are objects in their own sense which involve with a business process.

RFC:

Remote Function Call (RFC) is a call to a function module running in a system different from the caller's. The remote function can also be called from within the same system, but usually caller and callee will be in differene system. RFC allows for remote calls between two SAP Systems (R/3 or R/2) or between an SAP System and a non-SAP System.

FUNCTION MODULE:

Function modules are special external subroutine stored in a central library. The R/3 system provides numerous predefined functin modules that you can call from your ABAP/4 programs. The function modules have global presence and can return value.

Reward points if useful.

Former Member
0 Kudos

Hi Naveen ,

BAPI is a type of RFC FM , in addition to it being an RFC FM it will always be associated with a business object in the Business Object Repository ( BOR).

Regards

Arun

Former Member
0 Kudos

Hi Naveen,

RFC-enabled function modules are ABAP programs that can be executed from a remote SAP system in a distributed environment. They are created in the ABAP Workbench Function Builder. For example, BAPIs (Business Application Programming Interface) are implemented as RFC-enabled function modules.

The Guided Procedures (GP) framework allows you to import any RFC-enabled function module as a callable object and to use it in a business process that you model with GP. In addition, you do not need to modify the implementation of the existing function modules to fit any specific requirements. The framework itself integrates the function modules into the GP environment.

Prerequisites

· You have access to an SAP system and you have the permissions required to execute the RFC-enabled function module that you are exposing as a callable object.

· You have the latest version of GP installed.

Process Flow

The process of importing an RFC-enabled function module into GP comprises the following steps:

1. Configuring an endpoint

2. Exposing a BAPI as a callable object

BAPIs are special, remote-enabled methods of a business object, and are implemented as RFC-enabled function modules.

BAPIs can perform various functions such as:

- cretaing an object

- querying the attributes of an object

- changing the attributes of an object

USES OF BAPI:

You can use BAPIs for different applications.

For example:

­ Internet application components: Where individual R/3 functions are implemented on the Internet or Intranet for users with no R/3 experience.

­ Building R/3 components Communication between the business objects from different R/3 components (applications).

­ VisualBasic / JAVA / C++ : External clients access R/3 data and processes through the BAPIs.

Reward if helpful.

Thankyou,

Regards.

Former Member
0 Kudos

BAPI:

BAPI is an API method of a business object which intern is a RFC enabled function module. Business objects are objects in their own sense which involve with a business process.

RFC:

Remote Function Call (RFC) is a call to a function module running in a system different from the caller's. The remote function can also be called from within the same system, but usually caller and callee will be in differene system. RFC allows for remote calls between two SAP Systems (R/3 or R/2) or between an SAP System and a non-SAP System.

FUNCTION MODULE:

Function modules are special external subroutine stored in a central library. The R/3 system provides numerous predefined functin modules that you can call from your ABAP/4 programs. The function modules have global presence and can return value.

Reward points if useful.

Former Member
0 Kudos

1. The common thing is that both are function modules,

which are RFC enabled.

2. The only difference is that BAPI are registered in BOR as objects,

having methods.

For practical usage purpose, no difference.

reward points if useful.

regards,

kushagra