Skip to Content
May 13, 2010 at 04:49 AM

Unable to launch a new document in winword 2007 from abap using OLE


Dear Developers,

We have a customized abap report which use OLE to launch a new document and display SAP data in that document. It is working on winword 2003.

When we upgrade our version to office 2007 (winword 2007), the abap report will only launch a blank screen with no new document , no data is displayed.

After reading OSS note 1286768, I tried with sap gui version 7.10 patch 17, but it still did not work.

Some part of the codes below :

CREATE OBJECT wordobj 'Word.Basic' .

CALL METHOD OF wordobj 'AppInfo' = version EXPORTING #1 = 2.

CALL METHOD OF wordobj 'FileNew' EXPORTING #1 = ''.

CALL METHOD OF wordobj 'AppShow'.

Do we need to install any files in SAP server to enable winword 2007?

Do you have any tips to share?

Thanks & regards

Bee Khuan