Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Open a Web Page through normal processing

Former Member
0 Likes
397

Hi All,

My simple question is, is there any FM to open a Web Page from SAP?

Thanks,

Tabraiz

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
374

Hi,

Try function module

CALL_BROWSER

CALL FUNCTION 'CALL_BROWSER'
 EXPORTING
   URL                          = 'www.sap.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
          .
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
375

Hi,

Try function module

CALL_BROWSER

CALL FUNCTION 'CALL_BROWSER'
 EXPORTING
   URL                          = 'www.sap.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
          .
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Regards

Read only

Former Member
0 Likes
374

Thanks!!

Quick answer....