Solution : https://service.sap.com/sap/support/notes/1262899 (SAP Service marketplace login required)
Key words :
prerequisites reason program error, total planned order quantity, previous dispatched planned orders, planned order despatched, source code instructions, afs planned orders, planned orders, md_planned_order_change reason, fixed quantity, quantity equivalent
Related Notes :
1101029 | Issues with AFS BAPI for planned order create and change |