1. define group name(s) for the columns to be hidden
2. Add the following code…
(define)
controls tbl_ctrl type tableview …
wa like tbl_ctrl-cols.
loop at tbl_ctrl-cols into wa.
if wa-screen-group1 =
wa-invisible = 1.
modify tbl_ctrl-cols from wa
endif
endloop
Other Useful Link :
Modify recording scenario
change attributes of an item in a screen and in a table control at runtime
Create F4 help
Dialog Programming FAQ
Download Dialog programming Tutorial