10-10-2008 7:17 AM
hi is there any way we can make a table control as inivisibee
<LOCKED BY MODERATOR - USE APPROPRIATE TITLES>
Edited by: Alvaro Tejada Galindo on Dec 23, 2008 11:25 AM
10-10-2008 7:19 AM
No you cannot make it invisble, you can just makes fields un editable.
10-10-2008 7:28 AM
Hi,
try <tablecontrolname>-invisible = 'X'.
the table control will disappear, and then to bring it back you need to write <tablecontrolname>-invisible = ' '.
Regards,
Amit
Edited by: Amit Iyer on Oct 10, 2008 11:58 AM
10-10-2008 7:29 AM
yo can use a subscreen area on your screen. let screen no be 1000
make a subscreen and make a table control on your subscreen. let screen number be 0100
then call this subscreen 0100 in your main screen 1000
like:
" in module in PBO
if u want to show tble control
g_screen_number = 0100.
else.
clear: g_screen_number.
endif.
"in PBO
call subscreen <ss_area> including sy-repid g_screen_number.
11-06-2008 9:21 AM
hi
loop at screen.
if screen-name = 'table control field name'.
screen-input = 0.
modify screen .
endif.
endloop.
11-06-2008 10:39 AM
Hello,
Whatever Krupa has suggested that is correct, but I think instead of "input" you can take "active" field of screen.
loop at screen.
if screen-name = 'table control field name'.
screen-active = 0.
modify screen .
endif.
endloop.
Hope this will help you.
Prajakta.
12-23-2008 8:32 AM
this is the stmt used to invisible a table control..
in PBO
TC1-INVISIBLE = 'X'. where tc1 is the table control name..
in PAI
if v want to appear after pressing any button r something then give the following line under tat event
TC1-INVISIBLE = ' '.
Edited by: RameshKumar Raamasamy on Dec 23, 2008 9:32 AM