Application Development and Automation 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: 
Read only

Dynamic column in table control

Former Member
0 Likes
428

Hi All,

I need dynamic columns in table control depending on number column in my internal table.Number of column could be 1 to 100 depending on certain condition.

Please help.

Regards,

Mohit

2 REPLIES 2
Read only

Former Member
0 Likes
392

Why don't you go for interactive ALV development instead?

Read only

Sandra_Rossi
Active Contributor
0 Likes
392

Hi,

In the table control structure (of type CXTAB_CONTROL), you have a component COLS which is a table type that contains one line for every column; for the column you want to hide, change the INVISIBLE attribute to "X" of the corresponding COLS line. So, define 100 columns in the control and hide the ones you want at runtime.

Sandra