2007 Mar 12 3:11 PM
I need to create a filter in my alv, so if a get a repeated value of a field in several rows, it'll only appear the value the first time, but the other values of the rest of columns will appear anyway. I need to do it by code. Can anybody help?
2007 Mar 12 3:28 PM
hi jose,
Use the Sort table
data : it_sort type table ot SLIS_T_SORTINFO_ALV with header line.
it_sort-fieldname = 'FIELD1'.
it_sort-up = 'X'.
append it_sort.
clear it_sort.
and pass this to the parameter IT_SORT of FM REUSE_ALV_GRID_DISPLAY
I need to create a filter in my alv, so if a get a repeated value of a field in several rows, it'll only appear the value the first time, but the other values of the rest of columns will appear anyway. I need to do it by code. Can anybody help?
2007 Mar 12 3:28 PM
hi jose,
Use the Sort table
data : it_sort type table ot SLIS_T_SORTINFO_ALV with header line.
it_sort-fieldname = 'FIELD1'.
it_sort-up = 'X'.
append it_sort.
clear it_sort.
and pass this to the parameter IT_SORT of FM REUSE_ALV_GRID_DISPLAY
2007 Mar 12 3:50 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |