cancel
Showing results for 
Search instead for 
Did you mean: 

Intermittent RFC Error Communication (SAP PI & ECC)

former_member434498
Participant
0 Kudos

Hi Team,

Good day!

We have an interface in PI that executes a function module in ECC via RFC connection.

Once in a while (intermittently), the RFC communication fails with this error "RFC_ERROR_COMMUNICATION - Connection closed without message".

Response Catalyst Lookup XML:

<rfc:ZGET_LOOKUP_MULTIVALUES.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<Name>RFC_ERROR_COMMUNICATION</Name>

<Text>connection closed without message (CM_NO_DATA_RECEIVED)</Text>

</rfc:ZGET_LOOKUP_MULTIVALUES.Exception>

Does anyone know what could be causing these intermittent RFC connection failure?

Should this be resolved by increasing the maximum number of connections in the PI RFC channel?

Our statistic shows that 1 for every 1000 messages fail due to this RFC connection failure.

Please advise

Thanks,

Carlo

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Carlo,

The issue could be produced for network issues, the intermittent problem seems be related with this.

Check if this note can be applicable to your system 2274565 - JCo: Long running client RFCs interrupted by network issues.

Also, i recommend you to encapsulate the RFCs in a proxy and to use the proxy communication to connect with a ECC. It's a better solution in all the ways, debbuging, performance and from my point of view stability.

Regards.

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

The RFC is returning this Exception which means this Exception is occurring in the Application Logic in ECC. I would ask you to check with a ABAPer as to why this happens. Would be worth checking ST22 dumps in ECC as well at around the same time as the lookup fails in PI.

Regards

Bhavesh

former_member434498
Participant
0 Kudos

Thanks Bhavesh

We will check on the dumps in ECC hopefully we can find something there.

Note that we are able to restart/reprocess the message in PI after the RFC failure.

bhavesh_kantilal
Active Contributor
0 Kudos

Hello Carlos,

Could be a case of DB locks etc on ECC. Am not too sure if that is exactly the case but would definitely be worth a check as well.

Regards,

Bhavesh

apu_das2
Active Contributor
0 Kudos

Hi Carlo,

Are you using this for RFC look up?

You can try once increasing no of parallel connections.

Thanks,

Apu

former_member434498
Participant
0 Kudos

Hi Apu,

Yes, we are using the function module for RFC look up. PI calls the Function module in ECC to look up values in the ECC table.

We tried to increase the max connection parameter of the PI RFC receiver channel but it did not resolve the issue.

Any more suggestions?

Thanks,

Carlo