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: 

exit to delete duplicate entries from search help

Former Member
0 Kudos

hi,

is there any exit to delete duplicate entries from search help.

2 REPLIES 2

Former Member
0 Kudos

Hi Peter,

Are you asking about a custom or a standard search help.

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.

Then attach the exit function module to the search help - Goto Definition Tab of the search help from SE11 and maintain FM in Search Help exit field.

Hope this helps.

Rgds,

Aditya

Former Member
0 Kudos

Hi Peter,

I dont think there are any exits to delete duplicate entries.

Instead you can create your own search help by deleting the duplicate values. If this is fine I will let you know of the method.

Regards,

Paul.