cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI Commit with RfcCommunicationException

Former Member
0 Kudos

Hi All,

I'm calling a RFC Function Module and try to commit the update with a BAPI_TRANSACTION_COMMIT RFC call.

Unfortunately I get an RfcCommunicationException

bei SAP.Middleware.Connector.CpicConnection.ThrowCpicErrorMsg(Int32 length, Int32 dataReceived)

bei SAP.Middleware.Connector.CpicConnection.CpicReceive(Int32 timeout)

bei SAP.Middleware.Connector.CpicConnection.Read(Byte* buffer, Int32 offset, Int32 count)

bei SAP.Middleware.Connector.RfcConnection.ReadBytes(Byte* buffer, Int32 count)

bei SAP.Middleware.Connector.RfcConnection.ReadRfcIDBegin(Int32& length)

bei SAP.Middleware.Connector.RfcConnection.ReadUpTo(RFCGET readState, RfcFunction function, RFCID toRid)

bei SAP.Middleware.Connector.RfcConnection.RfcReceive(RfcFunction function)

bei SAP.Middleware.Connector.RfcFunction.RfcDeserialize(RfcConnection conn, IRfcIOStream stream)

bei SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn, IRfcIOStream stream, RFCID rid)

bei SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn)

bei SAP.Middleware.Connector.RfcFunction.Invoke(RfcDestination destination)

Can anyone help me?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Is the connection going well? Have you perform ping to the SAP application server?

The RFCCommunicationException is thrown under these situation:


# Incorrect server or instance specified in the logon string
# Server is not accessible:
   - SAP Service is not started on that server
   - Client is offline
   - Network problems