Skip to Content
0
Sep 10, 2021 at 01:59 PM

SAP JCo2 SSO to SAP JCo3 SSO

115 Views Last edit Sep 10, 2021 at 02:09 PM 2 rev

Hello all,

I'm currently working on an update of our old SAP JCo 2 JAVA library to the JCo 3 librairy and i'm facing an issue on the connection to SAP system.

In our old code, to connect throut SAP we were using as parameter, the user : $MYSAPSSO2$ an the password set as the SSO ticket.

I've tried to do he same logics with the new library, by changing the createClient() function by the getDestination() and by updating the properties :

- DestinationDataProvider.JCO_USER

- DestinationDataProvider.JCO_PASSWD

But everytime I tried to connect I have this error : Initialization of the repository destination failed: Name or password is incorrect (repeat logon).

Do you know if something have change in JCo3 for the SSO connection management ?

Thanks in advance.