10-12-2007 8:17 AM
10-12-2007 9:29 AM
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
RFC
http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm
http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCFESDE2/BCFESDE2.pdf
Rewards if useful...................
Minal
10-12-2007 9:37 AM
<b>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.
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.
Functions can only be called via RFC, if they are tagged as
RFC functions in the SAP development workbench. They are
then called RFC function modules. BAPIs are complete sets of
(BAPI) function modules that model a business application.
When you are familiar with web developments: RFC can be
compared to HTTP and BAPIs are CGI applications.
In other words: A BAPI function is a function module that
can be called remotely using the RFC technology.</b>
10-12-2007 9:40 AM
Hi,
Both are RFC calls. When you qualify a RFC function module as a method of BOR then you call it a BAPI. But functionally both are one and the same.
Thanks and regards,
S. Chandra Mouli.
10-12-2007 12:03 PM
Hi
<b>RFC -</b> This is a Function Module which is Remote Enabled. In other words this is just a function module that you can call from other system as well by specifying the destination.
<b>BADI</b> - This is again a function module which is attached with an object. In other words we can say that any function module attached with an object is BADI.
10-12-2007 12:46 PM
10-12-2007 1:54 PM
Hi Karthik,
These r the differences between BAPI & RFC
1)Bapi's are nothing but RFC enabled function module and the main difference b/w RFC & BAPI is that BAPI is maintained in BOR(business object repository).
2)RFC can have only one instance whereas BAPI can have many.
3)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.
4)BAPI's are the remote enabled Function modules which are defined in the Business Object Repository (BOR) as the methods of the business objects.
5)I can say BAPI is the subset of RFC. RFC connects to the other system via BAPI and vice versa.
U can find step-by-step creation of BAPI in the following web-sites.
http://www.erpgenie.com/abap/bapi/example.htm#About%20the%20example
http://help.sap.com/saphelp_46c/helpdata/en/dd/5009660aa411d2ad1b080009b0fb56/content.htm
U can find detailed discussion about RFC in the following web-sites :
http://help.sap.com/saphelp_46c/helpdata/en/22/0424ba488911d189490000e829fbbd/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/22/0424ce488911d189490000e829fbbd/content.htm
*****Please don't forget to reward points if u find this usefull
Regards,
gyanaraj