Application Development and Automation 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: 
Read only

ALV Filtering issue

Former Member
0 Likes
466

Hi All,

I am facing an issue in filtering of a particular column, which is a character field, it is defined as

full_name1(81) TYPE c.

This value is calculated in the report by concatenating first name and last name of the person from the table PA0002.

the field catalog values are as follows

wa_fieldcat-fieldname = 'FULL_NAME1'.

wa_fieldcat-outputlen = '81'.

wa_fieldcat-col_pos = l_colpos.

wa_fieldcat-seltext_l = 'Person Responsible'.

APPEND wa_fieldcat TO it_fieldcat.

But the filtering for this field is not working

Can anyone tell me why this is happening, i'll highly appreciate some valuable inputs regarding this!

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
444

In your field catalog, also set the LOWERCASE to preserve the case of the Name.


wa_fieldcat-fieldname = 'FULL_NAME1'.
wa_fieldcat-outputlen = '81'.
wa_fieldcat-col_pos = l_colpos.
wa_fieldcat-seltext_l = 'Person Responsible'.
wa_fieldcat-lowercase = 'X'.
APPEND wa_fieldcat TO it_fieldcat.

Regards,

Naimesh Patel

Hi All,

I am facing an issue in filtering of a particular column, which is a character field, it is defined as

full_name1(81) TYPE c.

This value is calculated in the report by concatenating first name and last name of the person from the table PA0002.

the field catalog values are as follows

wa_fieldcat-fieldname = 'FULL_NAME1'.

wa_fieldcat-outputlen = '81'.

wa_fieldcat-col_pos = l_colpos.

wa_fieldcat-seltext_l = 'Person Responsible'.

APPEND wa_fieldcat TO it_fieldcat.

But the filtering for this field is not working

Can anyone tell me why this is happening, i'll highly appreciate some valuable inputs regarding this!

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
445

In your field catalog, also set the LOWERCASE to preserve the case of the Name.


wa_fieldcat-fieldname = 'FULL_NAME1'.
wa_fieldcat-outputlen = '81'.
wa_fieldcat-col_pos = l_colpos.
wa_fieldcat-seltext_l = 'Person Responsible'.
wa_fieldcat-lowercase = 'X'.
APPEND wa_fieldcat TO it_fieldcat.

Regards,

Naimesh Patel

Read only

0 Likes
444

Thanks a ton!!