Hi Dipin,
for this scenario, there is the addition ACCEPTING DUPLICATE KEYS. So you can write:
INSERT ... FROM TABLE <mod_elem_tab> ACCEPTING DUPLICATE KEYS.
Then no exception is thrown but the sy-subrc is set to 4. All lines which could be inserted, will be inserted nevertheless.
Best regards,
Kilian.