Skip to Content

Check Box

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 07:08 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2006 at 07:09 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.