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 Filter problem

Former Member
0 Likes
1,782

HI,

i am filtering a field PO number which is not having the Search help and when click F4, thwe valuea are coming in truncated mode.

how to solve this problem

thanks in advance

shiva

14 REPLIES 14
Read only

Former Member
0 Likes
1,454

Hi Shiva,

Could you pls explain about the problem a bit clear. At what level you need to filter the field PO Number.

Regards,

Ram Mohan

Read only

Former Member
0 Likes
1,454

Hi Shiva,

<i>i am filtering a field PO number which is not having the Search help</i>

that means you provided your own search help. am i right.

if so how did you provided. i guess you used the FM

<b>F4IF_INT_TABLE_VALUE_REQUEST</b>,

please give some more info. if you are using the above Fm give the code for it.

Regards

vijay

Read only

Former Member
0 Likes
1,454

hi,

thanks for your reply.

when i click on the PO Number column, after this if i press F4 the values are not generating fully, they are getting truncated how these values are coming

thanks

shiva

Read only

0 Likes
1,454

Hi,

what is the Output length you gave in Fieldcatalog for PO number.

can you show your fieldcatalog for PO.

Regards

vijay

Read only

0 Likes
1,454

hi,

it is of length 30. i incresed the length then also same problem.

thanks

shiva

Read only

0 Likes
1,454

Hi. I have the same problem:

for example, field is of length 9, I incresed the length to 18. (outputlen):

CLEAR ls_fcat .

ls_fcat-fieldname = 'MATKL' .

ls_fcat-inttype = 'C' .

ls_fcat-outputlen = '18' .

ls_fcat-coltext = 'Group id' .

ls_fcat-seltext = 'Group id' .

ls_fcat-JUST = 'L'.

APPEND ls_fcat to pt_fieldcat .

and if i have two fileds with values (in this order):

qwerty

asd

then when i press filter button and choose my column, and then press F4 i see :

qwe

asd

i.e. all values are truncated by length of lowest value.

but if i have:

asd

qwerty

then i have result:

asd

qwerty.

HELP!

Read only

0 Likes
1,454

Hi,

When populating the field catalog, populate REF_TABNAME & REF_FIELDNAME as well, this will solve your problem, if you still have issues, use the fm 'field_catalog_merge',

Hope this helps,

Do award points if this helps,

Rgds,

Read only

0 Likes
1,454

I try to use REF_TABNAME & REF_FIELDNAME but unsuccessfully.

I don't find fm 'field_catalog_merge'. May be you are wrong?

Read only

0 Likes
1,454

Hi,

The complete name of the function module is 'REUSE_ALV_FIELDCATALOG_MERGE',

Rgds,

Read only

0 Likes
1,454

Hi,

the FM is <b>REUSE_ALV_FIELDCATALOG_MERGE</b>

Regards

vijay

Read only

0 Likes
1,454

And i still yet don't understand aim of using this fm, because in alv-grid values are corrected and it truncated only in f4-help of filter dialog.

Read only

0 Likes
1,454

And I have a one more question:

Is there a note about my problem in sap, may be???

Read only

Former Member
0 Likes
1,454

Hi shiva,

chk this

Read only

0 Likes
1,454

Ok, thanks