Skip to Content
Former Member
Oct 08, 2004 at 06:45 PM

CNTL_ERROR when calling a SAP function



I've been using for some time .NET SAP Connector to create client and server proxies.

A collegue of mine has created an RFC that is called


After using the wizard to create the C# proxy I call the function and I get this exception:


SAP.Connector.RfcSystemException: Exception condition "CNTL_ERROR" raised.

at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode)

at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn)

at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)

at SAPProxyDll1.SAPProxyDll1.Z_YODA_CREATE_PM_NOTIFICATION(String CODE, String DATE, String EQUNR, String HOUR, String PC, String USER, String& ADITIONAL_PARAM)


My collegue is able to call this function from excel using VBA and no exception is throwned, and the function runs correctly.

Is this .NET Connector fault? Am I doing something wrong?

Thanks in advance for any help given,

Luis Pinho