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: 

Dear Experts

kesavadas_thekkillath
Active Contributor
0 Kudos

Please help me in solving a issue...

I have created search help for a field,and i used it in a module pool.

Its working fine,but that field consists of duplicate values to the field which its refered.

Is there any method to avoid the duplicate values in the search help.

plz help...its urgent...

6 REPLIES 6

Former Member
0 Kudos

HI,

YOu can create a Search Help Exit and process your data as per your requirement.

Clikc the below link to know more on Search Help Exit.

http://help.sap.com/saphelp_47x200/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm

The following threads might help you:

If you want to use Search help exit:

This might be quite useful:

If you are asking about a custom search help, then you can create a search help exit function module (which has the same interface as function module F4IF_SHLP_EXIT_EXAMPLE) and within it put the following code.

CASE callcontrol-step.

WHEN 'DISP'.

SORT record_tab.

DELETE ADJACENT DUPLICATES FROM record_tab.

ENDCASE

Regards

vasu

0 Kudos

Dear Vasu...i have created it from a table and called in the program

Former Member
0 Kudos

Hi,

Create a search help exit and attach it to the search help. Delete the duplicate entries in the search help exit using the DELETE ADJACENT DUPLICATES statement.

Sri

0 Kudos

How to perform this action..plz suggest

former_member186143
Active Contributor
0 Kudos

have you checked that the select in you're search help has a good key combination in the view so no double records will occur or that the language is passed on as default value ??

Former Member
0 Kudos

CHk this:

/community [original link is broken]

Message was edited by:

Sri Tayi