Funktionsbaustein CALL BROWSER

Aus SAP-Wiki
Wechseln zu: Navigation, Suche

Dieser Funktionsbaustein CALL_BROWSER startet für eine vorgegebene URL den zugeordneten Standardbrowser.

CALL FUNCTION 'CALL_BROWSER'
" EXPORTING
"   URL                          = ' '
"   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
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur