Solution : https://service.sap.com/sap/support/notes/521046 (SAP Service marketplace login required)
Key words :
attached source code correction, symptom documents resulting, terms document number, document number, document number '& 1', production orders, biw reason, program error, solution implement, order settlement