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

Boxes adjust automatically?

Former Member
0 Likes
649

Hi,

I have module pool screen. within that i have 3 boxes one below one that contains some input fields in each box.. As per certain conditions i am hiding 2nd box using program code.

ie

Loop at screen

screen-input

endloop.

After hiding 2nd box the 3rd box automatiically adjust the space. Currently this is not happening. After hiding the second box , that space is showing blank , and 3rd below is not coming into place of 2nd box.

Any idea?

Sa_R

4 REPLIES 4
Read only

Former Member
0 Likes
628

It wont take the 2nd place. All it will do is hide the field.

Read only

0 Likes
628

Martin,

Any other way . to solve this issue?

Sa_R

Read only

0 Likes
628

Use SCEREEN-ACTIVE instead of the SCREEN-INPUT. It will fill up the empty space between first and third box.

Like:

LOOP AT SCREEN.
  IF SCREEN-GROUP1 = 'GP1'.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
  ENDIF.
ENDLOOP.

Regards,

Naimesh Patel

Read only

0 Likes
628

keep the 2nd box in third place and try playing with it .. if it works..

in loop at screen

screen-invisible = 'X'.

endloop.