‎2008 Dec 31 9:18 AM
Hi all,
How to hide the TABLE itself (not the columns only but the whole table completely) in table-control in dialog-programming.can any one please help me.....
Regards,
Biswajit
‎2009 Jan 01 9:07 AM
Hi Biswajit,
To hide/display the table control in module pool programming, on a button click, follow code:-
Its working.
In PAI
CASE sy-ucomm.
WHEN 'HIDE'.
po_tb-invisible = 'X'. "po_tb is table control name (hide table control)
WHEN 'SHOW'.
po_tb-invisible = ' '. "po_tb is table control name (display table control)
ENDCASE.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
‎2009 Jan 01 9:07 AM
Hi Biswajit,
To hide/display the table control in module pool programming, on a button click, follow code:-
Its working.
In PAI
CASE sy-ucomm.
WHEN 'HIDE'.
po_tb-invisible = 'X'. "po_tb is table control name (hide table control)
WHEN 'SHOW'.
po_tb-invisible = ' '. "po_tb is table control name (display table control)
ENDCASE.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
‎2009 Jan 02 5:08 AM
‎2009 Jan 01 10:22 AM
Hi,
use the screen table.
delclare as a "table" for the group properties of that table element.
LOOP AT SCREEN.
if screen-goupt1 = "table"
if the pushbutton = 'HIDE'
screen-required = 0.
screen-invsible = 0.
screen-input = 0.
MODIFY SCREEN.
ELSEIF the pushbutton = 'SHOW'
screen-required = 0.
screen-invsible = 1.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
endif.
ENDLOOP.
it solves your problme.
Thanks