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
795

What is the fastest method to delete duplicate records

from an internal table?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
773

hi

sort the table

delete adjacent duplicates from <table>

What is the fastest method to delete duplicate records

from an internal table?

6 REPLIES 6
Read only

Former Member
0 Likes
774

hi

sort the table

delete adjacent duplicates from <table>

Read only

Former Member
0 Likes
773

Using:

<b>SORT ITAB BY MATNR.

DELETE ADJACENT DUPLICATES FROM ITAB BY MATNR</b>

Regards,

Vasanth

Read only

Former Member
0 Likes
773

first sort ur internal table.

then use syntax

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

Read only

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

Former Member
0 Likes
773

Hi,

Sort <table>.

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

Regards,

Kiran

Read only

Former Member
0 Likes
773

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