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?
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,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With