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: 

Hiding of Screen Elements

Former Member
0 Kudos

I have some screen elements which I hide.

On hiding, however, the area appears as blank; i.e. there is an unwanted space between screen elements.

Is there a way to eliminate the extra visible space?

Regards,

Abhinava

6 REPLIES 6

naimesh_patel
Active Contributor
0 Kudos

hello,

Try to hide the screen element by giving the Screen groups. (modif ids)

Regards,

Naimesh

0 Kudos

Hi,

Please try by setting the screen element 'ACTIVE' also to 0 in addition to "INVISIBLE".

Thanks,

Rashmi.

Former Member
0 Kudos

Hi Abhinava,

I suggest you to place the elements to be hidden, at the last portion of the screen.

Such blank spaces will occur in the screen because the screen is displayed in the way you have designed.

Regards,

SP.

vinod_gunaware2
Active Contributor
0 Kudos

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF p_sab = 'X'.

IF screen-group1 = 'GR1' OR screen-group1 = 'GR2'.

<b> screen-active = '0'.

screen-invisible = '1'.</b>

ELSE.

screen-active = '1'.

screen-invisible = '0'.

ENDIF.

<b>MODIFY SCREEN.</b>

Endif.

USe active and invisible.

regards

vinod

Former Member
0 Kudos

Hi Abhinava,

Please try with this code

if sy-ucomm = 'DISP'.

loop at screen

if screen-name-name = 'Mara-Matnr'.

screen-input = 0.

modify screen.

endif.

Endloop.

endif.

Thanks & regards

Sreenivasulu P

Former Member
0 Kudos

Hi,

Use Screen-active = 0 along with screen-invisible = 1.

Also, group the controls which you want to hide using

MODIF ID.

Hope it helps.

Regards,

Shashank