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

Re:RFC & BAPI Function Module

Former Member
0 Likes
897

Hi all ,

can any one tell me exact diff bet RFC Function module and BAPI Function module

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
874

Hi,

regards

jana

8 REPLIES 8
Read only

Former Member
0 Likes
874

Hi,

BAPI methods 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.BAPI is having all Key fields, methods, interfaces etc.

For more details, check

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

Regards,

Anirban

Read only

Former Member
0 Likes
875

Hi,

regards

jana

Read only

anversha_s
Active Contributor
0 Likes
874

Hi,

<copy&paste_removed_by_moderator>

Regards,

Anversha

Edited by: Julius Bussche on Aug 27, 2008 4:05 PM

Read only

Former Member
0 Likes
874

refer to the link below:

http://help.sap.com/saphelp_45b/helpdata/DE/cf/8ccab761ea11d2804a00c04fada2a1/content.htm

/message/5907593#5907593 [original link is broken]

With luck,

Pritam.

Read only

Former Member
0 Likes
874

Thank you all for your suggestions

but my question exactly is when we use RFC function module and when we use BAPI Function module

Regards,

Chinna

Read only

0 Likes
874

Personally, I think your chances of finding a usefull correct answer are far greater if you search for yourself, than what they are when these folks do random searches for you without reading the question...

Cheers,

Julius

Read only

Former Member
0 Likes
874

Hello There.

In Agreement with Julius.

I would like to suggest my Opinion.

RFC and BAPI allows you to communicate between two systems.

1. BAPI is a type of a RFC Interface.

2. BAPI adds a Business Objects Touch. (Programming Interface)

3. BAPI allows functionalities all in one.

Example: In Transaction BAPI,

For Different Modules and applications we have nodes (Create, Change, Get list, Get Details, Delete, Return) which create or change or Delete, etc instances of that object.

The advantage of using BAPIs over using RFCs is that using BAPIs requires no ABAP programming knowledge. You use BAPIs from standard programming languages such as C++ and Java. 

Using BAPIs also offers the most stability to your application, because BAPIs stay consistent over different R/3 releases. 

However, business objects and their BAPIs are created by SAP, and you can only use BAPIs that were implemented by SAP. If a certain BAPI for performing a certain application task was not implemented yet, you must seek alternative programming methods.

You can make out the difference by understanding BAPIs by the transaction BAPI in depth as well compare out using normal RFC enabled Function modules.

Refer, [Major RFC and BAPI Interfaces to SAP systems|http://help.sap.com/saphelp_45b/helpdata/DE/cf/8ccab761ea11d2804a00c04fada2a1/content.htm]

Hope that'll be fine.

Good Luck & Regards.

Harsh Dave

Read only

Former Member
0 Likes
874

Thank you all