Lines are considered to be doubled if the content of neighboring lines is the same in the components examined. In the case of several double lines following one another, all the lines - except for the first - are deleted.
1.Please sort it.
2As the following screenshot, We can delete it
3.Summary
The useage is the same with “delete adjacent duplicates” in the abap.