Skip to Content
Former Member
Jul 17, 2015 at 11:06 AM

For all entries deleting duplicates


Hi Guys,

Quick question, I have an internal table where fields are F1, F2, F3, F4, none of them are key fields. If I use this internal table in a FOR ALL ENTRIES statement and in the WHERE condition I use F1 and F2, does this automatically delete duplicates comparing F1 and F2 in ABAP? Or are there no duplicate entries deleted? Would it help the SQL statement if I delete adjacent entries comparing F1 and F2 programatically in ABAP?