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: 

table control

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

No you cannot make it invisble, you can just makes fields un editable.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi

loop at screen.

if screen-name = 'table control field name'.

screen-input = 0.

modify screen .

endif.

endloop.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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