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

want to remove duplicate values from calibration report

Hi all,

I developed a report in sap for calibration. i just wanted to remove duplicate values from one column . when i use collect statement on internal table it affects other columns also. kindly suggest how it is possible.

i screen shot highlighted values should be removed.

kindly share your views.

Capture.PNG (22.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2014 at 11:36 AM

    Hi Puneet,

    You can use the DELETE ADJACENT DUPLICATES command adding your fields to compare and delete,

    Eg:-

    Delete Adjacent duplicates from itab comparing mic result_before result_after.

    Do remember to sort the internal table using these columns first.

    SORT itab by mic result_before result_after,

    That should work.

    -Regards,

    Ragavan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Please list down all the columns (if they repeat) are considered as columns or in other words let us know the combination of the fields which are to be deleted if they repeat.

      Eg:- Same Plant and Equipment No etc

      -Regards,

      Ragavan

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.