12-02-2007 10:09 AM
Hi there
I'd like to delete with below condition.
*condition :
delete if aa field's data is duplicate.
but remain first data.
ex)
itab
-
aa bb cc
-
1 df fg (remain)
2 rw dsdf (remain)
2 wr sfg (delete)
2 2d dff (delete)
3 dd dh (remain)
1 d2 ref (delete)
4 dfsa sfs (remain)
plz tell me how.
12-02-2007 10:12 AM
Hi,
Sort itab by aa.
Delete Adjucent duplicates from itab comparing aa.
Regards,
Satish
12-02-2007 10:15 AM
hi,
you can do it with:
DELETE ADJACENT DUPLICATES FROM itable.
regards,
mae
12-02-2007 10:21 AM