Skip to Content
avatar image
Former Member

Function module to call an url from an ABAP program

Hello

I'm looking for the ABAP function module to open an internet explorer with an url as parameter. Could somebody help me ?

Many thanks

Jerome

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 11, 2006 at 04:06 PM

    Ok.

    thanks a lot guys.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 22, 2006 at 12:47 PM

    call_browser

    CALL FUNCTION 'CALL_BROWSER'
          EXPORTING
               URL = 'http://www.sap.com'.
    
    or 
    
    call method cl_gui_frontend_services=>execute
      exporting
        document = 'https://www.sdn.sap.com'
      exceptions
        others   = 1.
    

    Regards,

    Suresh Datti

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 22, 2006 at 12:56 PM

    Hi,

    you can call this FM <b>CALL_BROWSER</b> in your program .

    regards

    Vjay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 22, 2006 at 12:58 PM

    Hi,

    You can use 'CALL_BROWSER'.

    Refer this code:

    call function 'CALL_BROWSER'
    exporting
    url = 'C:Documents and SettingshemantgDesktopnew.html'
    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,

    Gayathri

    Add comment
    10|10000 characters needed characters exceeded