se38:SAPHTML_DEMO1 就知道效果
代码:
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = 'C:\Program Files\Internet Explorer\iexplore.exe' "本地IE的安装位置
parameter = 'http://www.google.com' "网页URL
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
bad_parameter = 3
file_not_found = 4
path_not_found = 5
file_extension_unknown = 6
error_execute_failed = 7
synchronous_failed = 8
not_supported_by_gui = 9
OTHERS = 10.
执行效果就是打开一个IE进程,通过IE打开指定的网页
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15127599/viewspace-621877/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15127599/viewspace-621877/