Application Development 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: 

Check Box

madan_ullasa
Contributor
0 Kudos

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....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

gopi_narendra
Active Contributor
0 Kudos

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