Skip to Content
0

SSO in CL_GUI_HTML_VIEWER

Mar 20, 2017 at 04:07 PM

80

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Adolfo Martin Fuentes May 24, 2017 at 02:09 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded