Solution : https://service.sap.com/sap/support/notes/849111 (SAP Service marketplace login required)
Key words :
optional import parameter i_inst_engine type ref, terms mdf cl_dml_api=>delete reason, set types remains, source code correction, program error, solution implement, cl_dml_settype class, delete_all method, prerequisites, cl_dml_engine