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
1,508

Hello,

I am using the method of SHOW_URL class CL_GUI_HTML_VIEWER to display an url to display an external application where the user must enter series of data.

When in SAP, the user opens an url in one session and in an other session opens another url, the cookie containing the session id is the same for each window.

This is a problem bacause the external application mixes the data when the user push save in this application.

Does anyone know how to create a new id session?

Thanks

Itziar

2 REPLIES 2
Read only

Former Member
0 Likes
645

hi,

Please check SAP Note 856741.

After creating the HTML Viewer control, call the method ENABLE_SIMPLEBROWSING as follows:

CALL METHOD html_control->ENABLE_SIMPLEBROWSING

EXPORTING

benable = 1.

Now the links will open in the same SAP GUI session.

Reward points if usefull,

Thanks&Regards,

kalyan.

Read only

0 Likes
645

Hi kalyan,

each window of sap should open a diferent web sessions, not the same. We don´t have the problem in SAP.

The thing is that we don´t kwow to launch a new web session from each url, when the url is invoked from SAP. Have you got any idea?

(The problem happens when the user have more than one SAP window open for the same application).

Thanks regards

itziar