Promote the Author $5 $10 $15

Enhancements – User ExitsEnhancements – User Exits

VN:F [1.9.8_1114]
Rating: 8.7/10 (7 votes cast)

Classical BAdI @ SAP EBook 1. What is a User Exit?

  • User exits allow you to add additional functions to the SAP standard.
  • Programs with user exits contain Subroutine (Form Routines) calls at certain points in their syntax that are identified by the prefix USEREXIT.
  • The actual User Exits Form Routines are located in an Include Program that has been assigned to a Module Pool Program.. The following diagram explains this:

image 

  • In the User Exits Form Routines customers can include any changes (enhancements) that they want to make to the system. These includes are always processed during program flow
  • So the SAP developer creates a special include in a module pool. These includes contain one or more subroutines routines that satisfy the naming convention USEREXIT_<name>. The calls for these subroutines have already been implemented in the R/3 program.
  • A user exit is considered a modification, since technically objects in the SAP namespace are being modified.
  • After delivering them, SAP never alters includes created in this manner; if new user exits must be delivered in a new release, they are placed in a new include program.

2. In which SAP component User Exits are primarily used?

User exits are primarily used in the Sales and Distribution component.

3. What are the advantages and disadvantages of User Exit?

Advantage: In principle, customers can modify anything they want that is found in the include (tables, structures, and so forth).

Disadvantage: SAP cannot check the individual enhancements themselves which often leads to errors in the enhancement process.

4. How can we find overview of User Exits as well as a description of those user exits that exist in SD?

We can find overview of User Exits as well as a description of those user exits that exist in SD in the SAP Reference IMG under Sales and Distribution -> System Modification -> User exits.

Steps:

  • Go to transaction : SPRO
  • Go to Sales and Distribution -> System Modification -> User exits

 image

5. How do you find User Exit in any transaction say VA01 – Create Sales Order?

Step 1: Find the Module Pool Program

Go to the transaction – VA01 – Create Sales Order.

Then Go to SYSTEM in the Menu bar and then to STATUS from where we can find the ‘Program (screen)’.

image

Step 2: Find the Includes Program that contains User-Exits

Double click that ‘Program (screen)’. Generally user-exits are always at the start of the standard SAP program

image

 

 

 

Step 3: Find the User Exit Subroutines

Double click on any of these Includes that contains User-Exits. You can see various subroutines with prefix USEREXIT.

image

Customers can insert their standard code inside these form routines.

Customers can create their own form routines but should begin with ‘ZZ’.

A more faster way to search is to search the string ‘PERFORM USEREXIT’ inside the program.

 

Next Post:

The term ‘User Exits’ is also used interchangeably for ‘Customer Exists’. While the purpose of User Exits and Customer Exits are same there is significant technical difference between the two. In my next post I will discuss on Customer Exits.

References:

Further Reading:

 

VN:F [1.9.8_1114]
Rating: 8.7/10 (7 votes cast)
Enhancements - User Exits, 8.7 out of 10 based on 7 ratings
Hey friends!!! Don't forget to promote the post by pressing the buttons below, if you liked it...
  • Digg
  • del.icio.us
  • StumbleUpon
  • Twitthis
  • Yahoo! Buzz
  • Facebook
  • Technorati
  • LinkedIn

2 comments to Enhancements – User Exits

  • hima chandana

    HI,
    Brief overview of user exit is published in a excellent way.It will be greate if you can further elaborate the explanation related to finding the exact user exit and technical differences b/w user exit and coustomer exit .Eagerly waiting for your next post.

    Regards,
    Hima chandana.

    VA:F [1.9.8_1114]
    Rating: +3 (from 3 votes)
  • Bookmarked your web site. Thank you for sharing. Definitely worth the time away from my classwork.

    VA:F [1.9.8_1114]
    Rating: 0 (from 0 votes)

Leave a Reply

  

  

  


*

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>