Hi ,
There are multiple ways we can achieve that .
One of them being :
Sort itab1 by f1 .
Clear Gv_counter.
Loop at Itab1 .
Wa = itab1
Gv counter = gv_counter +1 .
At end of f1 .
If gv_counter > 1
Append wa to itab2 .
Endif .
Clear gv_counter.
Endat.
Endloop .
At the end of the loop run an entry will be created in the itab2 table for every duplicated f1 In itab1.
Hope this helps
Amarpeeet .