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: 

bapi

Former Member
0 Kudos

what is the difference b/w normal function module and bapi function module?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hai Kiran

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

Also refer to the following links..

www.sappoint.com/abap/bapiintro.pdf

www.sap-img.com/bapi.htm

www.sap-img.com/abap/bapi-conventions.htm

www.planetsap.com/Bapi_main_page.htm

www.sapgenie.com/abap/bapi/index.htm

Checkout !!

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

http://techrepublic.com.com/5100-6329-1051160.html#

http://www.sap-img.com/bapi.htm

http://www.sap-img.com/abap/bapi-conventions.htm

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

Java Connector(JCO) can call not only BAPI's but also the function modules which are remotely enabled..

BAPI's as i said earlier are remotely enabled function modules..

Hence, JCO can call also BAPI's(n not only BAPI's as u mentioned).

Thanks & regards

Sreenivasulu P

5 REPLIES 5

Former Member
0 Kudos

Hi Kiran,

I had answered this question earlier.. I guess it was asked earlier by you..

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

Refer to my reply in

Regards,

Tanveer.

Please close the thread and award points this time if found helpful

Message was edited by: Tanveer Shaikh

Former Member
0 Kudos

check this post

hope you find it useful

Regards,

Kinshuk

ferry_lianto
Active Contributor
0 Kudos

Hi Kiran,

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.

For more information, please check this links.

BAPI:

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

Function Module:

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

Hope this will help.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi Kiran,

Both Function Modules and BAPIs can be Remote Enabled and we can create both custom BAPIs and custom Function Modules.

The Main difference between a BAPI and a Normal Function module is that a BAPI does a specific Business Process, for example creating sales orders, while Function module performs specific functions, which forms a part of a Business Process.

Another difference will be that the BAPI will return the Status of the Execution using the "Return" table and for Function modules we use the sy-subrc check to determine the Status.

While accessing an SAP system through an RFC, BAPI is preferred to a Function module, as the External user will be more aware of the Business Processes in SAP rather than the Business Functions.

Regards,

Raj.

Former Member
0 Kudos

Hai Kiran

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

Also refer to the following links..

www.sappoint.com/abap/bapiintro.pdf

www.sap-img.com/bapi.htm

www.sap-img.com/abap/bapi-conventions.htm

www.planetsap.com/Bapi_main_page.htm

www.sapgenie.com/abap/bapi/index.htm

Checkout !!

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

http://techrepublic.com.com/5100-6329-1051160.html#

http://www.sap-img.com/bapi.htm

http://www.sap-img.com/abap/bapi-conventions.htm

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

Java Connector(JCO) can call not only BAPI's but also the function modules which are remotely enabled..

BAPI's as i said earlier are remotely enabled function modules..

Hence, JCO can call also BAPI's(n not only BAPI's as u mentioned).

Thanks & regards

Sreenivasulu P