Professional Documents
Culture Documents
User Exits:
Userxits allow us to add our own functionality to SAP standard program
without modifying it . These are implemented in the form of subroutines and hence are also known as
FORM EXITs. The userexits are generally collected in includes and attached to the standard program
by the SAP. All Userexits start with the word USEREXIT_...
FORM USEREXIT_..
z..
ENDFORM.
Customer code is inserted in the customer include starting with the z in the form routine.
TYPES OF EXITS
1)MENU EXITS
2)FUNCTION EXITS
3)TABLE EXITS
4)SCREEN EXITS
5)KEYWORD EXITS
6)FIELD EXITS
ENHANCEMENTS
31. What are the different ways in which you can make changes to SAP standard software ?
Customizing
Enhancements to the SAP Standard
Modifications to the SAP Standard
Customer Development
32. What is customizing ?
Adding fields to the screens within R/3 applications. SAP creates screen exits by placing special subscreen areas
within a standard R/3 screen and calling a customer subscreen from within the standard dynpro's flow logic.
44. What is a function module exit ?
Adding functionality to R/3 applications. Function module exits play a role in both menu and screen exits.
45. What is a keyword exit ?
Add documentation to the data elements of key words defined in the ABAP/4 Dictionary. The system displays this
documentation whenever a user presses F1 to get online help for a screen field.
46. How do SAP organizes its exits ?
SAP organizes its exits in packages that are called SAP enhancements. Each SAP enhancement can contain
many individual exits.
47. What is an add-on project ?
To take advantage of the exits available within standard R/3 applications, you need to create an add-on project.
This project lets you organize the enhancement packages and exits you want to use. The add-on project also
allows you to hang add-on functionality onto the exit hooks contained with SAP enhancements.
Q48: What is the difference between a user exit and a customer exit? Do I need to get some kind of
access key from SAP to do a user exit?
Ans:
Strictly speaking a user exit is any place within standard SAP, where SAP have added a mechanism for client
specific code to be executed.
Customer exits are maintained with transaction CMOD. They are constructed in such a way that all development
is in the customer name range, so no access keys are required.
Most other types of exits require an access key, as they are places where you can put your own code directly into
standard SAP. For example, in Sales Order Processing, SAPMV45A, a number of user exits can be found in
include MV45AFZZ. To modify this, however, you would need an access key from SAP for this include. If you
wanted to utilize the screen exits available in Sales Order Processing, you would need an access key for
SAPMV45A.
VOFM transaction manages many user exits. When a VOFM exit is created, two access keys are required. One
for the include in which the code will be, and one of the function group in which it sits
Explicit and Implicit Enhancement Options
Principally, there are two types of enhancement options:
The developer of the corresponding development object must insert the options of one kind into
the coding so that enhancements can be done there at a later time. These preconceived enhancement
Enhancement points allow you to insert source code plug-ins. These are additional code lines
that, if they exist, are executed there additionally. Explicit enhancement options of the type
Enhancement Section behave in the same way - the only difference being that the source code plug-in
You can always insert source code plug-ins before the first and after the last line of includes,
methods, reports, and function modules.
You can always add further optional parameters to function modules.
For global classes, there are different permanent, implicit options for enhancements: You can
insert additional attributes or methods, and you can add optional parameters to existing methods.