Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Retreive SAP Logon Ticket from WebService

Hi all,

I have created a Webservice inside the NetWeaver which again calls other Webservices on different Machines and also calls RFC Function modules in an SAP Backend System. I now want to make use of the SAP Logon Ticket. As I want to pass the logon Ticket around when calling the other Webservices and the RFCs within my Webservice I wanted to know if there is a way to retrieve the SSO Ticket of the current user within my Webservice.

A small coding example would be great.

Thanks for you help.

regards Ingo

Former Member
replied

One more thing. You should initialize jcoProperties:

Properties jcoProperties = new Properties();
jcoProperties.put("jco.client.client", "001");
jcoProperties.put("jco.client.ashost", "hostname");
jcoProperties.put("jco.client.sysnr", "00");
mappingData.enrich(jcoProperties);

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question