cancel
Showing results for 
Search instead for 
Did you mean: 

NW04s SSO EJB

Former Member
0 Kudos

I have SSO setup and my dynpro is calling an EJB passing the SSO ticket.

I want to queue requests to call BAPIs and want to use the same user credentials. I can get the user name, but how would I get the SSO ticket to create a JCO?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I figured it out. Since I already had access to a destination with SSO, I got the properties and looked up the SSO property within it.

RFCDestination dst = (RFCDestination) dstService.getDestination("RFC", "R3_APPLICATION_SSO");

java.util.Properties jcoProperties = dst.getJCoProperties();

jcoProperties.getProperty("jco.client.mysapsso2")