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: 

SSO in CL_GUI_HTML_VIEWER

demetrius_pfoo
Explorer
0 Kudos

Hello community,

i'm using in abap the cl_gui_html_viewer class to call a link that navigates you into a Java Netwaever System. There are two ways to show the link. The first way is starting a new browser-window in Internet Explorer. I'm using the method "detach_url_in_browser". Before that i'm calling the method "Enable_sso". That works fine and there is no login-mask.

The other way is to call a embedded browser in a custom Container. I'm using the method "show_url". Here comes the login mask. SSO does not work.

Before bove options the method "Enable_sso" were called.

Does anybody has an idea? Are there some setttings for the integrated html_viewer?

Regards

Demetrius

2 REPLIES 2

Former Member
0 Kudos

Hi Demetrius,

the problem resides in the "login/ticket_only_to_host" parameter of the ABAP-System. If it is set to 1, using the SAP GUI for HTML, you will see that no MYSSO2COOKIE is forwarded; the contrary being true otherwise (i.e., when "login/ticket_only_to_host = 0").

The parameter can be set dynamically with TC-RZ11.

Regards,

Adolfo

former_member657945
Discoverer
0 Kudos

Hi Demetrius,

Did you find a solution for this issue?

Please let me know 🙂

Kind regards,

Gert-Jan