cancel
Showing results for 
Search instead for 
Did you mean: 

About RFC and BAPI

former_member207019
Participant
0 Kudos

Hello Masters,

What Makes the exact difference between RFC and BAPIs. Both can perfom same thing. BAPI uses the RFCs only. Then how can it justify?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

vijay_b4
Active Contributor
0 Kudos

Hi Jyostna,

hi,

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

In this case u only specify the business object and its method from external system in BAPI there is no direct system call. W

RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types.

hope it is useful.

Regards,

Vani.

Edited by: Vani on Apr 18, 2008 9:30 AM

Answers (4)

Answers (4)

Former Member
0 Kudos

RFC:

RFC --- > Function module and general will be used to make call to function

sending the function (XI has RFC adapter)

BAPI:

BAPI ---> Other version of RFC (Objected oriented) mostly we will use for Sync

calls (Mostly in XI using proxies we will call BAPI's)

Refer these links for more details:

http://sapabap.iespana.es/sapabap/sap/faq/ale_idocs_bapi.htm

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

BAPI Vs IDOC - in detail

http://searchsap.techtarget.com/tip/1,289483,sid21_gci824860,00.html

/thread/127699 [original link is broken]

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html

For more details:

refer this thread.

BAPI is nothing but the Business process programing interface which are standard and stable and these are store in the business object repository.

Standardized programming interface that enables external applications to access business processes and data in an SAP System

RFC is the remote function call which is used to call the function remotely which may be in same system or ather system

its also used communication between SAP systems , between SAP systems ,external systems.

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html

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

RFC means remote function call,

these are the function modules which can help u to access across the sap and from sap to third party front end,

BAPI means Business application programing interface which is the RFC enable function module and uses in OOPS concept.

ALE/ IDOC

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

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

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

http://www.sapgenie.com/sapedi/idoc_abap.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm

http://www.allsaplinks.com/idoc_sample.html

http://www.sappoint.com/abap.html

http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm

This is a short description of BAPI and RFC

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.

Former Member
0 Kudos

Remote Function Call:

RFC is an SAP interface protocol. Based on CPI-C, it considerably simplifies the programming of communication processes between systems.

RFCs enable you to call and execute predefined functions in a remote system - or even in the same system.

RFCs manage the communication process, parameter transfer and error handling.

http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm.

BAPI

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.

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.

note:reward points if solution found helpfull.....

regards

chandrakanth.k

former_member859847
Active Contributor
0 Kudos

Hi,

Hers RFC means remote function call.this word is specific to SAP.

when we talk the BAPI- business application program interface which is common word know by different platform memebers also.

where as RFC's know by SAP consultant only.

functionality wise both are same.

let us know, still u need more clerifications.

warm regards

mahesh.

Former Member
0 Kudos

Hi,

BAPI & RFC both are same.

While creation of RFC we have to create Function group & Function module.This shld be remotely Enabled for Access.

Regards

Seshagiri

Edited by: N V Seshagiri on Apr 18, 2008 8:07 AM