07-05-2006 2:20 PM
Hello colleagues out there,
I have a request from my users concerning ALV filtering. They want to have filters of the kind :
- A = 5 or B = 6
- A + B > C
(A, B, C Columns of the table)
Surely I can implement such rules "hard" coded in the ABAP. But my question is: Is there are more generic way, that allows the users to define their filter rules themselves without having to modify my programs ?
Many thanky for your help
Rabanus Diehl
07-05-2006 2:22 PM
Hi rabanus,
1. A = 5 can be done
B = 6 can be done
but OR conditions, between two fields cannot be done,
in standard alv filter functionality.
2. A + B > C
cannot be done,
bcos it allows filter only one one field, by one field,
not
using some expressions/equations.
regards,
amit m.
07-05-2006 2:22 PM
Hi rabanus,
1. A = 5 can be done
B = 6 can be done
but OR conditions, between two fields cannot be done,
in standard alv filter functionality.
2. A + B > C
cannot be done,
bcos it allows filter only one one field, by one field,
not
using some expressions/equations.
regards,
amit m.
07-05-2006 2:23 PM
If you can use ALV for displaying your report, the users can set the filter by themselves and the data will be automtically filtered. You don't have to do a single change to your program.
They can even save the filter criteria.
Regards,
Ravi
Note : Please mark all the helpful answers
07-05-2006 2:36 PM
I am not sure, if you got my point. The feature of ALV filtering is well known to me.
My question is: Has anybody written a kind of popup, where the user can enter his filter expression like a condition in an IF statement and then apply this condition to the internal table like the standard ALV filter does ?
Best regards
Rabanus Diehl