2007 Feb 13 8:39 PM
Hi all,
In my program on selection screen there are two selection box.
Each has different function .
I want, when i use any one selection box then other one should be deactivated.
can any one me guide me in this regard.
Thanks
Chetan.
2007 Feb 13 8:53 PM
LOOP AT SCREEN.
IF SCREEN-NAME = <FIELDNAME> AND SCREEN-INPUT = 1.
LOOP AT SCREEN.
IF SCREEN-NAME = <FIELDNAME>
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Thanks,
Santosh
Message was edited by:
SKJ
2007 Feb 13 9:03 PM
Hi,
I hope follwing code will solve your problem.
LOOP AT screen.
IF first_selection_box = 'X' AND screen-name = 'second_selection_box in upper case'.
screen-input = 0.
ENDIF.
IF second_selection_box = 'X' AND screen-name = 'first_selection_box in upper case'.
screen-input = 0.
ENDIF.
MODIFY screen.
ENDLOOP.
Reward points if the answer is helpful.
Megards,
Mukul