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: 

ALV Filter problem

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Hi,

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

can you show your fieldcatalog for PO.

Regards

vijay

0 Kudos

hi,

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

thanks

shiva

0 Kudos

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!

0 Kudos

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,

0 Kudos

I try to use REF_TABNAME & REF_FIELDNAME but unsuccessfully.

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

0 Kudos

Hi,

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

Rgds,

0 Kudos

Hi,

the FM is <b>REUSE_ALV_FIELDCATALOG_MERGE</b>

Regards

vijay

0 Kudos

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.

0 Kudos

And I have a one more question:

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

Former Member
0 Kudos

Hi shiva,

chk this

0 Kudos

Ok, thanks