cancel
Showing results for 
Search instead for 
Did you mean: 

Error when opening an RFC connection _SAPPI

former_member217945
Participant
0 Kudos

Dear All,

im using 7.31 version, while excecuting messages in SXMB_MONI iam getting below error.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> Request Message Mapping --> 

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>

<SAP:P1>Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error when opening an RFC connection (CPIC-CALL: &#39;ThSAPOCMINIT&#39; : cmRc=2 thRc=67</SAP:Stack>

<SAP:Retry>A</SAP:Retry>

</SAP:Error>


Can any one suggest me on this issue?







Accepted Solutions (0)

Answers (4)

Answers (4)

iaki_vila
Active Contributor
0 Kudos

Hi Reddy,

Per this note 1923030 - JCO_COMMUNICATION_FAILURE when executing mapping step during XI message processing. can be a bug, what is your PI and SP versions?

Regards.

former_member217945
Participant
0 Kudos

Hi Inaki,

PI 7.31 and SP version 04

Regards,

iaki_vila
Active Contributor
0 Kudos

Hi Reddy,

You system is not affected by the note that i suggested below.

The problem could be with the connection with the gateway. Please, check if the points of the documentation are right in your system: http://help.sap.com/saphelp_nw73/helpdata/en/48/a9b99b7e28674be10000000a421937/frameset.htm

Regards.

former_member217945
Participant
0 Kudos

Yes Inaki, i checked RFC connections and i tested , its not connecting. so i asked basis team to check this issue.

Former Member
0 Kudos

Hi Reddy,

Did you check above option what I have suggested?

Thanks
Sateesh

former_member217945
Participant
0 Kudos

Thanks for the response

there was a problem with password now the issues was resolved.

Not still im unable to process the messages in smq2 its shoiwng as command to tRFC/QRFC : Execute LUW again.

former_member217945
Participant
0 Kudos

Thanks for the response

there was a problem with password now the issues was resolved,now rfc connections are working but still i can see SSYFAIL with JCO communication error when i try to resend the messages

Former Member
0 Kudos

Hi Reddy,

It looks your user has locked again. did you change your pwd?

If then which service user?

Please check as suggested.

Thanks

Sateesh

former_member217945
Participant
0 Kudos

if ill try to resend messages in moni iam getting below error

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--

 Request Message Mapping 

--> 

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>

<SAP:P1>Server repository could not create function template for 'SMPP_CALL_JAVA_RUNTIME</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>&quot;SYSTEM FAILURE&quot; during JCo call. Server repository could not create function template for &#39;SMPP_CALL_JAVA_RUNTIME</SAP:Stack>

<SAP:Retry>A</SAP:Retry>

</SAP:Error>

iaki_vila
Active Contributor
0 Kudos

Hi Reddy,

If the endsystem is up and the IP is reachable from SAP PI (sometimes the network team can change IPs and don't tell, you can to increase the number of maximum connections, inside the RFC communication channel, to let parallel processing.

Regards.

former_member217945
Participant
0 Kudos

Thanks for the response Inaki

I have IDOC to SOAP and SAP to FTP scenarios. all these message are failed in sxmb_moni as JCO_Communication_Failure.

Thanks

iaki_vila
Active Contributor
0 Kudos

Hi Reddy,

Are you sure the RFC endpoint was up when the exception was raised?

Regards.

former_member217945
Participant
0 Kudos

HI Iñaki VilaInaki,

Yes it was working fine.from yesterday unable to process the messges in PI PRD. its getting struck in Queues.

Former Member
0 Kudos

check your RFC destination connections..

Refer the thread

http://scn.sap.com/thread/206487

former_member217945
Participant
0 Kudos

Hi Ganesh,

i checked RFC connections and im getting below error

Connection Test AI_RUNTIME_JCOSERVER
Connection Type TCP/IP Connection

LogonConnection Error
Error DetailsError when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67
Error DetailsERROR: program AI_RUNTIME_PP1 not registered
Error DetailsLOCATION: SAP-Gateway on host XXXX / sapgw00
Error DetailsDETAIL: TP AI_RUNTIME_PP1 not registered
Error DetailsCOMPONENT: SAP-Gateway
Error DetailsCOUNTER: 18609
Error DetailsMODULE: gwr3cpic.c
Error DetailsLINE: 1806
Error DetailsRETURN CODE: 679
Error DetailsSUBRC: 0
Error DetailsRELEASE: 720
Error DetailsTIME: Tue May 05 00:33:51 2015
Error DetailsVERSION: 2
Former Member
0 Kudos

Hi,

please go to PI NWA --> Configuration-->Infrastructure-->JCO RFC Provider

and check these RFC destinations are running status (or) not, if it stopped please re-start.

If you do not have authorization , please ask your basis team.

Thanks

Sateesh