Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

abap delete adjacent duplicates

If there are entries with the same key.

sort itab by key. delete adjacent duplicates from itab comparing key.

Does anyone know which one will be deleted if delete adjacent duplicates..comparing key? The first one or second one?

like image 921
Dustin Sun Avatar asked Oct 18 '11 21:10

Dustin Sun


1 Answers

From F1 help on "delete adjacent duplicate"

In the case of several double lines following one another, all the lines - except for the first - are deleted.

So the second (identical) line should be deleted

Regards,

like image 196
PATRY Guillaume Avatar answered Sep 20 '22 05:09

PATRY Guillaume