cancel
Showing results for 
Search instead for 
Did you mean: 

RFC_COMMUNICATION_FAILURE if trying to confirm transaction trfc client

Former Member
0 Kudos

Hi,

I recently updated our c++ trfc client to the SAP Netweaver 7.20 SDK.

But there is a strange issue:

I'm getting RFC_COMMUNICATION_FAILURE if I am trying to confirm my transaction after filling and committing it to my SAP Backend.

Sometimes it works for transactional rfcs if I am closing and reopening the transaction.

The strange behaviour is: If am doing the same in Visual Studio in my debugger, the whole process completes successful.

Any ideas?

Regards,

Ben

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ben,

Got any dump in ST22 for the RFC? Can it be shared?

Thanks,

Henry

Former Member
0 Kudos

Hi Henry,

unfortunately not.

But I have a trc file from my client machine.

I will commit this one.

The corresponding SAP Errormessage is:

RfcLastError (1) :

Result-Text: | RFC_COMMUNICATION_FAILURE|

message  : |

LOCATION    CPIC (TCP/IP) on local host vsl501810 with Unicode

ERROR      no conversation found with id 51384437

TIME        Mon Sep 14 13:09:09 2015

RELEASE    720

COMPONENT  CPIC (TCP/IP) with Unicode

VERSION    3

RC          473

MODULE      r3cpic.c

LINE        9217

COUNTER    14

|

key      : | RFC_COMMUNICATION_FAILURE|

]

Context:

                  rc = 1

                rfc = IDOC_INBOUND_ASYNCHRONOUS

            saperror = RfcLastError (1) : Result-Text: | RFC_COMMUNICATION_FAILURE| message  : |  LOCATION    CPIC (TCP/IP) on local host vsl501810 with Unicode ERROR      no conversation found with id 51384437 TIME        Mon Sep 14 13:09:09 2015 RELEASE    720 COMPONENT  CPIC (TCP/IP) with Unicode VERSION    3 RC          473 MODULE      r3cpic.c LINE        9217 COUNTER    14 | key      : | RFC_COMMUNICATION_FAILURE|

                tid = XOV6/2AAAD94MSP7_5AAAAAB

It seems for me as the connection is lost during the transaction...

Thanks.

Regards,

Ben

--Edit:

Just fixed the Error:

In the data i tried to transmit, the docnum fields in edi_dc40 and edi_dd40 were set in my programm-code.

So SAP is internally cancelling the transaction.

After leaving the fields empty, everything worked fine for me!

Message was edited by: Benjamin Schehrer

Answers (0)