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 problem (with filter use)

Former Member
0 Likes
2,336

Hi all !!

When using standard filter (F4) on ALV grid (called with fm 'Reuse_alv_grid_display') it is genreated the choosing-list.

But values on that list are shorter than should be.

For example: for char value 'ABCDEFGHIJ' diplayed on alv list, only 'ABCD' is visible. After choosing it only 'ABCD' is set in filter what is of course unacceptable. Sombody know how to fix that ??

Regards , Jacek Slowikowski

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
862

Hi,

This is a known error in SAP. Take a look at the following Notes:

<a href="https://websmp202.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700008072762001">212869 - ALV filter: Incorrect output length on filter popup</a>[url=https://websmp202.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700007402692001]174840 - ALV-filter: F4-help with smaller column width [/url]

<a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700008402582001">381360 - ALV filter: Recommendations and known errors</a>

According to the Note 381360:

"Fields with an Outputlen < Intlen are truncated on the filter dialog box.

With an Outputlen < Intlen, the Intlen is not used as the minimum length As a result, the values of reduced columns on the ALV cannot be displayed completely in the filter and this leads to incorrect filter results. "

There is no solution Note listed for these two symptoms, so maybe there is no fix yet? However, I suggest you check all the "Related Notes" for Note 381360 because one of these might contain a fix for what you described.

Best Regards,

James Gaddis

2 REPLIES 2
Read only

Former Member
0 Likes
863

Hi,

This is a known error in SAP. Take a look at the following Notes:

<a href="https://websmp202.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700008072762001">212869 - ALV filter: Incorrect output length on filter popup</a>[url=https://websmp202.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700007402692001]174840 - ALV-filter: F4-help with smaller column width [/url]

<a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700008402582001">381360 - ALV filter: Recommendations and known errors</a>

According to the Note 381360:

"Fields with an Outputlen < Intlen are truncated on the filter dialog box.

With an Outputlen < Intlen, the Intlen is not used as the minimum length As a result, the values of reduced columns on the ALV cannot be displayed completely in the filter and this leads to incorrect filter results. "

There is no solution Note listed for these two symptoms, so maybe there is no fix yet? However, I suggest you check all the "Related Notes" for Note 381360 because one of these might contain a fix for what you described.

Best Regards,

James Gaddis

Read only

damien_crowe2
Explorer
862

Hi,

I'm having the same problem in CRM as the original poster.

If the first value in the column has 5 letters it will truncate the values in the other fields to a length of 5. For example, if "ABCDE" is the first value and "LMNOPQRST" is the second. When I try filter the options will be

"ABCDE" and "LMNOP"

Does anyone know a solution to this or if there is a note for this? Note 174840 isn't applicable to CRM

Solution: In the fieldcatalog set the edit_mask to "==ALPHA"

Edited by: Damien Crowe on Jul 14, 2009 5:34 PM