Skip to Content
author's profile photo Former Member
Former Member

Hoe to delete duplicates in Search Help

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Aug 11, 2016 at 02:52 AM

    Check

    Regards,

    AK

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2016 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2016 at 03: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!!


    3.PNG (19.9 kB)
    4.PNG (14.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.