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
779

What is the fastest method to delete duplicate records

from an internal table?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
757

hi

sort the table

delete adjacent duplicates from <table>

6 REPLIES 6
Read only

Former Member
0 Likes
758

hi

sort the table

delete adjacent duplicates from <table>

Read only

Former Member
0 Likes
757

Using:

<b>SORT ITAB BY MATNR.

DELETE ADJACENT DUPLICATES FROM ITAB BY MATNR</b>

Regards,

Vasanth

Read only

Former Member
0 Likes
757

first sort ur internal table.

then use syntax

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

Read only

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

Former Member
0 Likes
757

Hi,

Sort <table>.

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

Regards,

Kiran

Read only

Former Member
0 Likes
757

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