Hey Krishna,
You can try two things.
I believe those tables has indexes.
Try to include the drop index and recreate index statements in the procedure and see.
like
drop index;
delete the data
insert the data
create index
the second method is manually stop the delta merge for that table,then insert the data and do the delta merge.
I believe this is because of delta merge problem.
Regards,
Venkat N