cancel
Showing results for 
Search instead for 
Did you mean: 

JCo v3 standalone program works fine but creates connection errors RC 223

Former Member
0 Kudos

I'm using JCO v3 with my own written DestinationDataProvider.

In the syslog I find

R49 communication error, CPIC return code 020, SAP rc 223

.

How can I force a proper disconnect at the end of the program? I call Envirnment.unregisterDestinationDataProvider() but that does not help. In JCo v2 I used JCO.Client.disconnect() and it works. This is described in the JCo Connectivity FAQ but there is no hint for Jco v3. I can not find the equivalent in JCo v3. What are the steps to close all connections properly?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

set property DestinationDataProvider.JCO_POOL_CAPACITY as 0. This should close the connection immediately after call completion.

Regards,

Anurag Mahendru