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

debugging field exits

Former Member
0 Likes
778

Hi,

Can field exits be debugged ?

Thanks,

Ashish

1 ACCEPTED SOLUTION
Read only

venkat_o
Active Contributor
0 Likes
510

Hi Ashish, The code which is written in the function module can not be debugged . But u can do one thing to know whether it is being triggered or not.. Just write one statement for messages. like

MESSAGE w027(ZMSGCUSTOME) with 'It is being triggered'.
You can come to know that whether cursor is coming there or not . I hope that it helps u . Regards, Venkat.O

3 REPLIES 3
Read only

Former Member
0 Likes
510

Hi Ashish,

General debugger statements

BREAK USERNAME.

BREAK-POINT.

will work in the field exit but you will have to place them in the function module for that field exit...

You can also place manual break points for the session by using the break point button but in the function module for that field exit

Regards

Byju

Read only

Former Member
0 Likes
510

Hi,

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 variable to the file system using TRANSFER... . These can then be analysed there.

Reward if helpful...

Cheers,

Sowjanya.

Read only

venkat_o
Active Contributor
0 Likes
511

Hi Ashish, The code which is written in the function module can not be debugged . But u can do one thing to know whether it is being triggered or not.. Just write one statement for messages. like

MESSAGE w027(ZMSGCUSTOME) with 'It is being triggered'.
You can come to know that whether cursor is coming there or not . I hope that it helps u . Regards, Venkat.O