Solution : https://service.sap.com/sap/support/notes/898231 (SAP Service marketplace login required)
Key words :
solution call transaction se11, transit forthe sales orders, quantity difference corresponds, sales order stock, reference table mara, source code corrections, stock transfer movements, reference field meins, opening stock, project stock