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?

Former Member
Former Member replied

Hi, Try this:

Use structure 'cols'

eg. my_control is your table control


loop at my_control-cols into wa.

if wa-index = 2. "your hidden column

wa-invisible = 1.


modify my_control-cols from wa.


Hope it helps,


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