Solution : https://service.sap.com/sap/support/notes/612873 (SAP Service marketplace login required)
Key words :
attached source code corrections, foreign interface results, foreign interface, repeated call, error r1112, bus_control_main reason, program error, solution implement, prerequisites