Application Development 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: 

what is difference between User Exits and BAPI

Former Member
0 Kudos

hello sap gurus

what is difference between User Exits and BAPIs

5 REPLIES 5

former_member181962
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Check the link below:

http://www.saptechnical.com/Tutorials/Tutorials.htm

Hope this helps..

Regards,

Sharath

Former Member
0 Kudos

http://www.sap-img.com/abap/what-is-user-exits.htm

www.saptechnical.com

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

Pawan_Kesari
Active Contributor
0 Kudos

difference between userexit and BADI?

Former Member
0 Kudos

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.