As a part of our day to day developments, some time we may need to call external website from a ABAP program or from SAP transaction, we can call a web browser from SAP program using CALL_BROWSER.

Example program for calling browser in SAP ABAP 

 

CALL FUNCTION 'CALL_BROWSER'
  EXPORTING
    URL        = 'http://serkurumsal.blogspot.com.tr/'
*   WINDOW_NAME                  = ' '
    NEW_WINDOW = 'X'
*   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 EQ 0.
  WRITE:/ 'Browser is opened'.
ENDIF.

Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP MM SD Consultant
Contact : serkurumsal@yandex.com