cancel
Showing results for 
Search instead for 
Did you mean: 

OfficeControl RunMacro is not work

Former Member
0 Kudos

HI!

I have problem with method CL_IOS_APPLICATIONPROPERTIES~RUNMACRO.

I try to use this method for run macros for my MS Word document.

lp_mac_name = 'RUN1'.

wd_this->document->IF_IOS_APPLICATIONPROPERTIES~RUNMACRO( EXPORTING NAME = lp_mac_name ERRORINFORMATION = co_error_info_getfields_stru

IMPORTING RESULT = lv_res ).

It is not work and i do not understand reason.

I loaded doc into Mime-repositary with macros.

Please, help.

Best regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ShumovNV,

we have the same error. Have you manage to resolve it?

Best Regards,

Luis Moita

TomVanDoo
Active Contributor
0 Kudos

As far as I know, you cannot directly access front end applications from webdynpro for abap, as the actual wda code is run on the application server and only the generated html is sent to the front end

http is stateless, so there is no link between your desktop and the application server

as a result, you can not directly access front end applications from wda