‎2008 Apr 25 4:27 PM
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.
‎2008 Apr 27 12:24 AM
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