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 browser vs window

Former Member
0 Likes
1,337

for my application I need to include a cl_gui_html_viewer in a respective custom container within a dynpro and then have a new explorer being opened for each modus instead of just a new window. Currently (default setting ) when I call my dynpro from two different sap modus on the same computer, then one opens the explorer and the other one just opens a new window to the same explorer.

Does anybody know if this can be changed, may be via property setting?

Thanks a lot!

Ana

5 REPLIES 5
Read only

athavanraja
Active Contributor
0 Likes
904

let me understand.

what you are saying is that you have more than one html control in sap gui. (for example hviewer1 and hviewer2)when you load the urls, hviewer1 holds the new instance of the browser and hviewer2 holds new window of the previously opened browser. (which is something like control N from IE)

Is my understanding right?

Regards

Raja

Read only

0 Likes
904

yep.

the problem is that the application i am calling via url only accepts one browser id per call of the application. This leads to an error message when i call the application from 2 different modus on the same desktop, as the html viewer only creates a new window to the already created browser that it finds in the cache.

hope this helps

tx a lot!!

ana

Read only

0 Likes
904

hm, this was not an answer, just a more precise description of the same problem, does anybody have got an answer to it?

Merci

Ana

Read only

0 Likes
904

I need to simulate your case to check, whether we can handle this. without that i cannot give answer.

Regards

Raja

Read only

Former Member
0 Likes
904

Hi Ana,

I'm working on an application which also seems to have the same problem as you mentioned. My application opens a url which contains a Interactive Adobe Form using CL_GUI_HTML_VIEWER also. And the Adobe Form contacts SAP using a custom BAPI.

However, when another similar form (Not just using CL_GUI_HTML_VIEWER in SAP but even when opened in a standalone IE Browser) is opened and the BAPI is processed, Both the Adobe forms are processed and and Both contain the same data once the forms are complete. This is more like a Session ID needs to be issued for each instance of the HTML_VIEWER. Can this be specified using a Property? Please let me know if you have any thoughts on this.

Thanks in advance,

Jr.