Hi,
make sure to have cleared the internal table lt_inv_errlist bewtween to INSERTs with REFRESH (or CLEAR, if it has no header line).
You can sort the internal table and remove duplicates with DELETE ADJACENT DUPLICATES to avoid duplicates during one INSERT of several entries. Refer to the key fields of your Z-table.
Use MODIFY instead of INSERT, if you can't avoid duplicates because of data selection reasons.
Regards,
Klaus