Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

How to debug the field exits

Former Member
0 Kudos

Dear All,

How to debug the field exits. Please let me know.





Former Member
0 Kudos

go to rsmodprf program in se 38 and then give ur data element of field which is having field exit..execute and then put cursor on ur concerned field exit there and click on button Edit FM ,it will take u to the SE37 screen of tht FM..just put a breakpoint in tht FM .

now when u will execute ur program and trigger the field exit ,the program will stop to tht breakpoint and u can debug it then

reward if helpfull


Active Contributor
0 Kudos

Look at OSS note Note 29377 - FAQs: field exits (CMOD)

5. Can field exits be debugged ?

No. Field exits must be tested separately in the ABAP/4 Development Workbench. For errors which only occur in the screen environment, it is helpful to write interesting variables to the file system using TRANSFER... . These can then be analysed there.


Former Member
0 Kudos

first of all have you created the fnmodule for that be sure.

run RSMODPRF in se38 without giving any selection criteria.

now search for your dataelement.

check the correct prog name and screen no assign for that or not and it is active or not.

now in application toolbar you will get Edit fm button. click that.

it will go to se37 fnmodule sourcecode. put a breakpoint there.


shiba dutta

Former Member
0 Kudos

Hi karthik,

1. We cannot debug field exits.

2. For a workaround,

we can put a MESSAGE of type I

to display the value of the variable.

3. For detecting whether the field exit is working/getting triggered,

we can simply put

MESSAGE as the first line of the code.


amit m.