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: 

RFC Vs BAPI?

Former Member
0 Kudos
149

Can anyone please list out as what are the differences between RFC & BAPI?

1 ACCEPTED SOLUTION

suresh_datti
Active Contributor
0 Kudos
118

Hi Hari,

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. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.

Regards,

Suresh Datti

3 REPLIES 3

suresh_datti
Active Contributor
0 Kudos
119

Hi Hari,

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. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.

Regards,

Suresh Datti

0 Kudos
118

The bad point to the BAPI, is, when you will modify any part of the BAPI, you will need to suppress and recreate all the BAPI of the BAPI group. (that's work like the use-case in the dictionnary).

With the last version of the websphere you could use the both, in the previous (2 or 3) you must use the BAPI.

Rgd

Frédéric

Former Member
0 Kudos
118

Hi Hari,

See following links:

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

http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983402,00.html

Hope this helps.

Kindly close the forum if you got the answer you are looking for.

-Bharat