Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamic Hide column in table control

I want to hide colum of table control in program, and then it can invisible,but others is visible.

how should i do?

Tags:
replied

Hi, Try this:

Use structure 'cols'

eg. my_control is your table control

code:-

loop at my_control-cols into wa.

if wa-index = 2. "your hidden column

wa-invisible = 1.

endif.

modify my_control-cols from wa.

endloop.

Hope it helps,

Victor.

5 View this answer in context
Not what you were looking for? View more on this topic or Ask a question