Skip to Content

Hide pushbutton in selection screen

hi all,

i have two pushbutton B1 & B2 in selection-screen and i want to hide B2 when clicking at B1, can anybody tell me step by step how would i do? its urgent.

regards saurabh.

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 May 02, 2008 at 07:17 AM

    Hi Saurabh,

    Assign B1 to a group, say c_ps, and B2 to another group, say c_as. Then write this code and you can get the desired output.

    ******************************************************************

    LOOP AT SCREEN.

    IF screen-group1 = c_ps.

    IF B1 = 'X'.

    screen-active = 1.

    ELSE.

    screen-active = 0.

    ENDIF.

    ENDIF.

    IF screen-group1 = c_as.

    IF B2 = 'X'.

    screen-active = 1.

    ELSE.

    screen-active = 0.

    ENDIF.

    ENDIF.

    MODIFY SCREEN.

    ENDLOOP.

    *******************************************************************

    Hope this is helpful to you. If you need further information, revert back.

    Reward all the helpful answers.

    Regards

    Nagaraj T

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 02, 2008 at 07:20 AM

    at selection-screen

    LOOP AT SCREEN.

    IF SCREEN-NAME = 'B2'.

    SCREEN-OUTPUT = '0'.

    ENDIF.

    MODIFY SCREEN.

    ENDLOOP.

    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.