03-03-2007 5:59 AM
hi,
is there any exit to delete duplicate entries from search help.
03-04-2007 2:43 PM
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
03-05-2007 8:34 AM
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.