SAP consultants and developers often have to meet custom business requirements for which there is no standard SAP functionality. In the search for a suitable user exit, they may find one that is close, but lacks one or more essential parameters. This article shows you a simple method for accessing data fields in the main program other than those formally provided as parameters to a user exit function module. By using field symbols and a few lines of code shown in the article, you can access fields, structures, and internal tables from within a user exit function module. Find out how field symbols can help you navigate around the problem of missing parameters and get extra mileage from user exits.
Owen McGivney
Owen McGivney is a senior consultant at iProCon Ltd., part of the iProCon group, based in London, England. He has worked on implementing SAP HR and payroll systems since 1998. Owen has delivered UK, Irish, and multi-national payroll solutions for a wide range of private- and public-sector clients. He has a special interest in combining ABAP programming with configuration to create innovative and effective solutions.
You may contact the author at o.mcgivney@iprocon.com.
If you have comments about this article or publication, or would like to submit an article idea, please contact the editor.