08-27-2009 10:55 AM
Hi, Gems,
I want to hide the table control.Using "loop at screen" I am able to hide all other components except table control.
Can anyone tell me how to hide table control in a screen?
Any help will be appreciated.
-Thanks
Surajit.
08-27-2009 11:00 AM
Hi,
In the PBO (in a module outside to the LOOP...ENDLOOP), use this
MODULE status_0100 OUTPUT.
IF sy-ucomm EQ space. "Give the function code on which you want to make your table control go invisible
"Give a space if you want your table control to remail invisible on display of the screen
CLEAR: t_header[].
LOOP AT tabcontrol1-cols[] INTO wa_control1.
wa_control1-invisible = '1'.
MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
ENDLOOP.
ENDMODULE.
08-27-2009 11:00 AM
Hi,
In the PBO (in a module outside to the LOOP...ENDLOOP), use this
MODULE status_0100 OUTPUT.
IF sy-ucomm EQ space. "Give the function code on which you want to make your table control go invisible
"Give a space if you want your table control to remail invisible on display of the screen
CLEAR: t_header[].
LOOP AT tabcontrol1-cols[] INTO wa_control1.
wa_control1-invisible = '1'.
MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
ENDLOOP.
ENDMODULE.