2021 Dec 13 11:23 AM
alv filter not working
wa_fieldcat-fieldname = fieldname.
wa_fieldcat-seltext_m = desc.
wa_fieldcat-ref_fieldname = reffield.
wa_fieldcat-ref_tabname = reftable.
wa_fieldcat-col_pos = gv_pos.
IF p_rad2 = 'X' AND sub_tot IS NOT INITIAL.
wa_fieldcat-do_sum = sub_tot.
ENDIF.
gv_pos = gv_pos + 1.
APPEND wa_fieldcat TO git_fieldcat.
CLEAR wa_fieldcat.
pls guide me
alv filter not working
wa_fieldcat-fieldname = fieldname.
wa_fieldcat-seltext_m = desc.
wa_fieldcat-ref_fieldname = reffield.
wa_fieldcat-ref_tabname = reftable.
wa_fieldcat-col_pos = gv_pos.
IF p_rad2 = 'X' AND sub_tot IS NOT INITIAL.
wa_fieldcat-do_sum = sub_tot.
ENDIF.
gv_pos = gv_pos + 1.
APPEND wa_fieldcat TO git_fieldcat.
CLEAR wa_fieldcat.
pls guide me
2021 Dec 13 11:27 AM
There is no question, no screenshot of the issue, no explanation ......
and the code is really short to understand what you have done.
We didn't know the kind of class, FM you have used ........
2021 Dec 15 11:09 AM
I had one issue in filtering one particular field actually the problem is the filter not working for small letter values but working fine for caps values. That filed's Domain has a fixed values.
2021 Dec 16 9:43 PM
Hi, Naveen.
Have you set FIELDCAT-LOWERCASE = X when you create the fieldcatalogue for that field?
2021 Dec 17 5:26 AM
Hi Raja,
No, didn't like that.
but the domain has fixed values as given below.
Fix. Val. Short Description
MONTHLY Monthly
QUARTERLY Quarterly
in ALV output, the filter is not working when that field contains small letter values but working fine when that field contains cap values.
2021 Dec 17 8:16 AM
Then the bug is because you have set the "lower case" flag in your domain.
2021 Dec 21 5:39 AM
2021 Dec 21 11:17 AM
Didn't receive a notification, just saw your comment inadvertently. Did you solve your issue?
If you want to target someone, if this person has posted an Answer, use the button COMMENT, if this person is the Original Poster of the question he/she will be automatically informed, otherwise copy/paste their hyperlinked name so that the person receives a warning (NB: @ doesn't work/but typing this character will suggest hyperlinked names).
Example: naveennavi