on 08-17-2007 10:26 AM
Hi,
I want to set filter condition of ALV dynamicly (In my code),
for example, set 'X' as filter condition in column "Description",
I add the code successfully, but I can't get the correct filtered result, Why?
Please post ur code here.
U have to get a handle to the IF_SALV_WD_FILTER interface
data ref_filter type ref to IF_SALV_WD_FILTER .
ref_filter ?= m_config_model->IF_SALV_WD_FIELD_SETTINGS~GET_FIELD( 'FIELD DESCRIPTION' )
ref_filter->CREATE_FILTER_RULE(
low_val = 'X'
).
Now when u load the ALV tabl;e u should see a X value in the filter row, for the column 'FIELD DESCRIPTION' and the filter should happen.
As I said, pls paste ur code here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.