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: 

Function module to call an url from an ABAP program

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member

Ok.

thanks a lot guys.

5 REPLIES 5

suresh_datti
Active Contributor
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

Hi,

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

regards

Vjay

Former Member
0 Kudos

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

Former Member

Ok.

thanks a lot guys.

0 Kudos

Please reward points for helpful answers to offer your thanks to them, by clicking on the appropriate star on the left side of your screen.