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

Alv filter.

former_member209703
Active Contributor
0 Likes
427

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
402

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

Problem solved. You guys are the bests.

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
403

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

Read only

former_member209703
Active Contributor
0 Likes
402

Problem solved. You guys are the bests.

Thanks