Skip to Content

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

Error while connecting with JCo via SSO-Ticket

Hello everybody,

I have deployed a Java application (not WebDynpro) in the portal (EP 7.0) and I want to call a function module in the backend (xRPM 4.0) via RFC. I want to use SSO to connect Java application and backend. I already figured out how to grab LogonTicket from portal cookie to use it with JCO functions. As soon as i want to establish the JCO connection I get the following errors depending on how many times I try to connect:

1. No RFC authorization for function gruop SYST for user SAPSYS.

2. Connection closed without message (CM_NO_DATA_RECEIVED).

3. No valid trusted entry for the calling system.

Can anyone help me please?

Thanx in advance.


Former Member
Former Member replied

Hi Rainer,

you have to use the user MYSAPSSO2 between "$" signs. For example, this way: "$MYSAPSSO2$" This is necessary for the SAP system to know, that this is a SSO user.

Please refer to the JCO class documentation and search for $MYSAPSSO2$.

The password could be the ticket content that you get from a SSO System.



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