Solution : https://service.sap.com/sap/support/notes/527829 (SAP Service marketplace login required)
Key words :
planning file entry reason, function module /sapapo/dm_allocation_rp, table /sapapo/pegkey, terms /sapapo/pegkey, type /sapapo/char1, source code corrections, import parameter imp_flush, sales orders, external procurements, apo terminates
Related Notes :
536564 | Deadlocks on the /sapapo/pegkey table (part 2) |