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

Module pool screen field disabling by mouse click.

Former Member
0 Likes
560

I have two fields on the screen.

Also I have a range table .

If user enters some value in first field on the screen and exits the first field , I need to check the value entered is in range table .

If the user entered value in the first field is <b>not</b> in the range table, I need to make the second field disabled and invisible.

Could you please help me how can I achieve that?

Your help will be highly appreciated.

I have two fields on the screen.

Also I have a range table .

If user enters some value in first field on the screen and exits the first field , I need to check the value entered is in range table .

If the user entered value in the first field is <b>not</b> in the range table, I need to make the second field disabled and invisible.

Could you please help me how can I achieve that?

Your help will be highly appreciated.

3 REPLIES 3
Read only

Former Member
0 Likes
514

when enter...

loop at it_ranges.

check value in it_ranges-field.

if sy-subrc ne 0.

loop at screen.

second-invisible = 0.

modify screen.

endloop.

endif.

endloop.

Read only

Former Member
0 Likes
514

As the second field is just beside the first field ( in the same screen ), could we write any code to disable second field in case if user is not interacting with screen ( Just if he is lifting mouse from first field to second field ) .

Experts Could you please say hwo can I

Read only

Former Member
0 Likes
514

Hi,

You have to press enter or a button in the application tool bar or choose a menu option to trigger an event..

I believe there is no event which will be triggered by placing a cursor on a input field..

Thanks,

Naren