I want to open a u201CR3 screen with a particular transaction u201Con click of a button from my JSP page (which is deployed on SAP J2EE AS 700) with SSO.
As of now I am using a J ava Scri pt/Active X Object like u2013
wshShell.Run('sapshcut -sid=<%= sid %> -gui=<%= gui %> -client=<%= client %> -command=<%= command %> ');
It works fine but here it prompts for a password first. And I need to login into R3 using SSO. However I can pass password explicitly also in this command but I donu2019t know the password at run time for all users.
I tried like below:-
(1) exported the certificate from j2ee engine and imported that in my R3. (http://help.sap.com/erp2005_ehp_03/helpdata/EN/61/42897de269cf44b35f9395978cc9cb/frameset.htm)
But even then itu2019s not working.
(2) Secondly I tried with sapgui as
sapgui.exe ispcluster.xxx.sap.corp 39 SNC_PARTNERNAME="p/secude:CN=<SYSTEM_NAME>, O=SAP-AG, C=DE" SNC_QOP=9
But here I need to hard code the value for SNC_PARTNERNAME, I have no access to useru2019s certificate at run time.