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

Search help

Former Member
0 Likes
445

Hi,

I am creating a "search help" for a field of a table. This field isn´t key, it has repeat values in the table.

I need that in the "search help" only show the distinct values. How can i do it ? I dont find nothing to do it when I create the "search help".

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
420

Hi

U can create an exit in order to delete the duplicate hits before showing them.

That exit has a function module and ithas be copied from the fm F4IF_SHLP_EXIT_EXAMPLE: here u can insert all code u need to delete the duplicate hits.

Max

5 REPLIES 5
Read only

Former Member
0 Likes
420

Dear,

Write a search help exit to delete the duplicate entries.

Regards,

Read only

Former Member
0 Likes
421

Hi

U can create an exit in order to delete the duplicate hits before showing them.

That exit has a function module and ithas be copied from the fm F4IF_SHLP_EXIT_EXAMPLE: here u can insert all code u need to delete the duplicate hits.

Max

Read only

0 Likes
420

Thanks, it´s a good idea, but I don´t find where store de dats. I am seeing the parameters of the function but I dont´find it.

Dou you know where is it?

Thanks

Read only

Former Member
0 Likes
420

hi,

pass the internal table to this function module.

F4IF_INT_TABLE_VALUE_REQUEST

-prabhu

Read only

Former Member
0 Likes
420

Hi,

you can select the data in your program in one table and then delete the duplicate entries from table and finally you call the following FM :

F4IF_INT_TABLE_VALUE_REQUEST

Thanks.

Swati.