06-18-2008 1:37 PM
06-18-2008 1:40 PM
Hi Swamy,
Both are totally different concepts.
Why do you want to compare them?
A BAPI is a special type of remote enabled function module which has a specific business function, whereas a User-Exit is a place holder where we can enter our custom code if the standard functionality offered by sap is not sufficient to match the customer's requirement.
Regards,
Ravi
06-18-2008 1:49 PM
Hi,
Check the link below:
http://www.saptechnical.com/Tutorials/Tutorials.htm
Hope this helps..
Regards,
Sharath
06-18-2008 2:18 PM
http://www.sap-img.com/abap/what-is-user-exits.htm
Where as this customer exits are again divided into:
1. Menu Exits.
2. Field Exits.
3. Screen Exits.
4. Function module exits.
These all the things comes under Enhancements.
User exits
1.A user exit is a three character code that instructs the system to access a program during system processing.SXX: S is for standard exits that are delivered by SAP.
XX represents the 2-digit exit number.UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number
2.USER EXITS are FORMS and are called by SAP standard programs
using PERFORM.
3.Inside the form (user exit) you can read and change almost
any global data from host program.
4. User exits are more flexible because you have more information to use in your code but on the other hand , it is very easy to manipulate erroneously global data and lead the standard program to a dump or even to make database inconsistent.
5.While changing User-exit,Access Key is required,
BAPI is nothing function module but which is remote enabled, means you can access this fm through other SAP or non-SAP system by assingning to business object,which we can crea in SWO1 transaction.
more details see WWW.SAPTECHNICAL.COM
reward if helpful
06-18-2008 2:56 PM
06-18-2008 4:33 PM
Hi ,
Badi is implemention of class where as userexit is like function module.
both are used to write code for some validations during when transaction is saved.
We can have only one activation for userexit, where we will create a project and Assign userexit there and activate it.We can n't assign userexit to multiple projects.
Where as for Badi we can have multiple activation at single point of time.