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: 

show_url and open_browser

Former Member
0 Kudos

Hi All,

I wanted to know if show_url of class cl_gui_html_viewer serves teh same functionality as open_browser ?

We have all our applications calling open_browser and I am to implement an OSS note that mentions about show_url. Can anyone throw some light on this please ?

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

what is the note number.

5 REPLIES 5

former_member188685
Active Contributor
0 Kudos

what is the note number.

0 Kudos

612670

0 Kudos

you can try with CALL_BROWSER function module.

naimesh_patel
Active Contributor
0 Kudos

I guess SHOW_URL would display the contents of the URL in the GUI container. I don't think it will open a new broswer.

Regards,

Naimesh Patel

rajendra_sv
Explorer
0 Kudos

Hello,

SHOW_URL will only navigates to the URL specified in the HTML Control.

In case if you want an browser instance to be created you can call the method SHOW_URL_IN_BROWSER, this will create a new instance of browser and navigates to the URL passed. If you close the sapgui session, the browser is also closed. In case if you dont want the browser to be closed when sapgui session is closed use the method DETACH_URL_IN_BROWSER.

Best Regards

Rajendra