2007 Feb 06 5:21 PM
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.
2007 Feb 06 5:25 PM
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.
2007 Feb 06 7:38 PM
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
2007 Feb 06 7:50 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |