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: 

Difference Between Function Module And BAPI

Former Member
0 Kudos

Hi Friends,

What is the technical difference between BAPI and Function Module (Normal, RFC and update)?

When do we use BAPI and FM?

If BAPI is also RFC enabled then why do we have RFC function module?

Kindly clarify with examples.

Regards,

Pradeep Singh Dhadwal

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Pradeep,

BAPI vs FM

BAPI stands for Business API(Application Program Interface).

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

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.

FM

Normal FM used internally inside SAP.

Hope this helps,

Manish

3 REPLIES 3

Former Member
0 Kudos

Hi Pradeep,

BAPI vs FM

BAPI stands for Business API(Application Program Interface).

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

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.

FM

Normal FM used internally inside SAP.

Hope this helps,

Manish

Sm1tje
Active Contributor
0 Kudos

Do a search on SDN and you'll find loads of material for your issue.

Question was posted already several times in the past, so shouldn't be a problem to find documentation on this.

Former Member
0 Kudos

Hi,

U got clear and good ans from Manish kumar for BAPI and RFC

BAPI function module is RFC that is Remote enabled.U can use with Remote systems .

where as normal function module is used with in the same system .