Solution : https://service.sap.com/sap/support/notes/727619 (SAP Service marketplace login required)
Key words :
process function modules l_to_cancel_su, note completes notes 427741, attached correction instructions, create data records, buffer data, error 'sapsql_array_insert_duprec', terms buffer, duplicate record, lt09 reason, program error
Related Notes :
503010 | LM13 - TOs confirmed but inb. delivery is 'B' |
427741 | Performance problems for creating and confirming TOs |