on 07-23-2009 4:33 PM
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?
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")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.