Application Development 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: 

filter in alv report

Former Member
0 Kudos

hello!

i have a weird problem in alv report with the filter function.

for example the field serial like viqmel-serial, if it contains the value for example 1234 the filter want work. if it contains the value N16 the filter will work.

i cant understand what might be the problem.

another information that concerns this field is that the ls_fieldcat-inttype is 'C' and that the intlen eq ' '.

thanks

yifat

1 REPLY 1

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I think your problem is with internal/external format. The reason that N16 works, is because in the database it is stored as N16. The reason why 1234 doesn't work, is because it is stored in the database as 000000000000001234. I suggest that you make sure that you filter includes the internal format. You could use a function module to convert it.

<b>

CONVERSION_EXIT_ALPHA_INPUT

</b>

Regards,

Rich Heilman