Solution : https://service.sap.com/sap/support/notes/32984 (SAP Service marketplace login required)
Key words :
create object h_word 'word, h_word 'dateiöffnen' exporting #1 = filename, h_word 'fileopen' exporting #1 = filename, h_word 'curvalues' = h_vals, h_word type ole2_object, additional key words, field 'typeinfo-key', clsid typelib empty, h_vals 'dokumentstatistik' = h_stat, h_vals type ole2_object
Related Notes :
75594 | Troubleshooting: ABAP/4 - OLE Automation Controller |