Solution : https://service.sap.com/sap/support/notes/81294 (SAP Service marketplace login required)
Key words :
'read master data' function, distribution document bom items, attached source code corrections, additional key words co40, error message c2087, error sapsql_array_insert_duprec occurs, respective schedule line, collective purchase requisition, c2 087 eban sapsql_array_insert_duprec, generated purchase requisitions
Related Notes :
92791 | Assembly order: SAPSQL_ARRAY_INSERT_DUPREC |
92634 | SG111: during convrsn of plnd ordr in prodctn order |