Solution : https://service.sap.com/sap/support/notes/213988 (SAP Service marketplace login required)
Key words : 
symptom abap runtime error sapsql_array_insert_duprec occurs, additional key words flexible analysis, attached source code corrections, execute transaction mcvr, identical parameters, solution implement, transaction, prerequisites
Related Notes : 
       
| 180261 | |
| 174132 | Flexible analysis: Composite note |