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://www.sapnuts.com' * 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.
Hi Team , Thanks for sharing this information , i would like to aks a query here - Is it also possible to pass the SAP id n password with which user has logged in sap GUI to the URL/Browser ( Integrated with SAP) .