SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software Kodyaz SAP and ABAP Programming Tutorials
Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Windows, Windows Phone, SAP and ABAP, like SAP UI5, Screen Personas, etc.




CRM Companies List
Web Based CRM Software


How to Find User Exits in ABAP Codes of SAP Transaction

In this SAP ABAP tutorial, I'll try to show how to find function module exit (function exit or user exits) in ABAP codes of a SAP transaction. First start with answering what is user exit? User exit is a slot in ABAP code of a standard SAP program available for customer coding. Using user exits provided by SAP for customers, ABAP developers can customize and enhance standard SAP transactions by adding custom code according to their requirements.

ABAP developers can use two methods to find user module exits in an SAP transaction.
First method uses SAP transaction SMOD (SAP Enhancements)
And the other method is searching for CALL CUSTOMER-FUNCTION in SAP transaction ABAP program.

Find Function Module User Exit on VF02 using SMOD

First call transaction VF02. Provide a valid billing document number and press enter to display billing document data. When billing document data is being displayed in VF02 transaction screen, choose System > Status... from screen menu.

Find Function Module User Exit on VF02

In System Status screen, you will see the active transaction (VF02 in this case) and the ABAP program SAPMV60A running behind the VF02 screen.

ABAP program SAPMV60A running behind VF02 tcode screen

Double click on the screen program name (SAPMV60A) to display the ABAP codes executing behind this VF02 transaction screen.

When the ABAP report is displayed, choose Goto > Attributes from top menu options.

ABAP program attributes

When the ABAP program attributes is displayed, copy the program package name. In our case the ABAP report package is VF. Then exit from the current transaction and go to main SAP screen.

ABAP program package attribute

Call SAP transaction SMOD (SAP Enhancements transaction). Highlight Enhancement input text area and click Find button.

SAP transaction SMOD

Provide the package name we have copied in previous steps into the Package search criteria and press F8 or Execute button.

find exists in SMOD using program package

Here is the list of user exits in VF package.

find user exits in ABAP program

Double click on V60A0001 to see the function module exist in SAP Enhancement V60A0001

SAP Enhancements transaction SMOD

ABAP developers can double click on the function module name EXIT_SAPLV60A_002 given in the function module exits section to see the user exit codes.


Find User Exits on VA02 by Searching CALL CUSTOMER-FUNCTION

Now we will try to find out the user exits in VA02 transaction screen. Just as on the first method call VA02 tcode with a valid sales document number. Open the System Status screen using menu options System > Status... And then go to the ABAP program running behind VA02 transaction screen by double click on the Program (screen) text area in repository data. For VA02 transaction the screen program is SAPMV45A

identify SAP program using System Status menu options

When the ABAP report is displayed, click on Find button to make a search within the ABAP program codes.

find icon

When the Find/Replace screen is shown, enter text "CALL CUSTOMER-FUNCTION" in Find textbox and choose option "In main program" in Programs to Be Included section.

search CALL CUSTOMER-FUNCTION for user exits in SAP program

Then press enter to list where the Customer-Function call is executed in the ABAP program.

As shown in the below screenshot, there a numerous Customer Function calls in VA02 screen ABAP program.

Customer Function calls in VA02 ABAP program

Click on one of them to see where the call exists in the ABAP source code.
Then on the CALL CUSTOMER-FUNCTION ABAP code line, double click on user exit number text to display the user exit definition.

call customer function for user exit






SAP Tutorials

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table






Related Articles and Tutorials(http://www.kodyaz.com/sap-abap/how-to-find-user-exits-in-abap-codes-of-sap-transaction.aspx)
How to Find User Exits for Billing using SPRO
How to Upload Data to SAP from Excel File using alsm_excel_to_internal_table Function Module
ABAP - Create Hierarchy Tree List using rs_tree_construct, rs_tree_list_display and snodetext
ABAP Tutorial - ABAP String Split Example Code
Upload Data from Excel File in ABAP using TEXT_CONVERT_XLS_TO_SAP
Create CL_GUI_ALV_GRID ALV Grid Column Header using ABAP Data Element
Complete List of SAP Modules
Email Spool Request using SAPOffice - Spool to PDF
How to Create SAPScript Text using SO10 Transaction Code
How to Display SAP Graphics using SE78 Transaction Code
ALV Grid Color - Table Row Background Color in ALV List
Check Existence using ABAP SELECT
Create Business Object in SAP
Delete All Data from SAP Database Table
SAP ABAP Tutorial - ALV Grid Example with cl_gui_alv_grid and Screen Painter
SAP Smartforms - How to Call Smartform within ABAP Program
ABAP Tutorial - SAP Split and ABAP Split String Function
SAP Tutorial - Convert Spool Request to PDF File using RSTXPDFT4 ABAP Report
Set Default Single Values List for SAP Selection Screen Parameter
ABAP Debugging using Log Point and Break Point
ABAP RegEx for ABAP Regular Expression to fetch Date from String
ABAP Runtime Error ST22 Transaction using Short Dump Analysis
ABAP Shared Memory Objects Tutorial with Sample ABAP Code
ABAP Try Catch for exception is neither caught Code Inspector Error
Add Year, Month or Day to Date Variable in ABAP using RP_CALC_DATE_IN_INTERVAL
Add Web Dynpro Applications to SAP Favorites Menu
Read Address Data using FM ADDR_GET instead of Querying ADRC Table
Free Adobe LiveCycle Designer Download
ABAP Authority-Check Object For User Other Than Current
SAP Code Inspector for ABAP Break-Point Statement
Call Function Module using RFC Destination in ABAP
CALL_FUNCTION_NOT_FOUND ABAP Run Time Error
Change Fields for Selection in SE11 ABAP Data Browser
Compare Code in ABAP using SE39 SplitScreen Editor
Connect SAP from Eclipse using ABAP Project
How to Spell Numbers using ABAP Spell_Amount Function Module
Convert Smartform to PDF in Print Preview Mode
Convert the table using the Database Utility (SE14)
Convert Sales Unit into Text using Function Module in Target Language
ABAP Code Inspector Check Variants for HANA Migration Optimization
Create SAP Dynamic Variant using Date Calculation
Create Scheduled Job using SAP SM36 Transaction
Create Search Help in ABAP for Web Dynpro Component
Create Transaction Code for Web Dynpro Application
Create SAP Transaction to Maintain ABAP Table using SM30
Create Transport Request for Text Translations using RS_LXE_RECORD_TORDER
Database Hint Pseudo-Comment for SAP Code Inspector
Delete Entries in NAST Table using RSCLNAST ABAP Program
List Locks in SAP system using SM12 Transaction Code
Dynamic Programming using Field Symbols in ABAP Reports
Prevent DYNPRO_SEND_IN_BACKGROUND Error in Background Process
Enable Remote Debugging in ABAP using RSRDEBUG
Execute ABAP Program Automatically After Transport Request Import
How to Execute SAP Program in Background Task
Export Graphics from SE78 SAP Form Graphics Administration using ABAP program
How to Export IDOC as Excel and Save as Local File from WE02 Transaction
Export SAP Spool Requests as PDF using SP01 Transaction
How to Find Internal Table Row Count in ABAP
How to Find SAP Role Users Assigned for Transaction Code
Export SAP Data to Fixed Length Text File
Get Fullname of SAP user using Function Module in ABAP Program
How to Debug Popup Screen in ABAP
How to Delete Standard Text using SO10 SAP Transaction
How to Find User Exits in ABAP Codes of SAP Transaction
Read Integer and Decimals of a Numeric Value in ABAP Programming
How to Transport SAP Graphics using SE78 Transaction
Import and Export SO10 Standard Text using RSTXSCRP ABAP Program
ABAP LOOP Statement with At New and At End
Main program for include RV61Bxxx not found
Move Minus Sign from Right to Left of Negative Number in SAP Smartform
Primary key change not permitted for value table
Business Document Service Error: Error when accessing graphic (BDS), RC = 5
Read Pricing Condition Text using ABAP in SAP Sales Document Output
Read Text Symbols in Specific Language using ABAP RS_TEXTPOOL_READ
Get SAP Document Flow using SD_DOCUMENT_FLOW_GET ABAP Function Module
SAP Purchase Order Tables, Transaction Codes and Output
Graphics White Background Displayed Grey on SAP Smartform Output
Export Table Contents into Text File and Download File
SE63 Smartform Translation and Export using SLXT Program
Search and Find SAP Transaction Code using SE93 or SEARCH_SAP_MENU
SAP Code Inspector Error: Select For Cluster Table Without Order By
ABAP Select Statement using Space instead of Null or Initial
SAP Code Inspector: Select-Statement can be Transformed
ABAP Tutorial for SET and GET PARAMETER ID Command
How to Set Start Transaction in SAP GUI
ABAP CONVT_NO_NUMBER Error on SP01 due SP01_WARN Parameter
How to find string length using STRLEN ABAP string function
ABAP Submit Report to Run Another ABAP Program within Code
Unicode Character Problem in IFS File Interface
Web Dynpro Text Translation using Assistance Class
Transport Variants of an ABAP Program into Workbench Request
TVAP Item Category and SAP Table TVAPT for Text Translations
Unlock Objects Locked in Request or Task using Transport Organizer Tools
Code Inspector: Unsecure use of FOR ALL ENTRIES
Update Multiple Variables in ABAP Select Single Statement
Update Database Table Data using ABAP SE16N_INTERFACE
VF31 SAP Transaction to Reprocess Billing Output Messages
Function module is not released for the Internet
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement
Activate Fixed Point Arithmetic Flag for Open SQL Statement


Copyright © 2004 - 2017 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems