Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CPIC program connection ended (read error)

Former Member
0 Kudos

Hello,

I am facing problem while trying to connect to SAP Backend server(sapserv2).

When I try test connection(using SM59) I get the following error.

ERROR CPIC program connection ended (read error)

LOCATION SAP-Server cheetah_PRD_01 on host cheetah (wp 2)

COMPONENT CPIC

COUNTER 468

MODULE

LINE

RETURN CODE 223

SUBRC 0

RELEASE 640

TIME Tue Jan 30 12:39:57 2007

VERSION

The router is running fine.I am also able to connect through SAP Support portal via service connector.It's only that I am not able to connect from SAPGUI.

KIndly have a look at the following trace file :

dev_rfc1

        • Trace file opened at 20070130 124716 IST SAP-REL 640,0,129 RFC-VER 3 831626

======> CPIC-CALL: 'ThSAPCMINIT'

CPIC program connection ended (read error)

ABAP Programm: RSRFCPIN (Transaction: SM59)

Called function module: RFC_PING

User: BASIS (Client: 550)

Destination: SDCC_OSS (handle: 2, , {45BE2DCD-0262-3399-E100-0000AC110414})

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2277

CPIC-CALL: 'ThSAPCMINIT'

CPIC program connection ended (read error)

HOST =/H/192.168.100.112/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001

SERV =sapdp01

Please advice as to how I can come out of this.

Regards,

Sumit

5 REPLIES 5

WolfgangJanzen
Product and Topic Expert
Product and Topic Expert
0 Kudos

> The router is running fine.I am also able to connect

> through SAP Support portal via service connector.It's

> only that I am not able to connect from <b>SAPGUI</b>.

Sorry but the trace shows that you attempt to establish a <b>RFC</b> connection from your ABAP system ("PRD", client 550) to the ABAP system "O01" (= "OSS") at SAP.

> KIndly have a look at the following trace file :

>

> dev_<b>rfc</b>1

>

> **** Trace file opened at 20070130 124716 IST SAP-REL

> 640,0,129 RFC-VER 3 831626

> ======> CPIC-CALL: 'ThSAPCMINIT'

> CPIC program connection ended (read error)

> ABAP Programm: RSRFCPIN (Transaction: SM59)

> Called function module: RFC_PING

> User: BASIS (Client: 550)

> Destination: SDCC_OSS (handle: 2, ,

> {45BE2DCD-0262-3399-E100-0000AC110414})

> Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2277

> CPIC-CALL: 'ThSAPCMINIT'

> CPIC program connection ended (read error)

> HOST

> =/H/192.168.100.112/S/sapdp99/H/194.39.131.34/S/sapdp9

> 9/H/oss001

> <b>SERV =sapdp01</b>

You need to change your settings (SM59 destination "SDCC_OSS": gateway options): "<b>sapgw01</b>" is the correct service name.

Former Member
0 Kudos

I think I have been able to figure out the problem.

The problem lies with the SAP Router certification renewal.

It expired on the 23.01.07. Since then I am facing this problem.

Now I am trying to renew the Router certificate.

I am facing another problem :

When I try to install the SAPRouter Certificate using command:

'sapgenpse import_own_cert -c srcert -p local.pse'

I get,

import_own_cert: Installation of certificate failed

ERROR in ssf_install_CA_response: (1281/0x0501) aux_file2OctetString failed : "N

o such file or directory"

ERROR in ssf_read_certs_from_file: (1281/0x0501) aux_file2OctetString failed : "

No such file or directory"

ERROR in aux_file2OctetString: (1281/0x0501) stat("srcert") returned : "No such

file or directory"

The environment variable SECUDIR has been rightly set.

Any Solutions??

Thanks,

Sumit Gulati

WolfgangJanzen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please have a kind look on <a href="http://service.sap.com/~sapidb/011000358700000866032001E">The documentation on the SAP Service Marketplace</a> which is referenced by <a href="https://service.sap.com/sap/support/notes/482466">SAP Note 482466</a>

Former Member
0 Kudos

Hi Sudesh,

Could you please let me know the routerstring when you open a connection to SAP?

I am not able to open a connection when I start Service Connector.

Appreciate your response,

Thanks,

Shoban

WolfgangJanzen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Well, as you can see from the quoted router string Sumit is connecting to sapserv2 (104.39.131.34) via internet - from his SAProuter running on a machine with IP address 192.168.100.112.

Notice: sapserv2 will only accept requests from known communication peers; all other requests will be blocked by the firewall; therefore you need to register, first. Since sapserv2 only supports SNC-protected connections you need to use SNC on your SAProuter, as well. Kindly refer to <a href="https://service.sap.com/sap/support/notes/35010">SAP Note 35010</a> as a starting point.