Skip to Content

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

issue with deleting adjacent duplicates from internal tab

Hi eveyrone. Its been some years the last time I did some abap coding so I am coming a bit rusty already.

I have dilemma how to delete duplicates in my internal table. For example I have the following entries in the internal table

Fld1        Field2          Field3          Field4

1          march1          A602          A602 description

1          march1          A610          A610 description

2          march 1         A602          A602 description

I need to delete duplicates in the itab above. But I need to retain record#2 and record#3. I need to retain the last instance of the duplicates and not the first one. Please help.



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