2008 Dec 17 5:01 AM
Hello Friends,
I have filled up IT_FILTER in following manner.
clear wa_filter.
refresh it_filter.
wa_filter-fieldname = 'MATNR'.
wa_filter-tabname = it_final.
wa_filter-valuf = '000000000000000225'.
wa_filter-valut = '000000000000000250'.
wa_filter-sign0 = 'E'.
wa_filter-optio = 'BT'.
wa_filter-ref_fieldname = text-002.
wa_filter-ref_tabname = 'MARA'.
append wa_filter to it_filter.
Still i am not able to exclude values given in this filter range.
Can anyone suggest where i am mistaking?
Thank you,
Pratik Vora
2008 Dec 17 7:20 AM
Hi,
do the following to achieve the exclude functionality.
clear wa_filter.
refresh it_filter.
wa_filter-fieldname = 'MATNR'.
wa_filter-tabname = 'IT_FINAL'.
wa_filter-valuf = '000000000000000225'.
wa_filter-valut = '000000000000000250'.
wa_filter-valuf_int = '000000000000000225'.
wa_filter-valut_int = '000000000000000250'.
wa_filter-sign0 = 'E'.
wa_filter-optio = 'BT'.
append wa_filter to it_filter.
Hi,
do the following to achieve the exclude functionality.
clear wa_filter.
refresh it_filter.
wa_filter-fieldname = 'MATNR'.
wa_filter-tabname = 'IT_FINAL'.
wa_filter-valuf = '000000000000000225'.
wa_filter-valut = '000000000000000250'.
wa_filter-valuf_int = '000000000000000225'.
wa_filter-valut_int = '000000000000000250'.
wa_filter-sign0 = 'E'.
wa_filter-optio = 'BT'.
append wa_filter to it_filter.
2008 Dec 17 5:19 AM
hi
try using the sample code in this documentation
hope it helps
regards
Aakash Banga
2008 Dec 17 7:20 AM
Hi,
do the following to achieve the exclude functionality.
clear wa_filter.
refresh it_filter.
wa_filter-fieldname = 'MATNR'.
wa_filter-tabname = 'IT_FINAL'.
wa_filter-valuf = '000000000000000225'.
wa_filter-valut = '000000000000000250'.
wa_filter-valuf_int = '000000000000000225'.
wa_filter-valut_int = '000000000000000250'.
wa_filter-sign0 = 'E'.
wa_filter-optio = 'BT'.
append wa_filter to it_filter.
2008 Dec 17 7:36 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |