We'll add the number of records of the internal tables in batch logs so that we can identify if it's the problem with INSERT statement.
For writing such technical details SAP has provided the LOG-POINT construct. I think this is a valid use case for log points
Are you performing the Inserts/Updates directly in the program? Or, are they part of some Update modules?
BR,
Suhas