Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in opening word

I am trying to open Ms Word with FM "Gui_run". The problem is when the name has a space it can't open it .

Is any way to pass this problem ?

Thanks in advance !!!!

Points will be rewarded !!!!

Tags:
Former Member
Former Member replied

You can use the method execute in CL_FRONTEND_SERVICES, and just pass the file name to the parameter document.

call method cl_gui_frontend_services=>execute

exporting

document = 'c:\test.doc'.

Albert

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question