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
878

What is the fastest method to delete duplicate records

from an internal table?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
856

hi

sort the table

delete adjacent duplicates from <table>

6 REPLIES 6
Read only

Former Member
0 Likes
857

hi

sort the table

delete adjacent duplicates from <table>

Read only

Former Member
0 Likes
856

Using:

<b>SORT ITAB BY MATNR.

DELETE ADJACENT DUPLICATES FROM ITAB BY MATNR</b>

Regards,

Vasanth

Read only

Former Member
0 Likes
856

first sort ur internal table.

then use syntax

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

Read only

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

Former Member
0 Likes
856

Hi,

Sort <table>.

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

Regards,

Kiran

Read only

Former Member
0 Likes
856

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