hi frnds,
I have 3 checkbox..
C1 , C2 , C3..
When C1 is checked, C2 and C3 should be invisible and when unchecked C2 and C3 should be visible...
i tried this in at selection-screen and at selection-screen output.. but did not work properly...
any suggestions ???
Points assured to all the replies...
Regards,
Madan....
Hi madan,
1. this will work.
2. just copy paste
3.
report abc.
parameters : c1 as checkbox USER-COMMAND U1.
parameters : c2 as checkbox MODIF ID CC.
parameters : c3 as checkbox MODIF ID CC.
*----
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'CC'.
IF C1 = 'X'.
SCREEN-INVISIBLE = 1.
ELSE.
SCREEN-INVISIBLE = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
regards,
amit m.
at selection-screen output.
if C1 = 'X'.
loop at screen.
if screen-name = 'C2' or
screen-name = 'C3'.
screen-input = 0.
modify screen.
endif.
endloop.
endif.
Regards
- Gopi
Add a comment