How to Find SAP User Exits and Customer Exits
How to Find SAP User Exits and Customer Exits
User Exits and Customer Exits are old enhancement types which are available in the form of Subroutines and Function modules using which we can add our own functionality to SAP standard applications without having to modify the original applications ,present ,instead of which ,there is available advanced BADI's and Implicit and Explicit Enhancement Options .In the previous lessons ,we have learnt How to find BADI and How to implement BADI.
What are User Exits and Customer Exits
User exits
These are implemented in the form of subroutines so which also known as FORM EXITs. The user exits are normally collected in includes and attached to the standard program by the SAP.
All User exits start with the prefix word USEREXIT_...
FORM USEREXIT_XXXX....
INCLUDE ZZUSEREXIT.......
ENDFORM.
Customer exits
SAP having customer exits for specific programs, screens, and menus within standard applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. We can add our own add-on functionality onto these hooks.
Customer exits are nothing but a include in customer name space will be provided in the function module which starts with CALL CUSTOMER. You can fill them with your own source code.
- They do not affect standard SAP source code
- They do not affect software updates
Disadvantage:
Customer exits are not available for all programs and screens found in the SAP System.
Types of Customer Exits
1. Function Module exits
2. Screen exits
3. Menu exits
How to Find User and Customer Exits
Go to Object Navigator (SE80), select Package and put VMOD and press enter. We will find all the includes for user exits in SD. Documentation is maintained for each subroutine which helps us for better understanding of the subroutine. Select the subroutine according to the our requirement and start coding within the subroutine.
Enter the transaction VA01.
Go to menu System and select sub item status.
We will get the name of the program as (SAPMV45A).
Now go to SE38 Editor and type the program name as SAPM45A.
And select subobjects - attributes radio button and press Display.
Note the package name. In this case, it is VA
Now go to SMOD Transaction (SMOD is used to find the enhancements and user exits.)
Here if we enter the enhancement name it results the list of user exit names.
But we don’t known the Enhancement name so press the Utilities > Find menu option.
Press Execute .
Search the related enhancement which related to program name SAPMV45A Matches four enhancements.
From the available enhancements ,we have to choose the right one.
Finally ,we have learnt What are user and customer exits and their use and how to find user exits and customer exits.
Enter the transaction VA01.
Go to menu System and select sub item status.
We will get the name of the program as (SAPMV45A).
Now go to SE38 Editor and type the program name as SAPM45A.
And select subobjects - attributes radio button and press Display.
Note the package name. In this case, it is VA
Now go to SMOD Transaction (SMOD is used to find the enhancements and user exits.)
Here if we enter the enhancement name it results the list of user exit names.
But we don’t known the Enhancement name so press the Utilities > Find menu option.
Press Execute .
Search the related enhancement which related to program name SAPMV45A Matches four enhancements.
From the available enhancements ,we have to choose the right one.
Finally ,we have learnt What are user and customer exits and their use and how to find user exits and customer exits.
Comments
Post a Comment