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 bapi and function module

Former Member
0 Likes
909

Can you guys tell me what are the differences in calling bapis and function modules?

I see we are calling both as the same way we call function modules. May be for bapis, we need to be careful in declaring and passing those exact structures. Can you please make it clear reg. the differences between them?

I appreciate it.

Thanks!

7 REPLIES 7
Read only

Former Member
Read only

abdul_hakim
Active Contributor
0 Likes
746

Function modules are modularization unit with unique name which can be called from any program

in the R/3 System.

BAPIs are Business Application Programming Interface implemented in BOR.

Itz mainly for accessing the SAP Business objects from the external system..

Cheers,

Abdul Hakim

Read only

0 Likes
746

Yes...Its perfect

Read only

Former Member
0 Likes
746

hi Nuren,

a BAPI is a function module which is remotely enabled.. ie you can access it using other system outside R/3, you can access it using another R/3 or R/2 or standalone Java program.

BAPI are standard function modules provided by SAP and are remotely enabled.

You can make your function module remotely enabled in attributes of Function module.

Each Bapi Object has Interface, Key Fields, Attributes,Methods and Events.

Bapi Function Modules can be attached to these Bapi objects .Function module has a single bound functionality while a BAPI object can contain many functionalities

Regards,

Naveen

Read only

Former Member
0 Likes
746

Nuren,

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.

Thanks,

Read only

Former Member
0 Likes
746

Hi nuren,

to get the basic idea about bapis:

http://www.sappoint.com/abap/bapiintro.pdf

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,

keerthi.

Message was edited by: keerthi kiran varanasi

Read only

Former Member
0 Likes
746

HI,

See these links on help.sap.com

<b>For BAPI:</b>

The data entered in the Internet is transferred to the R/3 System via BAPIs (Business Application Programming Interfaces).

Data in the R/3 System is accessed via BAPIs as well.

A Good Site for BAPI's

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html

http://help.sap.com/saphelp_erp2005/helpdata/en/7c/3ce38765ba11d395fe00a0c94260a5/frameset.htm

<b>For Function Module:</b>

The important use of functional module is it is used by Enhancements.

SAP Enhancements are used to expand the standard functionality within SAP.

Enhancements use function modules and are called from the standard SAP code.

http://help.sap.com/saphelp_erp2005/helpdata/en/41/7af4daa79e11d1950f0000e82de14a/frameset.htm

List of functional modules ( Good Site)

http://www.geocities.com/victorav15/sapr3/abapfun.html

Hope it helps!!!!

Thanks

Sudheer