cancel
Showing results for 
Search instead for 
Did you mean: 

Single Sign On from SAP GUI to Webdynpro

Former Member
0 Kudos

Hello,

we want to implement a Single Sign on from a SAP GUI-Application to a webdynpro abap-application without using a portal.

How can we do that?

Best regards

Oliver

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member654348
Participant
0 Kudos

Hi Oliver,

is this issue resloved? we have a requirement where in user wanted to open the webdynpro application URL directly without portal. it is prompting for SAP system ID and password. is there any config possible to logon to the application directly with out explicitly providing SAP sys credentials?

Your help would be very much appreciated.

Thanks,

Pallavi.

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi, you can develop a module pool application to show web dynpro application in the SAPGUI itself.

for this you have to use cl_gui_html_viewer ( just like cl_gui_alv_grid )

DATA: viewer TYPE REF TO cl_gui_html_viewer.

DATA: empty_container TYPE REF TO cl_gui_container.

CREATE OBJECT viewer EXPORTING parent = empty_container.

      • to enable the sso *****

CALL METHOD viewer->enable_sapsso

EXPORTING enabled = 'X'

EXCEPTIONS OTHERS = 1.

CALL METHOD viewer->DETACH_URL_IN_BROWSER

EXPORTING url = url.

cl_gui_cfw=>flush( ).

Abhi

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can also consider creating a new parameter transaction code around the SAP TCode WDYID. This program provided by SAP will launch your WDA with SSO and has options for running the WDA in place or in a new window. You just have to pass in the WDA Application name.

former_member402443
Contributor
0 Kudos

Hi Oliver,

Please find the Link regarding the SSO configuration.

[SSO configuration|http://help.sap.com/saphelp_nw70/helpdata/EN/46/55195e4e5d41b095d0371fa9df2781/frameset.htm]

Regard

Manoj Kumar