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: 

Push buttons not appearing

Former Member
0 Kudos

Hello Experts,

I had made push buttons on my screen through layout editor and set property as invisible (By Checking Invisible checkbox).

Now, based on some conditions at run time I want those push buttons to appear on screen.

For this I had written following code:

if sy-dynnr = 0101.
  loop at screen.
    if screen-name = 'CUNDFILTER'.
      screen-active = 1.
      screen-invisible = 0.
      elseif screen-name = 'CFILTER'.
        screen-active = 1.
        screen-invisible = 0.
        ELSEIF screen-name = 'DSELALL'.
          screen-active = 1.
          screen-invisible = 0.
          elseif screen-name = 'SELECTALL'.
          screen-active = 1.
          screen-invisible = 0.
     endif.
     modify screen.
   endloop.
   endif.

I had checked in debug mode, above lines are getting executed but push buttons are not appearing on the screen at runtime.

Please help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You have to code your LOOP AT SCREEN in the PBO...

Kr,

Manu.

2 REPLIES 2

Former Member
0 Kudos

Hi,

You have to code your LOOP AT SCREEN in the PBO...

Kr,

Manu.

Former Member
0 Kudos

Thank you.

I was looping screen in PAI module.