Skip to Content
0
Former Member
Jan 16, 2008 at 02:21 PM

CL_SALV_TABLE - Make first all columns invisible - How to?

5248 Views

Hi all!

I am using the class cl_salv_table to display database table.

You can make columns invisble with:

g_columns = g_alv->get_columns( ).

g_column ?= g_columns->get_column( 'MANDT' ).

g_column->set_technical( ).

But if you have a big database table like CSKS it is a pain to make all the not wanted fields unvisible.

1.) Is there one way to make first all columns invisible?

2.) Can I then make the needed columns visible?

Thanks for your answers!

PM