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.
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/20152.html