Saturday, September 06, 2008

SAP: Finding user exits

There are 2 paths, for 2 very different results

#1 – cmod
To find via cmod, we need to perform a few steps

1. start the desired tcode – eg: va01
2. go “status”, double click on program source code
3. go to se80
4. go up one level, find out development class
5. go to tcode cmod
6. click utilities > sap enhancements
7. enter dev class, search
http://www.sap-basis-abap.com/sapab013.htm

or, we can use codes to shorten this step
http://www.erpgenie.com/abap/code/abap26.htm


---
#2 – find via search

1. start the desired tcode – eg: va01
2. go “status”, double click on program source code
3. search in source code “userexit”

note that both methods give very different results
our usual Sales order user exit MV45AFZZ can be found using method 2
~

1 comment:

  1. This is how I go about looking for User Exit.

    1. Tcode: SE81
    2. Select the Application Components (e.g. SD-SLS, MM-PUR...)
    3. Click on EDIT -> SELECT SUBTREE +/-
    4. Click on INFORMATION SYSTEM button. This will bring you to application hierarchy interface.
    5. Select ENVIR -> EXIT TECHNIQUES -> CUSTOMER EXITS -> ENHANCEMENT.
    6. For EXIT NAME parameter, enter * and execute. System will display all the user exits under the application components selected earlier.

    Hope this is helpful :P

    ReplyDelete