2007 Jan 18 2:45 PM
Hello,
i need to run a command from local machine. I can use this:
CALL METHOD cl_gui_frontend_services=>execute... it works fine.
It start process and the ABAP program continue in code processing but i want to wait to end of that process. How can i do it?
thank you.
Palo
Hello,
i need to run a command from local machine. I can use this:
CALL METHOD cl_gui_frontend_services=>execute... it works fine.
It start process and the ABAP program continue in code processing but i want to wait to end of that process. How can i do it?
thank you.
Palo
2007 Jan 18 2:48 PM
Hi pavol,
1. I don't think it is possible to wait .
regards,
amit m.
2007 Jan 18 2:48 PM
may be u can stop for 10 seconds and continue...
call function 'RZL_SLEEP'
exporting
seconds = 10
exceptions
argument_error = 1
others = 2.
2007 Jan 18 3:07 PM
2009 Mar 23 6:05 AM
yes., it works with SYNCHRONOUS = 'X'.
But when I upgraded my machine to Windows vista (IE7) it did not work?? any idea?
2012 Oct 18 7:33 AM
I had the same problem like Adel when calling the browser via cl_gui_frontend_services=>execute().
On my old school XP machine the synchronous start is doing well, but not on my colleagues W7 64 machines.
I used a registrey key to get - in my case - the path to the Internet Explorer.
(htmlfile\shell\open\command)
On W7/64Bit this key contains the path to the 32 bit Binary:
C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
If I start this application it's not synchronous, if i hard-code the path 64 bit binary
(C:\Program File\Internet Explorer\IEXPLORE.EXE) the application runs synchronous.
A pragmatic programmer could replace the ' (x86)' in the path, which should work on most Windows platforms
Regards
Dominik