Defines RFC API return codes.
Syntax
typedef enum _RFC_RC
{
RFC_OK, /* OK. */
RFC_FAILURE, /* Error occurred */
RFC_COMMUNICATION_FAILURE, /* Error in Network & Communications */
RFC_LOGON_FAILURE, /* SAP logon error */
RFC_SYSTEM_FAILURE, /* e.g. SAP system runtime error */
RFC_CODEPAGE_CONVERSION_FAILURE, /* codepage conversion error */
RFC_CONVERSION_FAILURE, /* An error during conversion has been detected */
RFC_APPLICATION_ERROR, /* The called function module raised a message */
RFC_APPLICATION_EXCEPTION, /* The called function module raised an exception */
RFC_EXCEPTION, /* Exception raised */
RFC_CALL, /* Call received */
RFC_CLOSED, /* Connection closed by the other side */
RFC_RETRY, /* No data yet (RfcListen or RfcWaitForRequest only) */
RFC_NO_TID, /* No Transaction ID available */
RFC_EXECUTED, /* Function already executed */
RFC_SYNCHRONIZE, /* Synchronous Call in Progress (only for Windows) */
RFC_MEMORY_INSUFFICIENT, /* Memory insufficient */
RFC_NOT_FOUND, /* Function not found (internal use only) */
RFC_NOT_SUPPORTED, /* This call is not supported */
RFC_NOT_INITIALIZED, /* RFC not yet initialized */
RFC_INVALID_HANDLE, /* An invalid handle was passed to an API call */
RFC_INVALID_PARAMETER, /* An invalid parameter was passed to an API */
RFC_CANCELED, /* An rfc call has been canceled by user */
RFC_VERSION_MISMATCH, /* Version mismatch */
RFC_INVALID_PROTOCOL, /* Invalid RFC protocaol detected*/
RFC_TIMEOUT /* time out*/
RFC_BUSY = 110 /* @emem System is busy, try later */
}RFC_RC;