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

Function module to call an url from an ABAP program

Former Member
0 Likes
5,378

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
Read only

Former Member
2,125

Ok.

thanks a lot guys.

5 REPLIES 5
Read only

suresh_datti
Active Contributor
0 Likes
2,125

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

Read only

Former Member
0 Likes
2,125

Hi,

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

regards

Vjay

Read only

Former Member
0 Likes
2,125

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

Read only

Former Member
2,126

Ok.

thanks a lot guys.

Read only

0 Likes
2,125

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.