Recently I got a job as ABAP/4 programmer. I don't know about User exits. Can you please help tell me about User Exits and how can I learn User Exits fast!
User exits are hooks in standard SAP code, which allow you to add functionality. The positioning of these exits has been defined by SAP, so often you can't find one where you need it!
The implementation of user exits depends on the module. Some (and more, as you go to later releases) are implemented using CALL CUSTOMER-FUNCTION (see help documentation for this ABAP statement) - these are controlled from transactions CMOD and SMOD - have a look at the online documentation - transaction CMOD, menu Utilities --> Online Manual.
In older areas of SAP code, the exit might be coded using an empty form supplied by SAP. E.g. look at module SAPMV45A. This has many forms beginning USEREXIT_... You can insert your own code in this.
In other areas such as FI or LIS, there are configuration entries which allow calls to external ABAP code.
Up until 4.5, there are field-exits. These are triggered as the first action during a PAI event. They are linked to a field's domain, and can be made global for that domain, or screen specific.
Finally, you may need to make customer specific changes to SAP code. Note that if you choose to do this, SAP will not support the modified code.
Dig Deeper on SAP security administration
Related Q&A from Matthew Billingham
An SAP user needs information on how to change the password on several SAP user accounts from a central location.continue reading
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header.continue reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.