08-11-2016 3:44 AM
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
08-11-2016 3:52 AM
08-11-2016 3:52 AM
08-11-2016 4:15 AM
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
08-11-2016 4:59 AM
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!!