Application Development and Automation 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: 
Read only

Internal Tables

Former Member
0 Likes
708

What is the fastest method to delete duplicate records

from an internal table?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
686

hi

sort the table

delete adjacent duplicates from <table>

6 REPLIES 6
Read only

Former Member
0 Likes
687

hi

sort the table

delete adjacent duplicates from <table>

Read only

Former Member
0 Likes
686

Using:

<b>SORT ITAB BY MATNR.

DELETE ADJACENT DUPLICATES FROM ITAB BY MATNR</b>

Regards,

Vasanth

Read only

Former Member
0 Likes
686

first sort ur internal table.

then use syntax

<b>delete adjacent duplicates from itab.</b>

Read only

Former Member
0 Likes
686
sort itab by f1 f2.
delete adjacent duplicates from itab comparing f1 f2.
Read only

Former Member
0 Likes
686

Hi,

Sort <table>.

Delete Adjacent Duplicates from <table> comparing <field>.

Regards,

Kiran

Read only

Former Member
0 Likes
686

I wonder if there is any other method other than SORTing and Deleting adjacent duplicates!