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
amit
Look at OSS note Note 29377 - FAQs: field exits (CMOD) https://service.sap.com/sap/support/notes/29377
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.
Sorry
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.
regards
shiba dutta
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.
regards,
amit m.
Add a comment