Application Development and Automation 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: 
Read only

Screen-Invisible

Former Member
0 Likes
886

Hi ,

I have GUI with 4 push buttons , If i select 1 ppush button , The 4 th push button must become invisible how to do this

Hi ,

I have GUI with 4 push buttons , If i select 1 ppush button , The 4 th push button must become invisible how to do this

6 REPLIES 6
Read only

Former Member
0 Likes
844
AT SELECTION-SCREEN.
if sy-ucomm eq 'PUSH1'.
  loop at screen.
     if screen-name eq 'PUSH4'.
        screen-invisible = 1.
        modify screen.
     endif.
  endloop.
endif.
Read only

Former Member
Read only

Former Member
0 Likes
844

hi Kumar,

do this way ..

AT SELECTION-SCREEN.
if sy-ucomm eq 'BUTT4'.
  loop at screen.
     if screen-name eq 'BUTT4'.
        screen-invisible = 1.
        modify screen.
     endif.
  endloop.
endif.

Regards,

Santosh

Read only

Former Member
0 Likes
844

do this way...

<b>AT SELECTION-SCREEN.

if sy-ucomm eq 'PUSHBUTTON1'.

loop at screen.

if screen-name eq 'PUSHBUTTON4'.

screen-invisible = 1.

modify screen.

endif.

endloop.

endif.</b>

Read only

Former Member
0 Likes
844

Where should i write this code .

1. Before PBO in Global part .

2. Within PBO or Within PAI .

Read only

0 Likes
844

in PAI.

MODULE PAI.

MODULE USER_COMMAND.

in the module user_command write ur code