Error : Update was terminated

Hello Experts,

While creating orders in PP, PM, and PS module the system is throwing error as "Update was terminated". In ST22 it throws the dump as RUNTIME ERROR : sapsql_array_insert_duprec. The data is not stored in the table while the number range for perticular order is get consumed. we have checked the number ranges, there is no inconsistancies with the number ranges, no upgradation