$ 0 0 If you have this data in internal table then try this. DELETE ADJACENT DUPLICATES FROM itab COMPARING col1 col2.