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: 

Hoe to delete duplicates in Search Help

Former Member
0 Kudos

Hi

I created one search help.. In that if I press f4 I am getting duplicate records..... In this now I want to delete duplicate records.... So how to do this..... Old do needful

1 ACCEPTED SOLUTION

krishnaananth
Active Participant
0 Kudos

Check

Regards,

AK

3 REPLIES 3

krishnaananth
Active Participant
0 Kudos

Check

Regards,

AK

former_member196331
Active Contributor
0 Kudos

You have to create Search help exit then assign it to the Custom Search help.

in Se37  Search help exit you have to create it.Like Function module input parameters,

There is one table  record_tab[]  in Exit. before displaying the values in F4 , all the values are saving in this table in String format.

you need to put break-point in Exit then check it.

How To Create Search Help Exit - ABAP Development - SCN Wiki

Chintu6august
Contributor

Hi,

You have to create a search help exit function module or you can make use of standard search help /DSD/DX_SH_EXIT_DUPLICATES.


in you custom search help exit you need to write this code.


DELETE ADJACENT DUPLICATE FROM <RECORD_TAB> COMPARING ALL FIELDS.



and then assign the search help exit to your custom search help..

thank you!!