Открыть URL-адрес в браузере на машине пользователя.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
url = 'https://google.com'
* window_name = ' '
* new_window = ' '
* browser_type =
* contextstring =
EXCEPTIONS
frontend_not_supported = 1
frontend_error = 2
prog_not_found = 3
no_batch = 4
unspecified_error = 5
OTHERS = 6.
или
cl_gui_frontend_services=>execute(
EXPORTING
document = 'https://google.com'
* application =
* parameter =
* default_directory =
* maximized =
* minimized =
* synchronous =
* operation = 'OPEN'
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 ).
Комментариев нет:
Отправить комментарий