04-12-2006 9:36 AM
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
04-12-2006 9:38 AM
hello,
Try to hide the screen element by giving the Screen groups. (modif ids)
Regards,
Naimesh
04-12-2006 9:42 AM
Hi,
Please try by setting the screen element 'ACTIVE' also to 0 in addition to "INVISIBLE".
Thanks,
Rashmi.
04-12-2006 9:42 AM
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.
04-12-2006 9:43 AM
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
04-12-2006 9:44 AM
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
04-12-2006 9:44 AM
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