11-27-2007 1:28 PM
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 !!!!
11-27-2007 1:46 PM
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
11-27-2007 1:46 PM
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
11-27-2007 2:02 PM
Hi,
try the below code.
CALL FUNCTION 'GUI_RUN'
EXPORTING
command = 'IEXPLORE.EXE'
PARAMETER = 'file path '.
reward if needful.
thanks,
Sreeram.