Explain what is user exits and field exits and how many types of exits are there in SAP? TYPES OF EXITS 1) MENU EXITS
USEREXIT: 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_..
The problem lies in finding the correct userexit and how
to find it if one exists for the purpose. Once the correct userexit is
found the necessary customer code is inserted in the customer include starting
with the z..
e.g. USEREXIT_SAVE_DOCUMENT_PREPARE Field exit was created with CMOD, but is not processed when calling the screen. - Since the field exit is not processed until PAI, an action must be triggered on the screen (Return, Save, ...). - Set profile parameter abap/fieldexit to YES and restart the system. - After activating the function module FIELD_EXIT...
- Do not work on different application servers since there may be some delay before the field exit is activated. - The profile parameter must be set on all or none of the application servers. - If the field exit is to only be active on specific screens, check whether you chose the correct program and the correct screen number (take care with subscreens). - Using SE51 -> Field list, check that the screen field does have a reference to a data element. In the name of the field exit use the name of the data element and not the field name. - After transport, field exits are marked as active but will not be processed.
More Abapers Questions: ABAP Books ListABAP/4 Certification, Programming and Object Oriented Programming Books Smart Forms
ABAP Menu:
Return to Index:-
(c) www.gotothings.com All material on this site is Copyright.
|