Application Development 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: 

open url link by function

Former Member
0 Kudos
92

Hi friends,

i need a function that open url's link, is anyone know wich function do that?

thanks,

dana.

1 REPLY 1

Former Member
0 Kudos
57

Hi,

Use function module

CALL_BROWSER

CALL FUNCTION 'CALL_BROWSER'
 EXPORTING
   URL                          = 'WWW.SDN.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

Edited by: Rajvansh Ravi on Jan 20, 2009 11:43 AM