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

cl_gui_html_viewer

Former Member
0 Likes
607

Hi,

i'm calling a screen and in that screnn, i'm calling web browser using method show_url of cl_gui_html_viewer class.

CALL METHOD html_control->show_url

EXPORTING

url = g_url.

i'm able to open website in that screen and logon. when i logon, the susequent page is coming. That's OK.

The problem is when i run the program for second time, the second page is coming not the logon page.

can anyone solve this problem?

regards,

ravi valluri.

1 REPLY 1
Read only

Former Member
0 Likes
352

The behaviour you are seeing sounds the same as using IE in standalone - once you've logged into a site, you typically don't need to log in again until you close IE down. When you say "run the program for a second time", are you exiting the program back to the SAP main menu and going back into the transaction, or just changing screen? I've not had to use it myself, but there is a "lifetime" associated with the control which might help:

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIHTML/BCCIHTML.pdf

Jonathan