*在SAP ABAP中可以在Screen中嵌入Html control打开网页,也可以通过调用本地的IE浏览器打开。
*1、在Screen中嵌入Html control的例子,在系统中有,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.
评论