Use Sort by Descending Order.
SORT IT_XYZ BY FLD1 FIELD2 FIELD3 DESCENDING.
This brings the records in the Order
Fld1 Field2 Field3 Field4
2 | march 1 | A602 | A602 description |
1 march1 A602 A602 description
1 march1 A610 A610 description
DELETE ADJACENT DUPLICATES FROM ITAB COMPARING FIELD2 FIELD3 FIELD4.
This will remove middle record and retain these two records
Fld1 Field2 Field3 Field4
2 | march 1 | A602 | A602 description |
1 march1 A610 A610 description
KJogeswaraRao