2009 Jan 22 10:08 AM
Hi all,
I use the ALV FM and the parameter IT_SORT to sort my ALV. I have 8 parameters which I want to sort. There are all marked with the read arrow in the display. But the grouping* for equal lines does only work for the first 7 columns. I already tried to use another sorting position and also tried another data element for the column in question but no result.
*With "grouping" i mean, that, if several lines have the same value in one column, this value is only shown for the first line and the cell is enlarged to all following lines with the same value in it.
Can anybode tell me, how to resolve this problem?
Thx!
2009 Jan 22 10:13 AM
try using the class cl_salv_filters.
data: gr_table type ref to cl_salv_table.
data: gr_filter type ref to cl_salv_filters.
gr_filter = gr_table->get_filters( ).
gr_filter->add_filter( columnname = 'FIELDNAME' low = 'LH' ).
2009 Jan 22 10:13 AM
There might be some changes that 8 th column is not any way related to other colums. Check this