Application Development 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: 

Filter in Table Control

Former Member
0 Kudos
161

Hi all,

I have a table control where I managed to implement the

buttons 'sort ascending', 'sort descending' etc. but

I'd like to implement the button 'filter' as well...

anyone any experience with it?

Thanks In advance

1 ACCEPTED SOLUTION

peter_ruiz2
Active Contributor
0 Kudos
61

Hi Anjali,

Here you should have 2 Internal Tables of the same structure.

One of them is used in the background where all records exist and the other used for the Table Control. With this, you can display only those records that satisfies the filter condition from the main internal table.

Regards,

Peter

3 REPLIES 3

peter_ruiz2
Active Contributor
0 Kudos
62

Hi Anjali,

Here you should have 2 Internal Tables of the same structure.

One of them is used in the background where all records exist and the other used for the Table Control. With this, you can display only those records that satisfies the filter condition from the main internal table.

Regards,

Peter

0 Kudos
61

Hi Peter,

I got ur point,but is there any option to bring the seleted fields dynamically on the screen and then using the F4 help user select the filter criteria .. just like the way we see in the ALV reports ... selected field opens up in a new window with F4 option ...

0 Kudos
61

Hi Anjali,

You may take a look at the following sample program for ALV Grid wherein F4 Help is available.

BCALV_GRID_EDIT_DELTA

BCALV_TEST_GRID_F4_HELP

Regards,

Peter