Solution : https://service.sap.com/sap/support/notes/204134 (SAP Service marketplace login required)
Key words : 
additional key words spam, abap/4 runtime error sapsql_array_insert_dupreccautionif, customers source code, entire source code, function module clm_func_number_check_and_rena, runtime error, source code, spam execution, function module, note 0407429 dated 22
Related Notes : 
       
| 217206 | Function modules: Processing in SPAU not possible | 
| 173814 | OCS: Known problems with Support Packages for Release 4.6 | 
| 97629 | OCS: Known problems with patches Rel. 4.5 |