Solution : https://service.sap.com/sap/support/notes/126613 (SAP Service marketplace login required)
Key words : 
additional key words idoc, post goods movements, function module mb_create_goods_movement, attached program change, program terminates, program error, sql error -310, table mkpf, prerequisites
Related Notes : 
       
| 213066 | Subsequent note implementation Support Package 3.1I |