‎2008 Jan 30 4:26 AM
HI,
can i know the exat difference between function module and bapi
ramesh
‎2008 Jan 30 4:29 AM
hi ,
Here are some of the differences :
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.
Difference Between BAPI and RFC
What is the main difference between BAPI and RFC and difference between BAPI and BDC?
BAPI is used only when it is available for the particular transaction like Delivery Sales order. but BDC can be used for any
transaction which have screen and fields.
BAPI is directly updated the database instead BDC run through the screen flow.
So BAPI can't handle all the flow logic checking and enhancement put by programmer to faciliate the user requirement.
Regards,
Ranjita
‎2008 Jan 30 4:32 AM
Hi,
bapi is Remote fuction enables where as function module is not
bapi has some set of rules then only you can declare it as a bapi
bapi should be in BOR
bapi should not use dialog screens
bapi should not use update fucction modules
etc
these are the basic diff of the BAPI and function module
Regards,
siva chalasani.
‎2008 Jan 30 4:33 AM
BAPI:
BAPI is an API method of a business object which intern is a RFC enabled function module. Business objects are objects in their own sense which involve with a business process.
BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects.
We 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 we 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.
FUNCTION MODULE:
Function modules are special external subroutine stored in a central library. The R/3 system provides numerous predefined functin modules that you can call from your ABAP/4 programs. The function modules have global presence and can return value.
Rewards if useful.