Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Internal Table

Hi All,

I have internal table ITAB with duplicate rows as below.

ITAB-MATNR

A

B

C

C

D

E

E

i would like to delete all duplicate rows from ITAB (i.e both rows with of c and e) and these rows need to be copied into another internal table ITAB1.

Finally, ITAB should be with value A, B ,D and ITAB1 with value C,C,E,E.

How can I do this??

Edited by: Yogesh Chavan on May 18, 2009 4:13 PM

Former Member
replied

Hi,

use the syntax...

delete adjacebnt duplicate comparing fields.

first sort the field only which fields you wan to delete the Duplicates.

example :-delete adjacent duplicate from ITAB comparing matnr werks.

Regards,

Prabhudas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question