SAP NetWeaver RFC SDK 7.50
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sapnwrfc.h File Reference

Go to the source code of this file.

Classes

struct  _RFC_ERROR_INFO
 Used in all functions of the NW RFC library to return detailed information about an error that has just occurred. More...
 
struct  _RFC_ATTRIBUTES
 Structure returned by RfcGetConnectionAttributes() giving some information about the partner system on the other side of this RFC connection. More...
 
struct  _RFC_SECURITY_ATTRIBUTES
 Structure passed to the RFC_SERVER_AUTHORIZATION_HANDLER giving some security related information about the calling ABAP partner of an incoming RFC call. More...
 
struct  _RFC_UNIT_ATTRIBUTES
 If the external program is the sender of the bgRFC unit, this structure is used to set a bunch of special attributes that determine, how a bgRFC Unit will be processed in the backend. More...
 
struct  _RFC_UNIT_IDENTIFIER
 For convenience combines a unit's ID and its type. More...
 
struct  _RFC_SERVER_CONTEXT
 Used in RfcGetServerContext() for obtaining more information about the current incoming function call. More...
 
struct  _RFC_CERTIFICATE_DATA
 Compact structure containing relevant information about the x509 certificate provided by the RFC client. More...
 
struct  _RFC_TYPE_DESC_HANDLE
 Handle to a cached metadata description of a structure or table type. More...
 
struct  _RFC_FUNCTION_DESC_HANDLE
 Handle to a cached metadata description of a function module. More...
 
struct  _RFC_CLASS_DESC_HANDLE
 Handle to a cached metadata description of a class. More...
 
struct  RFC_DATA_CONTAINER
 Handle to a general data container (structure, table or function module). More...
 
struct  _RFC_THROUGHPUT_HANDLE
 Handle to a throughput object which can monitor performance relevant data of connections and servers. More...
 
struct  _RFC_AUTHENTICATION_HANDLE
 Handle to an authentication object which gives access to relevant authentication data received from the client. More...
 
struct  _RFC_CONNECTION_HANDLE
 Handle to an RFC connection (client connection or server connection). More...
 
struct  _RFC_SERVER_HANDLE
 Handle to an automated ("multi-count") RFC Server, which can manage multiple parallel listening server sessions. More...
 
struct  _RFC_SERVER_ATTRIBUTES
 Information about an RFC Server returned by RfcGetServerAttributes(). More...
 
struct  _RFC_SESSION_CHANGE
 Notifies an RFC Server that a stateful user session has just been created or destroyed. More...
 
struct  _RFC_STATE_CHANGE
 Notifies the application that an RFC Server changed its state (e.g. More...
 
struct  _RFC_SERVER_MONITOR_DATA
 Allows to retrieve monitoring information about all busy or idle connections of an automated RFC Server via RfcGetServerConnectionMonitorData(). More...
 
struct  _RFC_TRANSACTION_HANDLE
 Handle to a data container for a tRFC/qRFC LUW. More...
 
struct  _RFC_UNIT_HANDLE
 Handle to a data container for a bgRFC LUW. More...
 
struct  _RFC_CONNECTION_PARAMETER
 Structure used for connecting to a backend system via RfcOpenConnection() or RfcRegisterServer(). More...
 
struct  _RFC_FIELD_DESC
 Structure for reading (RfcGetFieldDescByIndex() or RfcGetFieldDescByName()) or defining (RfcAddTypeField()) the properties of a field in a structure/table. More...
 
struct  _RFC_PARAMETER_DESC
 Structure for reading (RfcGetParameterDescByIndex() or RfcGetParameterDescByName()) or defining (RfcAddParameter()) the properties of a parameter in a function module. More...
 
struct  _RFC_EXCEPTION_DESC
 Structure for reading (RfcGetExceptionDescByIndex() or RfcGetExceptionDescByName()) or defining (RfcAddException()) the properties of an exception key in a function module. More...
 
struct  _RFC_CLASS_ATTRIBUTE_DESC
 Structure for reading (RfcGetParameterDescByIndex() or RfcGetParameterDescByName()) or defining (RfcAddParameter()) the properties of a parameter in a function module. More...
 
struct  _RFC_METADATA_QUERY_RESULT_ENTRY
 Structure containing the error that occurred during the metadata query. More...
 

Macros

#define SAP_API
 
#define RFC_TID_LN   24
 
#define RFC_UNITID_LN   32
 

Typedefs

typedef SAP_UC RFC_CHAR
 Characters, RFCTYPE_CHAR. More...
 
typedef RFC_CHAR RFC_NUM
 Digits, RFCTYPE_NUM /*SAPUNICODEOK_CHARTYPE*/. More...
 
typedef SAP_RAW RFC_BYTE
 Raw data, RFCTYPE_BYTE. More...
 
typedef SAP_RAW RFC_BCD
 Packed numbers, RFCTYPE_BCD /*SAPUNICODEOK_CHARTYPE*/. More...
 
typedef SAP_RAW RFC_INT1
 1 byte integer, RFCTYPE_INT1 More...
 
typedef short RFC_INT2
 2 byte integer, RFCTYPE_INT2 More...
 
typedef int RFC_INT
 4 byte integer, RFCTYPE_INT More...
 
typedef double RFC_FLOAT
 Floating point, double precision, RFCTYPE_FLOAT. More...
 
typedef RFC_CHAR RFC_DATE [8]
 Date, RFCTYPE_DATE (YYYYMMDD) More...
 
typedef RFC_CHAR RFC_TIME [6]
 Time, RFCTYPE_TIME (HHMMSS) More...
 
typedef DecFloat16 RFC_DECF16
 IEEE 754r decimal floating point, 8 bytes. More...
 
typedef DecFloat34 RFC_DECF34
 IEEE 754r decimal floating point, 16 bytes. More...
 
typedef RFC_INT8 RFC_UTCLONG
 timestamp/long More...
 
typedef RFC_INT8 RFC_UTCSECOND
 timestamp/second More...
 
typedef RFC_INT8 RFC_UTCMINUTE
 timestamp/minute More...
 
typedef int RFC_DTDAY
 date/day More...
 
typedef int RFC_DTWEEK
 date/week More...
 
typedef int RFC_DTMONTH
 date/month More...
 
typedef int RFC_TSECOND
 time/second More...
 
typedef short RFC_TMINUTE
 time/minute More...
 
typedef short RFC_CDAY
 Calandendar day: Day and month. More...
 
typedef SAP_UC RFC_TID [RFC_TID_LN+1]
 Used for TIDs in inbound and outbound tRFC/qRFC. More...
 
typedef SAP_UC RFC_UNITID [RFC_UNITID_LN+1]
 Used for Unit IDs in inbound and outbound bgRFC. More...
 
typedef enum _RFCTYPE RFCTYPE
 
typedef enum _RFC_RC RFC_RC
 
typedef enum _RFC_ERROR_GROUP RFC_ERROR_GROUP
 
typedef struct _RFC_ERROR_INFO RFC_ERROR_INFO
 
typedef struct _RFC_ATTRIBUTES RFC_ATTRIBUTES
 
typedef struct _RFC_ATTRIBUTESP_RFC_ATTRIBUTES
 
typedef struct
_RFC_SECURITY_ATTRIBUTES 
RFC_SECURITY_ATTRIBUTES
 
typedef struct
_RFC_SECURITY_ATTRIBUTES
P_RFC_SECURITY_ATTRIBUTES
 
typedef struct _RFC_UNIT_ATTRIBUTES RFC_UNIT_ATTRIBUTES
 
typedef struct _RFC_UNIT_IDENTIFIER RFC_UNIT_IDENTIFIER
 
typedef enum _RFC_UNIT_STATE RFC_UNIT_STATE
 
typedef RFC_CHAR RFC_ABAP_NAME [30+1]
 Name of ABAP function, function parameter or field in a structure. (null-terminated) More...
 
typedef RFC_CHAR RFC_PARAMETER_DEFVALUE [30+1]
 Default value of a function module parameter. (null-terminated) More...
 
typedef RFC_CHAR RFC_PARAMETER_TEXT [79+1]
 Parameter description for a function module parameter. (null-terminated) More...
 
typedef enum _RFC_CALL_TYPE RFC_CALL_TYPE
 
typedef struct _RFC_SERVER_CONTEXT RFC_SERVER_CONTEXT
 
typedef enum
_RFC_AUTHENTICATION_TYPE 
RFC_AUTHENTICATION_TYPE
 
typedef struct
_RFC_CERTIFICATE_DATA 
RFC_CERTIFICATE_DATA
 
typedef struct
_RFC_TYPE_DESC_HANDLE
RFC_TYPE_DESC_HANDLE
 
typedef struct
_RFC_FUNCTION_DESC_HANDLE
RFC_FUNCTION_DESC_HANDLE
 
typedef struct
_RFC_CLASS_DESC_HANDLE
RFC_CLASS_DESC_HANDLE
 
typedef struct RFC_DATA_CONTAINERDATA_CONTAINER_HANDLE
 
typedef DATA_CONTAINER_HANDLE RFC_STRUCTURE_HANDLE
 
typedef DATA_CONTAINER_HANDLE RFC_FUNCTION_HANDLE
 
typedef DATA_CONTAINER_HANDLE RFC_TABLE_HANDLE
 
typedef DATA_CONTAINER_HANDLE RFC_ABAP_OBJECT_HANDLE
 
typedef struct
_RFC_THROUGHPUT_HANDLE
RFC_THROUGHPUT_HANDLE
 
typedef struct
_RFC_AUTHENTICATION_HANDLE
RFC_AUTHENTICATION_HANDLE
 
typedef struct
_RFC_CONNECTION_HANDLE
RFC_CONNECTION_HANDLE
 
typedef struct _RFC_SERVER_HANDLERFC_SERVER_HANDLE
 
typedef enum _RFC_PROTOCOL_TYPE RFC_PROTOCOL_TYPE
 
typedef enum _RFC_SERVER_STATE RFC_SERVER_STATE
 
typedef struct
_RFC_SERVER_ATTRIBUTES 
RFC_SERVER_ATTRIBUTES
 
typedef enum _RFC_SESSION_EVENT RFC_SESSION_EVENT
 
typedef struct _RFC_SESSION_CHANGE RFC_SESSION_CHANGE
 
typedef RFC_RC(SAP_APIRFC_SERVER_SESSION_CHANGE_LISTENER )(RFC_SERVER_HANDLE serverHandle, RFC_SESSION_CHANGE *sessionChange)
 
typedef void(SAP_APIRFC_SERVER_ERROR_LISTENER )(RFC_SERVER_HANDLE serverHandle, RFC_ATTRIBUTES *clientInfo, RFC_ERROR_INFO *errorInfo)
 
typedef struct _RFC_STATE_CHANGE RFC_STATE_CHANGE
 
typedef void(SAP_APIRFC_SERVER_STATE_CHANGE_LISTENER )(RFC_SERVER_HANDLE serverHandle, RFC_STATE_CHANGE *stateChange)
 
typedef struct
_RFC_SERVER_MONITOR_DATA 
RFC_SERVER_MONITOR_DATA
 
typedef struct
_RFC_TRANSACTION_HANDLE
RFC_TRANSACTION_HANDLE
 
typedef struct _RFC_UNIT_HANDLERFC_UNIT_HANDLE
 
typedef struct
_RFC_CONNECTION_PARAMETER 
RFC_CONNECTION_PARAMETER
 
typedef struct
_RFC_CONNECTION_PARAMETER
P_RFC_CONNECTION_PARAMETER
 
typedef struct _RFC_FIELD_DESC RFC_FIELD_DESC
 
typedef struct _RFC_FIELD_DESCP_RFC_FIELD_DESC
 
typedef enum _RFC_DIRECTION RFC_DIRECTION
 
typedef struct _RFC_PARAMETER_DESC RFC_PARAMETER_DESC
 
typedef struct
_RFC_PARAMETER_DESC
P_RFC_PARAMETER_DESC
 
typedef struct _RFC_EXCEPTION_DESC RFC_EXCEPTION_DESC
 
typedef struct
_RFC_EXCEPTION_DESC
P__RFC_EXCEPTION_DESC
 
typedef enum
_RFC_CLASS_ATTRIBUTE_TYPE 
RFC_CLASS_ATTRIBUTE_TYPE
 
typedef RFC_CHAR RFC_CLASS_ATTRIBUTE_DEFVALUE [30+1]
 Default value of a function module parameter. (null-terminated) More...
 
typedef RFC_CHAR RFC_CLASS_NAME [30+1]
 Default value of a function module parameter. (null-terminated) More...
 
typedef RFC_CHAR RFC_CLASS_ATTRIBUTE_DESCRIPTION [511+1]
 Default value of a function module parameter. (null-terminated) More...
 
typedef struct
_RFC_CLASS_ATTRIBUTE_DESC 
RFC_CLASS_ATTRIBUTE_DESC
 
typedef struct
_RFC_CLASS_ATTRIBUTE_DESC
P_RFC_CLASS_ATTRIBUTE_DESC
 
typedef RFC_RC(SAP_APIRFC_SERVER_FUNCTION )(RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 
typedef RFC_RC(SAP_APIRFC_ON_CHECK_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
 
typedef RFC_RC(SAP_APIRFC_ON_COMMIT_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
 
typedef RFC_RC(SAP_APIRFC_ON_ROLLBACK_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
 
typedef RFC_RC(SAP_APIRFC_ON_CONFIRM_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
 
typedef RFC_RC(SAP_APIRFC_FUNC_DESC_CALLBACK )(SAP_UC const *functionName, RFC_ATTRIBUTES rfcAttributes, RFC_FUNCTION_DESC_HANDLE *funcDescHandle)
 
typedef RFC_RC(SAP_APIRFC_PM_CALLBACK )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *functionName, SAP_RAW *eppBuffer, size_t eppBufferSize, size_t *eppLength)
 
typedef RFC_RC(SAP_APIRFC_ON_CHECK_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
 
typedef RFC_RC(SAP_APIRFC_ON_COMMIT_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
 
typedef RFC_RC(SAP_APIRFC_ON_ROLLBACK_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
 
typedef RFC_RC(SAP_APIRFC_ON_CONFIRM_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
 
typedef RFC_RC(SAP_APIRFC_ON_GET_UNIT_STATE )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier, RFC_UNIT_STATE *unitState)
 
typedef RFC_RC(SAP_APIRFC_ON_PASSWORD_CHANGE )(SAP_UC const *sysId, SAP_UC const *user, SAP_UC const *client, SAP_UC *password, unsigned passwordLength, SAP_UC *newPassword, unsigned newPasswordLength, RFC_ERROR_INFO *cause)
 
typedef RFC_RC(SAP_APIRFC_ON_AUTHORIZATION_CHECK )(RFC_CONNECTION_HANDLE rfcHandle, RFC_SECURITY_ATTRIBUTES *secAttributes, RFC_ERROR_INFO *errorInfo)
 
typedef RFC_RC(SAP_APIRFC_ON_AUTHENTICATION_CHECK )(RFC_ATTRIBUTES rfcAttributes, RFC_AUTHENTICATION_HANDLE authenticationHandle, RFC_ERROR_INFO *errorInfo)
 
typedef void * RFC_METADATA_QUERY_RESULT_HANDLE
 Handle to a metadata query result. More...
 
typedef struct
_RFC_METADATA_QUERY_RESULT_ENTRY 
RFC_METADATA_QUERY_RESULT_ENTRY
 
typedef enum _RFC_METADATA_OBJ_TYPE RFC_METADATA_OBJ_TYPE
 

Enumerations

enum  _RFCTYPE {
  RFCTYPE_CHAR = 0, RFCTYPE_DATE = 1, RFCTYPE_BCD = 2, RFCTYPE_TIME = 3,
  RFCTYPE_BYTE = 4, RFCTYPE_TABLE = 5, RFCTYPE_NUM = 6, RFCTYPE_FLOAT = 7,
  RFCTYPE_INT = 8, RFCTYPE_INT2 = 9, RFCTYPE_INT1 = 10, RFCTYPE_NULL = 14,
  RFCTYPE_ABAPOBJECT = 16, RFCTYPE_STRUCTURE = 17, RFCTYPE_DECF16 = 23, RFCTYPE_DECF34 = 24,
  RFCTYPE_XMLDATA = 28, RFCTYPE_STRING = 29, RFCTYPE_XSTRING = 30, RFCTYPE_INT8,
  RFCTYPE_UTCLONG, RFCTYPE_UTCSECOND, RFCTYPE_UTCMINUTE, RFCTYPE_DTDAY,
  RFCTYPE_DTWEEK, RFCTYPE_DTMONTH, RFCTYPE_TSECOND, RFCTYPE_TMINUTE,
  RFCTYPE_CDAY, RFCTYPE_BOX, RFCTYPE_GENERIC_BOX, _RFCTYPE_max_value
}
 RFCTYPE is used in field descriptions (RFC_FIELD_DESC) and parameter descriptions (RFC_PARAMETER_DESC) and denotes the ABAP data type of the corresponding field/parameter. More...
 
enum  _RFC_RC {
  RFC_OK, RFC_COMMUNICATION_FAILURE, RFC_LOGON_FAILURE, RFC_ABAP_RUNTIME_FAILURE,
  RFC_ABAP_MESSAGE, RFC_ABAP_EXCEPTION, RFC_CLOSED, RFC_CANCELED,
  RFC_TIMEOUT, RFC_MEMORY_INSUFFICIENT, RFC_VERSION_MISMATCH, RFC_INVALID_PROTOCOL,
  RFC_SERIALIZATION_FAILURE, RFC_INVALID_HANDLE, RFC_RETRY, RFC_EXTERNAL_FAILURE,
  RFC_EXECUTED, RFC_NOT_FOUND, RFC_NOT_SUPPORTED, RFC_ILLEGAL_STATE,
  RFC_INVALID_PARAMETER, RFC_CODEPAGE_CONVERSION_FAILURE, RFC_CONVERSION_FAILURE, RFC_BUFFER_TOO_SMALL,
  RFC_TABLE_MOVE_BOF, RFC_TABLE_MOVE_EOF, RFC_START_SAPGUI_FAILURE, RFC_ABAP_CLASS_EXCEPTION,
  RFC_UNKNOWN_ERROR, RFC_AUTHORIZATION_FAILURE, RFC_AUTHENTICATION_FAILURE, RFC_CRYPTOLIB_FAILURE,
  RFC_IO_FAILURE, RFC_LOCKING_FAILURE, _RFC_RC_max_value
}
 RFC return codes used by all functions that do not directly return a handle. More...
 
enum  _RFC_ERROR_GROUP {
  OK, ABAP_APPLICATION_FAILURE, ABAP_RUNTIME_FAILURE, LOGON_FAILURE,
  COMMUNICATION_FAILURE, EXTERNAL_RUNTIME_FAILURE, EXTERNAL_APPLICATION_FAILURE, EXTERNAL_AUTHORIZATION_FAILURE,
  EXTERNAL_AUTHENTICATION_FAILURE, CRYPTOLIB_FAILURE, LOCKING_FAILURE
}
 Groups several error conditions together, depending on the "layer" to which they belong. More...
 
enum  _RFC_UNIT_STATE {
  RFC_UNIT_NOT_FOUND, RFC_UNIT_IN_PROCESS, RFC_UNIT_COMMITTED, RFC_UNIT_ROLLED_BACK,
  RFC_UNIT_CONFIRMED
}
 Used in RfcGetUnitState() for inquiring the processing status of a background Unit that we (or someone else) sent into this backend. More...
 
enum  _RFC_CALL_TYPE { RFC_SYNCHRONOUS, RFC_TRANSACTIONAL, RFC_QUEUED, RFC_BACKGROUND_UNIT }
 Used in RfcGetServerContext() for inquiring the type of an incoming function call from the backend. More...
 
enum  _RFC_AUTHENTICATION_TYPE { RFC_AUTH_NONE, RFC_AUTH_BASIC, RFC_AUTH_X509, RFC_AUTH_SSO }
 Type of authentication method used by the backend authentication handler (RFC_ON_AUTHENTICATION_CHECK). More...
 
enum  _RFC_PROTOCOL_TYPE {
  RFC_UNKOWN, RFC_CLIENT, RFC_STARTED_SERVER, RFC_REGISTERED_SERVER,
  RFC_MULTI_COUNT_REGISTERED_SERVER, RFC_TCP_SOCKET_CLIENT, RFC_TCP_SOCKET_SERVER, RFC_WEBSOCKET_CLIENT,
  RFC_WEBSOCKET_SERVER, RFC_PROXY_WEBSOCKET_CLIENT
}
 Used in state information in order to indicate the different types of RFC programs, RFC Server types, etc. More...
 
enum  _RFC_SERVER_STATE {
  RFC_SERVER_INITIAL, RFC_SERVER_STARTING, RFC_SERVER_RUNNING, RFC_SERVER_BROKEN,
  RFC_SERVER_STOPPING, RFC_SERVER_STOPPED
}
 Used in state information in order to indicate the current state of an RFC Server. More...
 
enum  _RFC_SESSION_EVENT { RFC_SESSION_CREATED, RFC_SESSION_ACTIVATED, RFC_SESSION_PASSIVATED, RFC_SESSION_DESTROYED }
 Used in a server session change listener to notify the application whenever a new user session on the server gets started or ends. More...
 
enum  _RFC_DIRECTION { RFC_IMPORT = 0x01, RFC_EXPORT = 0x02, RFC_CHANGING = RFC_IMPORT | RFC_EXPORT, RFC_TABLES = 0x04 | RFC_CHANGING }
 Used in RFC_PARAMETER_DESC::direction for specifying the direction of a function module parameter. More...
 
enum  _RFC_CLASS_ATTRIBUTE_TYPE { RFC_CLASS_ATTRIBUTE_INSTANCE, RFC_CLASS_ATTRIBUTE_CLASS, RFC_CLASS_ATTRIBUTE_CONSTANT }
 Determines the type of an ABAP Object attribute. More...
 
enum  _RFC_METADATA_OBJ_TYPE { RFC_METADATA_FUNCTION, RFC_METADATA_TYPE, RFC_METADATA_CLASS }
 An RFC_METADATA_OBJ_TYPE indicates whether in a call to RfcGetMetadataQueryFailedEntry() or RfcGetMetadataQuerySucceededEntry() you are interested in the error/success message for a function module (_FUNCTION), structure/table (_TYPE) or ABAP Class (_CLASS). More...
 

Functions

DECL_EXP RFC_RC SAP_API RfcInit (void)
 Initialization of internal variablesObsolete. More...
 
DECL_EXP RFC_RC SAP_API RfcCleanup (void)
 Freeing of internal variablesObsolete. More...
 
DECL_EXP const SAP_UC *SAP_API RfcGetVersion (unsigned *majorVersion, unsigned *minorVersion, unsigned *patchLevel)
 Get information about currently loaded sapnwrfc library. More...
 
DECL_EXP RFC_RC SAP_API RfcGetVersionInternal (void)
 This function is intended to be used by SAP Make-factory only. More...
 
DECL_EXP RFC_RC SAP_API RfcSetIniPath (const SAP_UC *pathName, RFC_ERROR_INFO *errorInfo)
 Sets the directory in which to search for the sapnwrfc.ini file. More...
 
DECL_EXP RFC_RC SAP_API RfcReloadIniFile (RFC_ERROR_INFO *errorInfo)
 Reloads the contents of the sapnwrfc.ini file into memory. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTraceLevel (RFC_CONNECTION_HANDLE connection, SAP_UC *destination, unsigned traceLevel, RFC_ERROR_INFO *errorInfo)
 Sets the current trace level of the specified RFC connection or destination to the new value. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTraceEncoding (SAP_UC *traceEncoding, RFC_ERROR_INFO *errorInfo)
 Changes the character encoding to be used in trace files. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTraceDir (SAP_UC *traceDir, RFC_ERROR_INFO *errorInfo)
 Changes the directory where the NW RFC lib should write trace files. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTraceType (SAP_UC *traceType, RFC_ERROR_INFO *errorInfo)
 Changes the way the NW RFC lib writes trace files. More...
 
DECL_EXP RFC_RC SAP_API RfcSetCpicTraceLevel (unsigned traceLevel, RFC_ERROR_INFO *errorInfo)
 Sets the global CPIC trace level used by the underlying CPIC libabry to write CPIC tracing information to the CPIC trace file cpic_<pid>.trc, where pid is the process ID of the current process. More...
 
DECL_EXP RFC_RC SAP_API RfcSetCpicKeepalive (unsigned timeout, RFC_ERROR_INFO *errorInfo)
 Activates the CPIC keepalive. More...
 
DECL_EXP RFC_RC SAP_API RfcSetSocketTraceLevel (unsigned traceLevel, RFC_ERROR_INFO *errorInfo)
 Sets the global Websocket trace level used by the underlying NI libabry to write tracing information to the trace file ws_rfc_<pid>.trc, where pid is the process ID of the current process. More...
 
DECL_EXP RFC_RC SAP_API RfcLoadCryptoLibrary (const SAP_UC *const pathToLibrary, RFC_ERROR_INFO *errorInfo)
 Sets the absolute path to the sapcrypto library to enable TLS encryption via Websocket Rfc. More...
 
DECL_EXP RFC_RC SAP_API RfcSetWebsocketPingInterval (unsigned pingInterval, RFC_ERROR_INFO *errorInfo)
 Sets the global idle time interval of a Websocket server connection in seconds after which a keep alive Websocket ping packet is sent. More...
 
DECL_EXP RFC_RC SAP_API RfcSetWebsocketPongTimeout (unsigned pongTimeout, RFC_ERROR_INFO *errorInfo)
 Sets the global timeout for a WebSocket keep alive ping reply packet in seconds. More...
 
DECL_EXP RFC_RC SAP_API RfcSetMaximumTraceFileSize (unsigned size, SAP_UC unit, RFC_ERROR_INFO *errorInfo)
 Sets the maximum size of the trace file, after which the current file is closed and "rolled over" to a new file. More...
 
DECL_EXP RFC_RC SAP_API RfcSetMaximumStoredTraceFiles (int numberOfFiles, RFC_ERROR_INFO *errorInfo)
 Sets the maximum size of stored old trace files, after which the current file is closed and "rolled over" to a new file. More...
 
DECL_EXP RFC_RC SAP_API RfcUTF8ToSAPUC (const RFC_BYTE *utf8, unsigned utf8Length, SAP_UC *sapuc, unsigned *sapucSize, unsigned *resultLength, RFC_ERROR_INFO *errorInfo)
 Converts data in UTF-8 format to SAP_UC strings. More...
 
DECL_EXP RFC_RC SAP_API RfcSAPUCToUTF8 (const SAP_UC *sapuc, unsigned sapucLength, RFC_BYTE *utf8, unsigned *utf8Size, unsigned *resultLength, RFC_ERROR_INFO *errorInfo)
 Converts data in SAP_UC format to UTF-8 format. More...
 
DECL_EXP const SAP_UC *SAP_API RfcGetRcAsString (RFC_RC rc)
 Converts an RFC_RC return code to a human readable string for logging purposes. More...
 
DECL_EXP const SAP_UC *SAP_API RfcGetTypeAsString (RFCTYPE type)
 Converts an RFCTYPE data type indicator to a human readable string for logging purposes. More...
 
DECL_EXP const SAP_UC *SAP_API RfcGetDirectionAsString (RFC_DIRECTION direction)
 Converts an RFC_DIRECTION direction indicator to a human readable string for logging purposes. More...
 
DECL_EXP const SAP_UC *SAP_API RfcGetServerStateAsString (RFC_SERVER_STATE serverState)
 Converts an RFC_SERVER_STATE state indicator to a human readable string for logging purposes. More...
 
DECL_EXP const SAP_UC *SAP_API RfcGetSessionEventAsString (RFC_SESSION_EVENT sessionEvent)
 Converts an RFC_SESSION_EVENT to a human readable string for logging purposes. More...
 
DECL_EXP RFC_RC SAP_API RfcLanguageIsoToSap (const SAP_UC *laiso, SAP_UC *lang, RFC_ERROR_INFO *errorInfo)
 Converts a 2-char SAP language code to the 1-char SAP language code. More...
 
DECL_EXP RFC_RC SAP_API RfcLanguageSapToIso (const SAP_UC *lang, SAP_UC *laiso, RFC_ERROR_INFO *errorInfo)
 Converts a 1-char SAP language key to the 2-char SAP language code. More...
 
DECL_EXP RFC_RC SAP_API RfcGetSaplogonEntries (SAP_UC ***saplogonIDList, unsigned *numSaplogonIDs, RFC_ERROR_INFO *errorInfo)
 Returns a list of names of all SAP Systems maintained in SAPLogon (saplogon.ini or SAPUILandscape.xml). More...
 
DECL_EXP RFC_RC SAP_API RfcFreeSaplogonEntries (SAP_UC ***saplogonIDList, unsigned *numSaplogonIDs, RFC_ERROR_INFO *errorInfo)
 Frees a list of SAPLogon IDs obtained from RfcGetSaplogonEntries(). More...
 
DECL_EXP RFC_RC SAP_API RfcGetSaplogonEntry (SAP_UC *saplogonID, RFC_CONNECTION_PARAMETER **entryParameters, unsigned *numParameters, RFC_ERROR_INFO *errorInfo)
 Retrieves all connection parameters corresponding to the given ID from the saplogon.ini or SAPUILandscape.xml file. More...
 
DECL_EXP RFC_RC SAP_API RfcFreeSaplogonEntry (RFC_CONNECTION_PARAMETER **entryParameters, unsigned *numParameters, RFC_ERROR_INFO *errorInfo)
 Frees an array of connection parameters obtained from RfcGetSaplogonEntry(). More...
 
DECL_EXP RFC_CONNECTION_HANDLE
SAP_API 
RfcOpenConnection (RFC_CONNECTION_PARAMETER const *connectionParams, unsigned paramCount, RFC_ERROR_INFO *errorInfo)
 Opens an RFC client connection for invoking ABAP function modules in an R/3 backend. More...
 
DECL_EXP RFC_CONNECTION_HANDLE
SAP_API 
RfcRegisterServer (RFC_CONNECTION_PARAMETER const *connectionParams, unsigned paramCount, RFC_ERROR_INFO *errorInfo)
 Registers a server connection at an SAP gateway. More...
 
DECL_EXP RFC_CONNECTION_HANDLE
SAP_API 
RfcStartServer (int argc, SAP_UC **argv, RFC_CONNECTION_PARAMETER const *connectionParams, unsigned paramCount, RFC_ERROR_INFO *errorInfo)
 Allows a program to be used as an RFC server which is started by the backend on demand. More...
 
DECL_EXP RFC_RC SAP_API RfcCloseConnection (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 Closes an RFC connectionCan be used to close client connections as well as server connections, when they are no longer needed. More...
 
DECL_EXP RFC_RC SAP_API RfcIsConnectionHandleValid (RFC_CONNECTION_HANDLE rfcHandle, int *isValid, RFC_ERROR_INFO *errorInfo)
 Checks an RFC connectionCan be used to check whether a client/server connection has already been closed, or whether the NW RFC library still "considers" the connection to be open. More...
 
DECL_EXP RFC_RC SAP_API RfcCancel (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 Cancels the RFC call which is currently being called over the given RFC connection and closes the connectionCan be used only on an RFC client connection and needs to be called from a different thread than the one currently executing the RFC call. More...
 
DECL_EXP RFC_RC SAP_API RfcResetServerContext (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 RFC_RC SAP_API RfcResetServerContextResets the SAP server context ("user context / ABAP session context") associated with the given client connection, but does not close the connection. More...
 
DECL_EXP RFC_RC SAP_API RfcPing (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 Ping the remote communication partner through the passed connection handle. More...
 
DECL_EXP RFC_RC SAP_API RfcGetConnectionAttributes (RFC_CONNECTION_HANDLE rfcHandle, RFC_ATTRIBUTES *attr, RFC_ERROR_INFO *errorInfo)
 Returns details about the current client or server connection. More...
 
DECL_EXP RFC_RC SAP_API RfcGetServerContext (RFC_CONNECTION_HANDLE rfcHandle, RFC_SERVER_CONTEXT *context, RFC_ERROR_INFO *errorInfo)
 Inside a server function, returns details about the current execution context. More...
 
DECL_EXP RFC_RC SAP_API RfcGetSapRouter (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC *sapRouter, unsigned *length, RFC_ERROR_INFO *errorInfo)
 Gets the SAPRouter, if any. More...
 
DECL_EXP RFC_RC SAP_API RfcGetPartnerExternalIP (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC *partnerExternalIP, unsigned *length, RFC_ERROR_INFO *errorInfo)
 Gets the external IP address of the communication partner. More...
 
DECL_EXP RFC_RC SAP_API RfcGetLocalAddress (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC *localAddress, unsigned *length, unsigned *localPort, RFC_ERROR_INFO *errorInfo)
 Gets the IP address of the local network interface used by this connection. More...
 
DECL_EXP RFC_RC SAP_API RfcGetPartnerSSOTicket (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC *ssoTicket, unsigned *length, RFC_ERROR_INFO *errorInfo)
 Gets the partner's SSO2 ticket, if any. More...
 
DECL_EXP RFC_RC SAP_API RfcGetPartnerSNCName (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC *sncName, unsigned length, RFC_ERROR_INFO *errorInfo)
 Gets the partner's SNC name, if any. More...
 
DECL_EXP RFC_RC SAP_API RfcGetPartnerSNCKey (RFC_CONNECTION_HANDLE rfcHandle, SAP_RAW *sncKey, unsigned *length, RFC_ERROR_INFO *errorInfo)
 Gets partner's SNC key, if any. More...
 
DECL_EXP RFC_RC SAP_API RfcSNCNameToKey (SAP_UC const *sncLib, SAP_UC const *sncName, SAP_RAW *sncKey, unsigned *keyLength, RFC_ERROR_INFO *errorInfo)
 Converts SNC name to SNC key. More...
 
DECL_EXP RFC_RC SAP_API RfcSNCKeyToName (SAP_UC const *sncLib, SAP_RAW const *sncKey, unsigned keyLength, SAP_UC *sncName, unsigned nameLength, RFC_ERROR_INFO *errorInfo)
 Converts SNC key to SNC name. More...
 
DECL_EXP RFC_RC SAP_API RfcListenAndDispatch (RFC_CONNECTION_HANDLE rfcHandle, int timeout, RFC_ERROR_INFO *errorInfo)
 Listens on a server connection handle and waits for incoming RFC calls from the R/3 system. More...
 
DECL_EXP RFC_RC SAP_API RfcInvoke (RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 Executes a function module in the backend system. More...
 
DECL_EXP RFC_SERVER_HANDLE SAP_API RfcCreateServer (RFC_CONNECTION_PARAMETER const *connectionParams, unsigned paramCount, RFC_ERROR_INFO *errorInfo)
 This function can be used to start "automatic" servers. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyServer (RFC_SERVER_HANDLE serverHandle, RFC_ERROR_INFO *errorInfo)
 Cleans up and destroys an automatic server object, once you are done with it. More...
 
DECL_EXP RFC_RC SAP_API RfcLaunchServer (RFC_SERVER_HANDLE serverHandle, RFC_ERROR_INFO *errorInfo)
 Starts up an automatic server, so that it starts waiting for incoming requests and processes them. More...
 
DECL_EXP RFC_RC SAP_API RfcShutdownServer (RFC_SERVER_HANDLE serverHandle, unsigned timeout, RFC_ERROR_INFO *errorInfo)
 Stops an automatic server, so that it no longer accepts incoming requests. More...
 
DECL_EXP RFC_RC SAP_API RfcGetServerAttributes (RFC_SERVER_HANDLE serverHandle, RFC_SERVER_ATTRIBUTES *serverAttributes, RFC_ERROR_INFO *errorInfo)
 Retrieves detailed information about a multi-count Registered Server or a TCP Socket Server. More...
 
DECL_EXP RFC_RC SAP_API RfcGetServerConnectionMonitorData (RFC_SERVER_HANDLE serverHandle, unsigned *numberOfConnections, RFC_SERVER_MONITOR_DATA **connectionData, RFC_ERROR_INFO *errorInfo)
 Retrieves detailed information about all clients currently connected to a multi-count Registered Server or a TCP Socket Server. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyServerConnectionMonitorData (unsigned numberOfConnections, RFC_SERVER_MONITOR_DATA *connectionData, RFC_ERROR_INFO *errorInfo)
 Releases all internal memory hold by monitor data object. More...
 
DECL_EXP RFC_RC SAP_API RfcAddServerErrorListener (RFC_SERVER_HANDLE serverHandle, RFC_SERVER_ERROR_LISTENER errorListener, RFC_ERROR_INFO *errorInfo)
 Adds an error listener to this server. More...
 
DECL_EXP RFC_RC SAP_API RfcAddServerStateChangedListener (RFC_SERVER_HANDLE serverHandle, RFC_SERVER_STATE_CHANGE_LISTENER stateChangeListener, RFC_ERROR_INFO *errorInfo)
 Adds a state change listener to this server. More...
 
DECL_EXP RFC_RC SAP_API RfcAddServerSessionChangedListener (RFC_SERVER_HANDLE serverHandle, RFC_SERVER_SESSION_CHANGE_LISTENER sessionChangeListener, RFC_ERROR_INFO *errorInfo)
 Adds a session change listener to this server. More...
 
DECL_EXP RFC_RC SAP_API RfcSetServerStateful (RFC_CONNECTION_HANDLE connectionHandle, unsigned isStateful, RFC_ERROR_INFO *errorInfo)
 Sets this client's operation mode to statefull or stateless. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallAuthenticationCheckHandler (RFC_ON_AUTHENTICATION_CHECK onAuthenticationCheck, RFC_ERROR_INFO *errorInfo)
 Installs an optional function for performing authentication checks on incoming login attempts. More...
 
DECL_EXP RFC_RC SAP_API RfcGetAuthenticationType (RFC_AUTHENTICATION_HANDLE authenticationHandle, RFC_AUTHENTICATION_TYPE *type, RFC_ERROR_INFO *errorInfo)
 Gets the type of authentication data received from the backend in RFC_ON_AUTHENTICATION_CHECK. More...
 
DECL_EXP RFC_RC SAP_API RfcGetAuthenticationUser (RFC_AUTHENTICATION_HANDLE authenticationHandle, const SAP_UC **user, unsigned *length, RFC_ERROR_INFO *errorInfo)
 Gets the user to authenticate in RFC_ON_AUTHENTICATION_CHECK if any is received. More...
 
DECL_EXP RFC_RC SAP_API RfcGetAuthenticationPassword (RFC_AUTHENTICATION_HANDLE authenticationHandle, const SAP_UC **password, unsigned *length, RFC_ERROR_INFO *errorInfo)
 Gets the password for authentication in RFC_ON_AUTHENTICATION_CHECK if basic authentication method was setup in the backend. More...
 
DECL_EXP RFC_RC SAP_API RfcGetAuthenticationAssertionTicket (RFC_AUTHENTICATION_HANDLE authenticationHandle, const SAP_UC **assertionTicket, unsigned *length, RFC_ERROR_INFO *errorInfo)
 Gets the assertionTicket for authentication in RFC_ON_AUTHENTICATION_CHECK if SSO based authentication method was setup in the backend. More...
 
DECL_EXP RFC_RC SAP_API RfcGetAuthenticationCertificateData (RFC_AUTHENTICATION_HANDLE authenticationHandle, const RFC_CERTIFICATE_DATA **certificateData, RFC_ERROR_INFO *errorInfo)
 Gets the certificate chain for authentication in RFC_ON_AUTHENTICATION_CHECK if x509 authentication method was setup in the backend. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTransactionID (RFC_CONNECTION_HANDLE rfcHandle, RFC_TID tid, RFC_ERROR_INFO *errorInfo)
 Retrieves a unique 24-digit transaction ID from the backend. More...
 
DECL_EXP
RFC_TRANSACTION_HANDLE SAP_API 
RfcCreateTransaction (RFC_CONNECTION_HANDLE rfcHandle, RFC_TID tid, SAP_UC const *queueName, RFC_ERROR_INFO *errorInfo)
 Creates a container for executing a (multi-step) transactional call. More...
 
DECL_EXP RFC_RC SAP_API RfcInvokeInTransaction (RFC_TRANSACTION_HANDLE tHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 Adds a function module call to a transaction. More...
 
DECL_EXP RFC_RC SAP_API RfcSubmitTransaction (RFC_TRANSACTION_HANDLE tHandle, RFC_ERROR_INFO *errorInfo)
 Executes the entire LUW in the backend system as an "atomic unit". More...
 
DECL_EXP RFC_RC SAP_API RfcConfirmTransaction (RFC_TRANSACTION_HANDLE tHandle, RFC_ERROR_INFO *errorInfo)
 Removes the TID contained in the RFC_TRANSACTION_HANDLE from the backend's ARFCRSTATE table. More...
 
DECL_EXP RFC_RC SAP_API RfcConfirmTransactionID (RFC_CONNECTION_HANDLE rfcHandle, RFC_TID tid, RFC_ERROR_INFO *errorInfo)
 Convenience function to remove the TID contained in a previous RFC_TRANSACTION_HANDLE from the backend's ARFCRSTATE table, without the need of still having the RFC_TRANSACTION_HANDLE at hand. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyTransaction (RFC_TRANSACTION_HANDLE tHandle, RFC_ERROR_INFO *errorInfo)
 Releases the memory of the transaction container. More...
 
DECL_EXP RFC_RC SAP_API RfcGetUnitID (RFC_CONNECTION_HANDLE rfcHandle, RFC_UNITID uid, RFC_ERROR_INFO *errorInfo)
 Create a 32 digit bgRFC unit ID. More...
 
DECL_EXP RFC_UNIT_HANDLE SAP_API RfcCreateUnit (RFC_CONNECTION_HANDLE rfcHandle, RFC_UNITID uid, SAP_UC const *queueNames[], unsigned queueNameCount, const RFC_UNIT_ATTRIBUTES *unitAttr, RFC_UNIT_IDENTIFIER *identifier, RFC_ERROR_INFO *errorInfo)
 Create a bgRFC unit. More...
 
DECL_EXP RFC_RC SAP_API RfcInvokeInUnit (RFC_UNIT_HANDLE unitHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 Adds a function module to a bgRFC unit. More...
 
DECL_EXP RFC_RC SAP_API RfcSubmitUnit (RFC_UNIT_HANDLE unitHandle, RFC_ERROR_INFO *errorInfo)
 Executes a bgRFC unit in the backend. More...
 
DECL_EXP RFC_RC SAP_API RfcConfirmUnit (RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER *identifier, RFC_ERROR_INFO *errorInfo)
 Removes the UID from the backend's status management. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyUnit (RFC_UNIT_HANDLE unitHandle, RFC_ERROR_INFO *errorInfo)
 Releases the memory of the bgRFC unit container. More...
 
DECL_EXP RFC_RC SAP_API RfcGetUnitState (RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER *identifier, RFC_UNIT_STATE *state, RFC_ERROR_INFO *errorInfo)
 Retrieves the processing status of the given background unit from the backend system's status management. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallServerFunction (SAP_UC const *sysId, RFC_FUNCTION_DESC_HANDLE funcDescHandle, RFC_SERVER_FUNCTION serverFunction, RFC_ERROR_INFO *errorInfo)
 Installs a callback function of type RFC_SERVER_FUNCTION, which will be triggered when a request for the function module corresponding to funcDescHandle comes in from the R/3 system corresponding to sysId. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallGenericServerFunction (RFC_SERVER_FUNCTION serverFunction, RFC_FUNC_DESC_CALLBACK funcDescProvider, RFC_ERROR_INFO *errorInfo)
 Installs a generic callback function of type RFC_SERVER_FUNCTION together with a callback function of type RFC_FUNC_DESC_CALLBACK for obtaining the metadata description of unknown function modules. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallTransactionHandlers (SAP_UC const *sysId, RFC_ON_CHECK_TRANSACTION onCheckFunction, RFC_ON_COMMIT_TRANSACTION onCommitFunction, RFC_ON_ROLLBACK_TRANSACTION onRollbackFunction, RFC_ON_CONFIRM_TRANSACTION onConfirmFunction, RFC_ERROR_INFO *errorInfo)
 Installs the necessary callback functions for processing incoming tRFC/qRFC calls. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallBgRfcHandlers (SAP_UC const *sysId, RFC_ON_CHECK_UNIT onCheckFunction, RFC_ON_COMMIT_UNIT onCommitFunction, RFC_ON_ROLLBACK_UNIT onRollbackFunction, RFC_ON_CONFIRM_UNIT onConfirmFunction, RFC_ON_GET_UNIT_STATE onGetStateFunction, RFC_ERROR_INFO *errorInfo)
 Installs the necessary callback functions for processing incoming bgRFC calls. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallPassportManager (RFC_PM_CALLBACK onClientCallStart, RFC_PM_CALLBACK onClientCallEnd, RFC_PM_CALLBACK onServerCallStart, RFC_PM_CALLBACK onServerCallEnd, RFC_ERROR_INFO *errorInfo)
 Installs the necessary callback functions for processing Extended Passport (EPP) events. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallPasswordChangeHandler (RFC_ON_PASSWORD_CHANGE onPasswordChange, RFC_ERROR_INFO *errorInfo)
 Installs an optional callback function for processing password change events. More...
 
DECL_EXP RFC_RC SAP_API RfcInstallAuthorizationCheckHandler (RFC_ON_AUTHORIZATION_CHECK onAuthorizationCheck, RFC_ERROR_INFO *errorInfo)
 Installs an optional callback function for performing authorization checks on incoming function calls. More...
 
DECL_EXP RFC_FUNCTION_HANDLE
SAP_API 
RfcCreateFunction (RFC_FUNCTION_DESC_HANDLE funcDescHandle, RFC_ERROR_INFO *errorInfo)
 Creates a data container that can be used to execute function calls in the backend via RfcInvoke(). More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyFunction (RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 Releases all memory used by the data container. More...
 
DECL_EXP RFC_RC SAP_API RfcSetParameterActive (RFC_FUNCTION_HANDLE funcHandle, SAP_UC const *paramName, int isActive, RFC_ERROR_INFO *errorInfo)
 Allows to deactivate certain parameters in the function module interface. More...
 
DECL_EXP RFC_RC SAP_API RfcIsParameterActive (RFC_FUNCTION_HANDLE funcHandle, SAP_UC const *paramName, int *isActive, RFC_ERROR_INFO *errorInfo)
 Query whether a parameter is active. More...
 
DECL_EXP RFC_STRUCTURE_HANDLE
SAP_API 
RfcCreateStructure (RFC_TYPE_DESC_HANDLE typeDescHandle, RFC_ERROR_INFO *errorInfo)
 Creates a data container for a structure. More...
 
DECL_EXP RFC_STRUCTURE_HANDLE
SAP_API 
RfcCloneStructure (RFC_STRUCTURE_HANDLE srcStructureHandle, RFC_ERROR_INFO *errorInfo)
 Clones a sructure including the data in it. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyStructure (RFC_STRUCTURE_HANDLE structHandle, RFC_ERROR_INFO *errorInfo)
 Releases all memory for a particular structure. More...
 
DECL_EXP RFC_TABLE_HANDLE SAP_API RfcCreateTable (RFC_TYPE_DESC_HANDLE typeDescHandle, RFC_ERROR_INFO *errorInfo)
 Creates a data container for a table. More...
 
DECL_EXP RFC_TABLE_HANDLE SAP_API RfcCloneTable (RFC_TABLE_HANDLE srcTableHandle, RFC_ERROR_INFO *errorInfo)
 Clones a table including all the data in it. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyTable (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Releases the memory of a table and all its lines. More...
 
DECL_EXP RFC_STRUCTURE_HANDLE
SAP_API 
RfcGetCurrentRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Returns the table row, on which the "table cursor" is currently positioned. More...
 
DECL_EXP RFC_STRUCTURE_HANDLE
SAP_API 
RfcAppendNewRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Appends a new empty row at the end of the table and moves the table cursor to that row. More...
 
DECL_EXP RFC_RC SAP_API RfcReserveCapacity (RFC_TABLE_HANDLE tableHandle, unsigned numRows, RFC_ERROR_INFO *errorInfo)
 Reserves memory without changing the size of a table so that new rows can be appended without new memory allocation. More...
 
DECL_EXP RFC_RC SAP_API RfcAppendNewRows (RFC_TABLE_HANDLE tableHandle, unsigned numRows, RFC_ERROR_INFO *errorInfo)
 Appends a set of new empty rows at the end of the table and moves the table cursor to the first new row. More...
 
DECL_EXP RFC_STRUCTURE_HANDLE
SAP_API 
RfcInsertNewRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Inserts a new empty row at the current position of the table cursor. More...
 
DECL_EXP RFC_RC SAP_API RfcAppendRow (RFC_TABLE_HANDLE tableHandle, RFC_STRUCTURE_HANDLE structHandle, RFC_ERROR_INFO *errorInfo)
 Appends an existing row to the end of the table and moves the table cursor to that row. More...
 
DECL_EXP RFC_RC SAP_API RfcInsertRow (RFC_TABLE_HANDLE tableHandle, RFC_STRUCTURE_HANDLE structHandle, RFC_ERROR_INFO *errorInfo)
 Inserts an existing row at the current position of the table cursor. More...
 
DECL_EXP RFC_RC SAP_API RfcDeleteCurrentRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Deletes the row, on which the table cursor is currently positioned. More...
 
DECL_EXP RFC_RC SAP_API RfcDeleteAllRows (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Deletes all rows from the table. More...
 
DECL_EXP RFC_RC SAP_API RfcMoveToFirstRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Positions the table cursor at the first row (or at index "-1", if the table is empty). More...
 
DECL_EXP RFC_RC SAP_API RfcMoveToLastRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Positions the table cursor at the last row (or at index "-1", if the table is empty). More...
 
DECL_EXP RFC_RC SAP_API RfcMoveToNextRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Increments the table cursor by one. More...
 
DECL_EXP RFC_RC SAP_API RfcMoveToPreviousRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Decrements the table cursor by one. More...
 
DECL_EXP RFC_RC SAP_API RfcMoveTo (RFC_TABLE_HANDLE tableHandle, unsigned index, RFC_ERROR_INFO *errorInfo)
 Sets the table cursor to a specific index. More...
 
DECL_EXP RFC_RC SAP_API RfcGetRowCount (RFC_TABLE_HANDLE tableHandle, unsigned *rowCount, RFC_ERROR_INFO *errorInfo)
 Returns the number of rows in a table. More...
 
DECL_EXP RFC_TYPE_DESC_HANDLE
SAP_API 
RfcGetRowType (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Returns a type description handle describing the line type (metadata) of this table. More...
 
DECL_EXP
RFC_ABAP_OBJECT_HANDLE SAP_API 
RfcCreateAbapObject (RFC_CLASS_DESC_HANDLE classDescHandle, RFC_ERROR_INFO *errorInfo)
 Creates an ABAP object handle with the given class description handle. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyAbapObject (RFC_ABAP_OBJECT_HANDLE objHandle, RFC_ERROR_INFO *errorInfo)
 Destroys an ABAP object handle. More...
 
DECL_EXP RFC_RC SAP_API RfcGetChars (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_CHAR *charBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as char array. More...
 
DECL_EXP RFC_RC SAP_API RfcGetCharsByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_CHAR *charBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as char array. More...
 
DECL_EXP RFC_RC SAP_API RfcGetNum (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_NUM *charBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as num-char array (digits only). More...
 
DECL_EXP RFC_RC SAP_API RfcGetNumByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_NUM *charBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as num-char array (digits only). More...
 
DECL_EXP RFC_RC SAP_API RfcGetDate (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_DATE emptyDate, RFC_ERROR_INFO *errorInfo)
 Reads a DATE field. More...
 
DECL_EXP RFC_RC SAP_API RfcGetDateByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_DATE emptyDate, RFC_ERROR_INFO *errorInfo)
 Reads a DATE field. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTime (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_TIME emptyTime, RFC_ERROR_INFO *errorInfo)
 Reads a TIME field. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTimeByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_TIME emptyTime, RFC_ERROR_INFO *errorInfo)
 Reads a TIME field. More...
 
DECL_EXP RFC_RC SAP_API RfcGetString (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, SAP_UC *stringBuffer, unsigned bufferLength, unsigned *stringLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as null-terminated string. More...
 
DECL_EXP RFC_RC SAP_API RfcGetStringByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, SAP_UC *stringBuffer, unsigned bufferLength, unsigned *stringLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as null-terminated string. More...
 
DECL_EXP RFC_RC SAP_API RfcGetBytes (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, SAP_RAW *byteBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as byte array. More...
 
DECL_EXP RFC_RC SAP_API RfcGetBytesByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, SAP_RAW *byteBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as byte array. More...
 
DECL_EXP RFC_RC SAP_API RfcGetXString (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, SAP_RAW *byteBuffer, unsigned bufferLength, unsigned *xstringLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as byte array. More...
 
DECL_EXP RFC_RC SAP_API RfcGetXStringByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, SAP_RAW *byteBuffer, unsigned bufferLength, unsigned *xstringLength, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as byte array. More...
 
DECL_EXP RFC_RC SAP_API RfcGetInt (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_INT *value, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as RFC_INT (signed). More...
 
DECL_EXP RFC_RC SAP_API RfcGetIntByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_INT *value, RFC_ERROR_INFO *errorInfo)
 Returns the value of the specified field as RFC_INT (signed). More...
 
DECL_EXP RFC_RC SAP_API RfcGetInt1 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_INT1 *value, RFC_ERROR_INFO *errorInfo)
 Returns the value of a field as an unsigned one byte integer. More...
 
DECL_EXP RFC_RC SAP_API RfcGetInt1ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_INT1 *value, RFC_ERROR_INFO *errorInfo)
 Returns the value of a field as an unsigned one byte integer. More...
 
DECL_EXP RFC_RC SAP_API RfcGetInt2 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_INT2 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field value as a signed two byte integer. More...
 
DECL_EXP RFC_RC SAP_API RfcGetInt2ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_INT2 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field value as a signed two byte integer. More...
 
DECL_EXP RFC_RC SAP_API RfcGetInt8 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_INT8 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field value as a signed eight byte integer. More...
 
DECL_EXP RFC_RC SAP_API RfcGetInt8ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_INT8 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field value as a signed eight byte integer. More...
 
DECL_EXP RFC_RC SAP_API RfcGetFloat (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_FLOAT *value, RFC_ERROR_INFO *errorInfo)
 Returns the value of the given field as an RFC_FLOAT. More...
 
DECL_EXP RFC_RC SAP_API RfcGetFloatByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_FLOAT *value, RFC_ERROR_INFO *errorInfo)
 Returns the value of the given field as an RFC_FLOAT. More...
 
DECL_EXP RFC_RC SAP_API RfcGetDecF16 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_DECF16 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field as an 8 byte IEEE 754r decimal floating point. More...
 
DECL_EXP RFC_RC SAP_API RfcGetDecF16ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_DECF16 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field as an 8 byte IEEE 754r decimal floating point. More...
 
DECL_EXP RFC_RC SAP_API RfcGetDecF34 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_DECF34 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field as a 16 byte IEEE 754r decimal floating point. More...
 
DECL_EXP RFC_RC SAP_API RfcGetDecF34ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_DECF34 *value, RFC_ERROR_INFO *errorInfo)
 Returns the field as a 16 byte IEEE 754r decimal floating point. More...
 
DECL_EXP RFC_RC SAP_API RfcGetStructure (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_STRUCTURE_HANDLE *structHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to a structure. More...
 
DECL_EXP RFC_RC SAP_API RfcGetStructureByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_STRUCTURE_HANDLE *structHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to a structure. More...
 
DECL_EXP RFC_RC SAP_API RfcGetStructureIntoCharBuffer (DATA_CONTAINER_HANDLE dataHandle, SAP_UC *charBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Returns the entire structure value as a single char buffer. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTable (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_TABLE_HANDLE *tableHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to a table. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTableByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_TABLE_HANDLE *tableHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to a table. More...
 
DECL_EXP RFC_RC SAP_API RfcGetAbapObject (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_ABAP_OBJECT_HANDLE *objHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to an abap object. More...
 
DECL_EXP RFC_RC SAP_API RfcGetAbapObjectByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_ABAP_OBJECT_HANDLE *objHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to an abap object. More...
 
DECL_EXP RFC_RC SAP_API RfcGetStringLength (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, unsigned *stringLength, RFC_ERROR_INFO *errorInfo)
 Returns the length of the value of a STRING or XSTRING parameter. More...
 
DECL_EXP RFC_RC SAP_API RfcGetStringLengthByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, unsigned *stringLength, RFC_ERROR_INFO *errorInfo)
 Returns the length of the value of a STRING or XSTRING parameter. More...
 
DECL_EXP RFC_RC SAP_API RfcSetChars (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_CHAR *charValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given char value (charValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetCharsByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_CHAR *charValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given char value (charValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetNum (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_NUM *charValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the value of a NUMC field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetNumByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_NUM *charValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the value of a NUMC field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetString (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const SAP_UC *stringValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given string value (stringValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetStringByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const SAP_UC *stringValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given string value (stringValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetDate (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_DATE date, RFC_ERROR_INFO *errorInfo)
 Sets the value of a DATE field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetDateByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_DATE date, RFC_ERROR_INFO *errorInfo)
 Sets the value of a DATE field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTime (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_TIME time, RFC_ERROR_INFO *errorInfo)
 Sets the value of a TIME field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTimeByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_TIME time, RFC_ERROR_INFO *errorInfo)
 Sets the value of a TIME field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetBytes (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const SAP_RAW *byteValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given byte value (byteValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetBytesByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const SAP_RAW *byteValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given byte value (byteValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetXString (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const SAP_RAW *byteValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given byte value (byteValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetXStringByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const SAP_RAW *byteValue, unsigned valueLength, RFC_ERROR_INFO *errorInfo)
 Sets the given byte value (byteValue/valueLength) into the field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetInt (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_INT value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT4 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetIntByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_INT value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT4 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetInt1 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_INT1 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT1 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetInt1ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_INT1 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT1 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetInt2 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_INT2 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT2 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetInt2ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_INT2 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT2 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetInt8 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_INT8 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT8 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetInt8ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_INT8 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT8 field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetFloat (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_FLOAT value, RFC_ERROR_INFO *errorInfo)
 Sets a floating point field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetFloatByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_FLOAT value, RFC_ERROR_INFO *errorInfo)
 Sets a floating point field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetDecF16 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_DECF16 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an 8 byte decfloat object into a field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetDecF16ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_DECF16 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an 8 byte decfloat object into a field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetDecF34 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_DECF34 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of a 16 byte decfloat object into a field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetDecF34ByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_DECF34 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of a 16 byte decfloat object into a field. More...
 
DECL_EXP RFC_RC SAP_API RfcSetStructure (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_STRUCTURE_HANDLE value, RFC_ERROR_INFO *errorInfo)
 Copies the given structure into the target structure of the parent container. More...
 
DECL_EXP RFC_RC SAP_API RfcSetStructureByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_STRUCTURE_HANDLE value, RFC_ERROR_INFO *errorInfo)
 Copies the given structure into the target structure of the parent container. More...
 
DECL_EXP RFC_RC SAP_API RfcSetStructureFromCharBuffer (DATA_CONTAINER_HANDLE dataHandle, SAP_UC *charBuffer, unsigned bufferLength, RFC_ERROR_INFO *errorInfo)
 Set single char value buffer to the entire structure. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTable (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_TABLE_HANDLE value, RFC_ERROR_INFO *errorInfo)
 Copies the given table into the target table of the parent container. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTableByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_TABLE_HANDLE value, RFC_ERROR_INFO *errorInfo)
 Copies the given table into the target table of the parent container. More...
 
DECL_EXP RFC_RC SAP_API RfcSetAbapObject (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_ABAP_OBJECT_HANDLE value, RFC_ERROR_INFO *errorInfo)
 Copies the object into the target object of the parent container. More...
 
DECL_EXP RFC_RC SAP_API RfcSetAbapObjectByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, const RFC_ABAP_OBJECT_HANDLE value, RFC_ERROR_INFO *errorInfo)
 Copies the object into the target object of the parent container. More...
 
DECL_EXP
RFC_ABAP_OBJECT_HANDLE SAP_API 
RfcGetAbapClassException (RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 Gets the ABAP exception object handle from the given function handle. More...
 
DECL_EXP RFC_RC SAP_API RfcSetAbapClassException (RFC_FUNCTION_HANDLE funcHandle, RFC_ABAP_OBJECT_HANDLE excpHandle, const SAP_UC *exceptionText, RFC_ERROR_INFO *errorInfo)
 Sets the ABAP exception object handle to the given function handle. More...
 
DECL_EXP
RFC_FUNCTION_DESC_HANDLE
SAP_API 
RfcDescribeFunction (RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 Returns the metadata description for the given function module. More...
 
DECL_EXP RFC_TYPE_DESC_HANDLE
SAP_API 
RfcDescribeType (DATA_CONTAINER_HANDLE dataHandle, RFC_ERROR_INFO *errorInfo)
 Returns the metadata description of the given structure or table (RFC_STRUCTURE_HANDLE or RFC_TABLE_HANDLE). More...
 
DECL_EXP
RFC_FUNCTION_DESC_HANDLE
SAP_API 
RfcGetFunctionDesc (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *funcName, RFC_ERROR_INFO *errorInfo)
 Returns the function description that is valid for the system to which rfcHandle points to. More...
 
DECL_EXP
RFC_FUNCTION_DESC_HANDLE
SAP_API 
RfcGetCachedFunctionDesc (SAP_UC const *repositoryID, SAP_UC const *funcName, RFC_ERROR_INFO *errorInfo)
 Looks for a cached function description. More...
 
DECL_EXP RFC_RC SAP_API RfcAddFunctionDesc (SAP_UC const *repositoryID, RFC_FUNCTION_DESC_HANDLE funcDesc, RFC_ERROR_INFO *errorInfo)
 Adds a function description to the cache for the specified R/3 System. More...
 
DECL_EXP RFC_RC SAP_API RfcRemoveFunctionDesc (SAP_UC const *repositoryID, SAP_UC const *functionName, RFC_ERROR_INFO *errorInfo)
 Removes a function description from the cache for the specified R/3 System. More...
 
DECL_EXP RFC_TYPE_DESC_HANDLE
SAP_API 
RfcGetTypeDesc (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *typeName, RFC_ERROR_INFO *errorInfo)
 Returns the structure description that is valid for the system to which rfcHandle points to. More...
 
DECL_EXP RFC_TYPE_DESC_HANDLE
SAP_API 
RfcGetCachedTypeDesc (SAP_UC const *repositoryID, SAP_UC const *typeName, RFC_ERROR_INFO *errorInfo)
 Looks for a cached structure/table description. More...
 
DECL_EXP RFC_RC SAP_API RfcAddTypeDesc (SAP_UC const *repositoryID, RFC_TYPE_DESC_HANDLE typeHandle, RFC_ERROR_INFO *errorInfo)
 Adds a type description to the cache. More...
 
DECL_EXP RFC_RC SAP_API RfcRemoveTypeDesc (SAP_UC const *repositoryID, SAP_UC const *typeName, RFC_ERROR_INFO *errorInfo)
 Removes a type description from the cache. More...
 
DECL_EXP RFC_CLASS_DESC_HANDLE
SAP_API 
RfcGetClassDesc (RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *className, RFC_ERROR_INFO *errorInfo)
 Returns the class description that is valid for the system to which rfcHandle points to. More...
 
DECL_EXP RFC_CLASS_DESC_HANDLE
SAP_API 
RfcGetCachedClassDesc (SAP_UC const *repositoryID, SAP_UC const *className, RFC_ERROR_INFO *errorInfo)
 Looks for a cached class description. More...
 
DECL_EXP RFC_CLASS_DESC_HANDLE
SAP_API 
RfcDescribeAbapObject (RFC_ABAP_OBJECT_HANDLE objectHandle, RFC_ERROR_INFO *errorInfo)
 Returns the metadata description of the given ABAP object handle. More...
 
DECL_EXP RFC_RC SAP_API RfcAddClassDesc (SAP_UC const *repositoryID, RFC_CLASS_DESC_HANDLE classDesc, RFC_ERROR_INFO *errorInfo)
 Adds a class description to the cache for the specified R/3 System. More...
 
DECL_EXP RFC_RC SAP_API RfcRemoveClassDesc (SAP_UC const *repositoryID, SAP_UC const *className, RFC_ERROR_INFO *errorInfo)
 Removes a class description from the cache for the specified R/3 System. More...
 
DECL_EXP RFC_RC SAP_API RfcClearRepository (SAP_UC const *repositoryID, RFC_ERROR_INFO *errorInfo)
 Removes all metadata from the repository cache of the specified R/3 System. More...
 
DECL_EXP RFC_RC SAP_API RfcSaveRepository (SAP_UC const *repositoryID, FILE *const targetStream, RFC_ERROR_INFO *errorInfo)
 Stores the currently cached objects of a repository into a JSON formatted text file. More...
 
DECL_EXP RFC_RC SAP_API RfcLoadRepository (SAP_UC const *repositoryID, FILE *const targetStream, RFC_ERROR_INFO *errorInfo)
 Retrieves metadata from a JSON formatted text file and creates the according repository to use for function calls. More...
 
DECL_EXP RFC_TYPE_DESC_HANDLE
SAP_API 
RfcCreateTypeDesc (SAP_UC const *name, RFC_ERROR_INFO *errorInfo)
 Creates an empty type description with the given name. More...
 
DECL_EXP RFC_RC SAP_API RfcAddTypeField (RFC_TYPE_DESC_HANDLE typeHandle, const RFC_FIELD_DESC *fieldDescr, RFC_ERROR_INFO *errorInfo)
 Adds a new field to the type description. More...
 
DECL_EXP RFC_RC SAP_API RfcSetTypeLength (RFC_TYPE_DESC_HANDLE typeHandle, unsigned nucByteLength, unsigned ucByteLength, RFC_ERROR_INFO *errorInfo)
 Sets the total byte length of the type description. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTypeName (RFC_TYPE_DESC_HANDLE typeHandle, RFC_ABAP_NAME bufferForName, RFC_ERROR_INFO *errorInfo)
 Returns the name of the type. More...
 
DECL_EXP RFC_RC SAP_API RfcGetFieldCount (RFC_TYPE_DESC_HANDLE typeHandle, unsigned *count, RFC_ERROR_INFO *errorInfo)
 Returns the number of fields in a structure definition. More...
 
DECL_EXP RFC_RC SAP_API RfcGetFieldDescByIndex (RFC_TYPE_DESC_HANDLE typeHandle, unsigned index, RFC_FIELD_DESC *fieldDescr, RFC_ERROR_INFO *errorInfo)
 Reads the field description of the structure's ith field. More...
 
DECL_EXP RFC_RC SAP_API RfcGetFieldDescByName (RFC_TYPE_DESC_HANDLE typeHandle, SAP_UC const *name, RFC_FIELD_DESC *fieldDescr, RFC_ERROR_INFO *errorInfo)
 Reads the field description of a field given by name. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTypeLength (RFC_TYPE_DESC_HANDLE typeHandle, unsigned *nucByteLength, unsigned *ucByteLength, RFC_ERROR_INFO *errorInfo)
 Returns the total byte length of a structure definition. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyTypeDesc (RFC_TYPE_DESC_HANDLE typeHandle, RFC_ERROR_INFO *errorInfo)
 Deletes the type description and releases the allocated resources. More...
 
DECL_EXP
RFC_FUNCTION_DESC_HANDLE
SAP_API 
RfcCreateFunctionDesc (SAP_UC const *name, RFC_ERROR_INFO *errorInfo)
 Creates an empty function description with the given name. More...
 
DECL_EXP RFC_RC SAP_API RfcGetFunctionName (RFC_FUNCTION_DESC_HANDLE funcDesc, RFC_ABAP_NAME bufferForName, RFC_ERROR_INFO *errorInfo)
 Returns a function module's DDIC name. More...
 
DECL_EXP RFC_RC SAP_API RfcAddParameter (RFC_FUNCTION_DESC_HANDLE funcDesc, const RFC_PARAMETER_DESC *paramDescr, RFC_ERROR_INFO *errorInfo)
 Adds a new parameter (IMPORTING, EXPORTING, CHANGING, TABLES) to the function description. More...
 
DECL_EXP RFC_RC SAP_API RfcGetParameterCount (RFC_FUNCTION_DESC_HANDLE funcDesc, unsigned *count, RFC_ERROR_INFO *errorInfo)
 Returns the number of parameters in the function module definition. More...
 
DECL_EXP RFC_RC SAP_API RfcGetParameterDescByIndex (RFC_FUNCTION_DESC_HANDLE funcDesc, unsigned index, RFC_PARAMETER_DESC *paramDesc, RFC_ERROR_INFO *errorInfo)
 Reads the metadata description of the function module's ith parameter. More...
 
DECL_EXP RFC_RC SAP_API RfcGetParameterDescByName (RFC_FUNCTION_DESC_HANDLE funcDesc, SAP_UC const *name, RFC_PARAMETER_DESC *paramDesc, RFC_ERROR_INFO *errorInfo)
 Reads the metadata description of a function module parameter given by name. More...
 
DECL_EXP RFC_RC SAP_API RfcAddException (RFC_FUNCTION_DESC_HANDLE funcDesc, const RFC_EXCEPTION_DESC *excDesc, RFC_ERROR_INFO *errorInfo)
 Adds a new ABAP Exception to the function description. More...
 
DECL_EXP RFC_RC SAP_API RfcGetExceptionCount (RFC_FUNCTION_DESC_HANDLE funcDesc, unsigned *count, RFC_ERROR_INFO *errorInfo)
 Returns the number of ABAP Exceptions of the function module. More...
 
DECL_EXP RFC_RC SAP_API RfcGetExceptionDescByIndex (RFC_FUNCTION_DESC_HANDLE funcDesc, unsigned index, RFC_EXCEPTION_DESC *excDesc, RFC_ERROR_INFO *errorInfo)
 Reads the metadata description of the function module's ith ABAP Exception. More...
 
DECL_EXP RFC_RC SAP_API RfcGetExceptionDescByName (RFC_FUNCTION_DESC_HANDLE funcDesc, SAP_UC const *name, RFC_EXCEPTION_DESC *excDesc, RFC_ERROR_INFO *errorInfo)
 Reads the metadata description of a function module's ABAP Exception given by name. More...
 
DECL_EXP RFC_RC SAP_API RfcEnableBASXML (RFC_FUNCTION_DESC_HANDLE funcDesc, RFC_ERROR_INFO *errorInfo)
 Enables this function module for the basXML serialization format. More...
 
DECL_EXP RFC_RC SAP_API RfcIsBASXMLSupported (RFC_FUNCTION_DESC_HANDLE funcDesc, int *isEnabled, RFC_ERROR_INFO *errorInfo)
 Returns whether this function module has been enabled for basXML. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyFunctionDesc (RFC_FUNCTION_DESC_HANDLE funcDesc, RFC_ERROR_INFO *errorInfo)
 Deletes the function description and releases the allocated resources. More...
 
DECL_EXP RFC_RC SAP_API RfcEnableAbapClassException (RFC_FUNCTION_HANDLE funcHandle, RFC_CONNECTION_HANDLE rfcHandleRepository, RFC_ERROR_INFO *errorInfo)
 Enables this function handle for ABAP class exception support. More...
 
DECL_EXP RFC_RC SAP_API RfcIsAbapClassExceptionEnabled (RFC_FUNCTION_HANDLE funcHandle, int *isEnabled, RFC_ERROR_INFO *errorInfo)
 Checks whether this function handle has been enabled for ABAP class exception support. More...
 
DECL_EXP RFC_CLASS_DESC_HANDLE
SAP_API 
RfcCreateClassDesc (SAP_UC const *name, RFC_ERROR_INFO *errorInfo)
 Creates an empty class description with the given name. More...
 
DECL_EXP RFC_RC SAP_API RfcGetClassName (RFC_CLASS_DESC_HANDLE classDesc, RFC_ABAP_NAME bufferForName, RFC_ERROR_INFO *errorInfo)
 Returns the class's DDIC name. More...
 
DECL_EXP RFC_RC SAP_API RfcAddClassAttribute (RFC_CLASS_DESC_HANDLE classDesc, const RFC_CLASS_ATTRIBUTE_DESC *attrDesc, RFC_ERROR_INFO *errorInfo)
 Adds a new attribute (field, structure, table, method) to the class description. More...
 
DECL_EXP RFC_RC SAP_API RfcGetClassAttributesCount (RFC_CLASS_DESC_HANDLE classDesc, unsigned *count, RFC_ERROR_INFO *errorInfo)
 Returns the number of parameters in the function module definition. More...
 
DECL_EXP RFC_RC SAP_API RfcGetClassAttributeDescByIndex (RFC_CLASS_DESC_HANDLE classDesc, unsigned index, RFC_CLASS_ATTRIBUTE_DESC *attrDesc, RFC_ERROR_INFO *errorInfo)
 Reads the metadata description of the class attribute. More...
 
DECL_EXP RFC_RC SAP_API RfcGetClassAttributeDescByName (RFC_CLASS_DESC_HANDLE classDesc, SAP_UC const *name, RFC_CLASS_ATTRIBUTE_DESC *attrDesc, RFC_ERROR_INFO *errorInfo)
 Reads the metadata description of a class attribute given by name. More...
 
DECL_EXP RFC_RC SAP_API RfcGetParentClassByIndex (RFC_CLASS_DESC_HANDLE classDesc, RFC_CLASS_NAME name, unsigned index, RFC_ERROR_INFO *errorInfo)
 Returns the parent classes of the given class. More...
 
DECL_EXP RFC_RC SAP_API RfcGetParentClassesCount (RFC_CLASS_DESC_HANDLE classDesc, unsigned *parentClassesCount, RFC_ERROR_INFO *errorInfo)
 Returns the number of parent classes of the given class. More...
 
DECL_EXP RFC_RC SAP_API RfcAddParentClass (RFC_CLASS_DESC_HANDLE classDesc, const RFC_CLASS_NAME name, RFC_ERROR_INFO *errorInfo)
 Sets the parent classes of the given class. More...
 
DECL_EXP RFC_RC SAP_API RfcGetImplementedInterfaceByIndex (RFC_CLASS_DESC_HANDLE classDesc, unsigned index, RFC_CLASS_NAME name, RFC_ERROR_INFO *errorInfo)
 Returns the implemented interfaces of the given class. More...
 
DECL_EXP RFC_RC SAP_API RfcGetImplementedInterfacesCount (RFC_CLASS_DESC_HANDLE classDesc, unsigned *implementedInterfacesCount, RFC_ERROR_INFO *errorInfo)
 Returns the number of parent interfaces of the given class. More...
 
DECL_EXP RFC_RC SAP_API RfcAddImplementedInterface (RFC_CLASS_DESC_HANDLE classDesc, const RFC_CLASS_NAME name, RFC_ERROR_INFO *errorInfo)
 Adds an interface to the list of implemented interfaces of the given class. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyClassDesc (RFC_CLASS_DESC_HANDLE classHandle, RFC_ERROR_INFO *errorInfo)
 Deletes the class description and releases the allocated resources. More...
 
DECL_EXP
RFC_METADATA_QUERY_RESULT_HANDLE
SAP_API 
RfcCreateMetadataQueryResult (RFC_ERROR_INFO *errorInfo)
 Creates the metadata query resultMetadata query results contain the names of functions, types and classes queried successfully, and the corresponding errors, if the query failed. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyMetadataQueryResult (RFC_METADATA_QUERY_RESULT_HANDLE handle, RFC_ERROR_INFO *errorInfo)
 Destroys the metadata query resultReleases all resources allocated by the metadata query result. More...
 
DECL_EXP RFC_RC SAP_API RfcDescribeMetadataQueryResult (RFC_METADATA_QUERY_RESULT_HANDLE handle, RFC_METADATA_OBJ_TYPE type, unsigned *successful, unsigned *failed, RFC_ERROR_INFO *errorInfo)
 Describes the metadata query resultReturns the number of succeeded and failed entries in the metadata query result. More...
 
DECL_EXP RFC_RC SAP_API RfcGetMetadataQueryFailedEntry (RFC_METADATA_QUERY_RESULT_HANDLE handle, RFC_METADATA_OBJ_TYPE type, unsigned index, RFC_METADATA_QUERY_RESULT_ENTRY *entry, RFC_ERROR_INFO *errorInfo)
 Returns the error entry from the metadata query resultReturns the object name and the error text, if an error occurred during the query. More...
 
DECL_EXP RFC_RC SAP_API RfcGetMetadataQuerySucceededEntry (RFC_METADATA_QUERY_RESULT_HANDLE handle, RFC_METADATA_OBJ_TYPE type, unsigned index, RFC_ABAP_NAME succeedObj, RFC_ERROR_INFO *errorInfo)
 Returns a succeeded entry from the metadata query resultReturns the object name of a successfully queried object. More...
 
DECL_EXP RFC_RC SAP_API RfcMetadataBatchQuery (RFC_CONNECTION_HANDLE rfcHandle, const SAP_UC **functionNames, unsigned functionCount, const SAP_UC **typeNames, unsigned typeCount, const SAP_UC **classNames, unsigned classCount, RFC_METADATA_QUERY_RESULT_HANDLE handle, RFC_ERROR_INFO *errorInfo)
 Queries the meta data for function, type and class lists. More...
 
DECL_EXP RFC_THROUGHPUT_HANDLE
SAP_API 
RfcCreateThroughput (RFC_ERROR_INFO *errorInfo)
 Creates a throughput object that can be used to measure performance relevant data of connections and servers. More...
 
DECL_EXP RFC_RC SAP_API RfcDestroyThroughput (RFC_THROUGHPUT_HANDLE throughput, RFC_ERROR_INFO *errorInfo)
 Releases all memory used by the throughput object. More...
 
DECL_EXP RFC_RC SAP_API RfcSetThroughputOnConnection (RFC_CONNECTION_HANDLE rfcHandle, RFC_THROUGHPUT_HANDLE throughput, RFC_ERROR_INFO *errorInfo)
 Attaches a throughput object to a connection to be monitored by the throughput object. More...
 
DECL_EXP RFC_THROUGHPUT_HANDLE
SAP_API 
RfcGetThroughputFromConnection (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 Returns the currently attached throughput object from a connection, if any. More...
 
DECL_EXP RFC_RC SAP_API RfcRemoveThroughputFromConnection (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 Removes the throughput object from a connection. More...
 
DECL_EXP RFC_RC SAP_API RfcSetThroughputOnServer (RFC_SERVER_HANDLE serverHandle, RFC_THROUGHPUT_HANDLE throughput, RFC_ERROR_INFO *errorInfo)
 Attaches a throughput object to an automated server. More...
 
DECL_EXP RFC_THROUGHPUT_HANDLE
SAP_API 
RfcGetThroughputFromServer (RFC_SERVER_HANDLE serverHandle, RFC_ERROR_INFO *errorInfo)
 Returns the currently attached throughput object from a server, if any. More...
 
DECL_EXP RFC_RC SAP_API RfcRemoveThroughputFromServer (RFC_SERVER_HANDLE serverHandle, RFC_ERROR_INFO *errorInfo)
 Removes the throughput from an automated server. More...
 
DECL_EXP RFC_RC SAP_API RfcResetThroughput (RFC_THROUGHPUT_HANDLE throughput, RFC_ERROR_INFO *errorInfo)
 Resets the data so far collected and aggregated by the throughput object. More...
 
DECL_EXP RFC_RC SAP_API RfcGetNumberOfCalls (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *numberOfCalls, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated number of calls the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetTotalTime (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *totalTime, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated time of call durations the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetSerializationTime (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *serializationTime, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated serializationtime the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetDeserializationTime (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *deserializationTime, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated deserialization time the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetApplicationTime (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *applicationTime, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated time of the C implementations of ABAP function modules that the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetServerTime (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *serverTime, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated execution time of the requests at the server, that the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetNetworkWritingTime (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *writingTime, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated time that is used to write to network during the requests, that the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetNetworkReadingTime (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *readingTime, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated time that is used to read from the network during the requests, that the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetSentBytes (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *sentBytes, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated amount of sent bytes the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcGetReceivedBytes (RFC_THROUGHPUT_HANDLE throughput, SAP_ULLONG *receivedBytes, RFC_ERROR_INFO *errorInfo)
 Returns the cumulated amount of received bytes the throughput object recorded since it was attached or since the last reset. More...
 
DECL_EXP RFC_RC SAP_API RfcSetMessageServerResponseTimeout (unsigned timeout, RFC_ERROR_INFO *errorInfo)
 Set Timeout for Message Server Response. More...
 
DECL_EXP RFC_RC SAP_API RfcSetMaximumCpicConversations (unsigned maxCpicConversations, RFC_ERROR_INFO *errorInfo)
 Sets the maximum number of concurrent CPIC conversations. More...
 
DECL_EXP RFC_RC SAP_API RfcGetMaximumCpicConversations (unsigned *maxCpicConversations, RFC_ERROR_INFO *errorInfo)
 Gets the maximum number of parallel CPIC conversations. More...
 
DECL_EXP RFC_RC SAP_API RfcSetGlobalLogonTimeout (unsigned logonTimeout, RFC_ERROR_INFO *errorInfo)
 Sets the global logon timeout in seconds. More...
 

Macro Definition Documentation

#define RFC_TID_LN   24

Definition at line 79 of file sapnwrfc.h.

#define RFC_UNITID_LN   32

Definition at line 80 of file sapnwrfc.h.

#define SAP_API

Definition at line 24 of file sapnwrfc.h.

Typedef Documentation

typedef RFC_CHAR RFC_ABAP_NAME[30+1]

Name of ABAP function, function parameter or field in a structure. (null-terminated)

Definition at line 334 of file sapnwrfc.h.

Definition at line 450 of file sapnwrfc.h.

typedef SAP_RAW RFC_BCD

Packed numbers, RFCTYPE_BCD /*SAPUNICODEOK_CHARTYPE*/.

Definition at line 60 of file sapnwrfc.h.

typedef SAP_RAW RFC_BYTE

Raw data, RFCTYPE_BYTE.

Definition at line 59 of file sapnwrfc.h.

typedef short RFC_CDAY

Calandendar day: Day and month.

Definition at line 77 of file sapnwrfc.h.

typedef SAP_UC RFC_CHAR

Characters, RFCTYPE_CHAR.

Definition at line 57 of file sapnwrfc.h.

typedef RFC_CHAR RFC_CLASS_ATTRIBUTE_DEFVALUE[30+1]

Default value of a function module parameter. (null-terminated)

Definition at line 695 of file sapnwrfc.h.

typedef RFC_CHAR RFC_CLASS_ATTRIBUTE_DESCRIPTION[511+1]

Default value of a function module parameter. (null-terminated)

Definition at line 697 of file sapnwrfc.h.

typedef RFC_CHAR RFC_CLASS_NAME[30+1]

Default value of a function module parameter. (null-terminated)

Definition at line 696 of file sapnwrfc.h.

typedef RFC_CHAR RFC_DATE[8]

Date, RFCTYPE_DATE (YYYYMMDD)

Definition at line 65 of file sapnwrfc.h.

typedef DecFloat16 RFC_DECF16

IEEE 754r decimal floating point, 8 bytes.

Definition at line 67 of file sapnwrfc.h.

typedef DecFloat34 RFC_DECF34

IEEE 754r decimal floating point, 16 bytes.

Definition at line 68 of file sapnwrfc.h.

typedef int RFC_DTDAY

date/day

Definition at line 72 of file sapnwrfc.h.

typedef int RFC_DTMONTH

date/month

Definition at line 74 of file sapnwrfc.h.

typedef int RFC_DTWEEK

date/week

Definition at line 73 of file sapnwrfc.h.

typedef double RFC_FLOAT

Floating point, double precision, RFCTYPE_FLOAT.

Definition at line 64 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_FUNC_DESC_CALLBACK)(SAP_UC const *functionName, RFC_ATTRIBUTES rfcAttributes, RFC_FUNCTION_DESC_HANDLE *funcDescHandle)

Definition at line 732 of file sapnwrfc.h.

Definition at line 436 of file sapnwrfc.h.

typedef int RFC_INT

4 byte integer, RFCTYPE_INT

Definition at line 63 of file sapnwrfc.h.

typedef SAP_RAW RFC_INT1

1 byte integer, RFCTYPE_INT1

Definition at line 61 of file sapnwrfc.h.

typedef short RFC_INT2

2 byte integer, RFCTYPE_INT2

Definition at line 62 of file sapnwrfc.h.

Handle to a metadata query result.

Definition at line 5362 of file sapnwrfc.h.

typedef RFC_CHAR RFC_NUM

Digits, RFCTYPE_NUM /*SAPUNICODEOK_CHARTYPE*/.

Definition at line 58 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_AUTHENTICATION_CHECK)(RFC_ATTRIBUTES rfcAttributes, RFC_AUTHENTICATION_HANDLE authenticationHandle, RFC_ERROR_INFO *errorInfo)

Definition at line 745 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_AUTHORIZATION_CHECK)(RFC_CONNECTION_HANDLE rfcHandle, RFC_SECURITY_ATTRIBUTES *secAttributes, RFC_ERROR_INFO *errorInfo)

Definition at line 744 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_CHECK_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)

Definition at line 727 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_CHECK_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)

Definition at line 735 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_COMMIT_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)

Definition at line 728 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_COMMIT_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)

Definition at line 736 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_CONFIRM_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)

Definition at line 730 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_CONFIRM_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)

Definition at line 738 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_GET_UNIT_STATE)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier, RFC_UNIT_STATE *unitState)

Definition at line 739 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_PASSWORD_CHANGE)(SAP_UC const *sysId, SAP_UC const *user, SAP_UC const *client, SAP_UC *password, unsigned passwordLength, SAP_UC *newPassword, unsigned newPasswordLength, RFC_ERROR_INFO *cause)

Definition at line 740 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_ROLLBACK_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)

Definition at line 729 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_ON_ROLLBACK_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)

Definition at line 737 of file sapnwrfc.h.

typedef RFC_CHAR RFC_PARAMETER_DEFVALUE[30+1]

Default value of a function module parameter. (null-terminated)

Definition at line 335 of file sapnwrfc.h.

typedef RFC_CHAR RFC_PARAMETER_TEXT[79+1]

Parameter description for a function module parameter. (null-terminated)

Definition at line 336 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_PM_CALLBACK)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *functionName, SAP_RAW *eppBuffer, size_t eppBufferSize, size_t *eppLength)

Definition at line 733 of file sapnwrfc.h.

typedef enum _RFC_RC RFC_RC
typedef void(SAP_API* RFC_SERVER_ERROR_LISTENER)(RFC_SERVER_HANDLE serverHandle, RFC_ATTRIBUTES *clientInfo, RFC_ERROR_INFO *errorInfo)

Definition at line 558 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_SERVER_FUNCTION)(RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)

Definition at line 726 of file sapnwrfc.h.

typedef RFC_RC(SAP_API* RFC_SERVER_SESSION_CHANGE_LISTENER)(RFC_SERVER_HANDLE serverHandle, RFC_SESSION_CHANGE *sessionChange)

Definition at line 556 of file sapnwrfc.h.

typedef void(SAP_API* RFC_SERVER_STATE_CHANGE_LISTENER)(RFC_SERVER_HANDLE serverHandle, RFC_STATE_CHANGE *stateChange)

Definition at line 570 of file sapnwrfc.h.

Definition at line 429 of file sapnwrfc.h.

Definition at line 443 of file sapnwrfc.h.

typedef SAP_UC RFC_TID[RFC_TID_LN+1]

Used for TIDs in inbound and outbound tRFC/qRFC.

Definition at line 81 of file sapnwrfc.h.

typedef RFC_CHAR RFC_TIME[6]

Time, RFCTYPE_TIME (HHMMSS)

Definition at line 66 of file sapnwrfc.h.

typedef short RFC_TMINUTE

time/minute

Definition at line 76 of file sapnwrfc.h.

typedef int RFC_TSECOND

time/second

Definition at line 75 of file sapnwrfc.h.

typedef SAP_UC RFC_UNITID[RFC_UNITID_LN+1]

Used for Unit IDs in inbound and outbound bgRFC.

Definition at line 82 of file sapnwrfc.h.

typedef RFC_INT8 RFC_UTCLONG

timestamp/long

Definition at line 69 of file sapnwrfc.h.

typedef RFC_INT8 RFC_UTCMINUTE

timestamp/minute

Definition at line 71 of file sapnwrfc.h.

typedef RFC_INT8 RFC_UTCSECOND

timestamp/second

Definition at line 70 of file sapnwrfc.h.

typedef enum _RFCTYPE RFCTYPE

Function Documentation

DECL_EXP RFC_RC SAP_API RfcGetMaximumCpicConversations ( unsigned *  maxCpicConversations,
RFC_ERROR_INFO errorInfo 
)

Gets the maximum number of parallel CPIC conversations.

The default value is 200.

Parameters
[in]*maxCpicConversationsCurrent maximum of parallel CPIC conversations
[out]*errorInfoMore details in error case.
Returns
RFC_RC
DECL_EXP RFC_RC SAP_API RfcSetCpicKeepalive ( unsigned  timeout,
RFC_ERROR_INFO errorInfo 
)

Activates the CPIC keepalive.

Parameters
[in]timeoutMust be a value between 10 and 3600, where 0 turns the cpic keepalive off.
[out]*errorInfoDetail information in case of an error.
Returns
RFC_RC
DECL_EXP RFC_RC SAP_API RfcSetGlobalLogonTimeout ( unsigned  logonTimeout,
RFC_ERROR_INFO errorInfo 
)

Sets the global logon timeout in seconds.

Sets the timeout for how long the logon in the ABAP backend can take during RfcOpenConnection(). The valid range of values is [1,3600]. The default value is 60 seconds.

The timeout can also be set via RFC_GLOBAL_LOGON_TIMEOUT in the DEFAULT section of the sapnwrfc.ini file.

Parameters
[in]logonTimeoutgloabl logon timeout in seconds.
[out]*errorInfoMore details in error case.
Returns
RFC_RC
DECL_EXP RFC_RC SAP_API RfcSetMaximumCpicConversations ( unsigned  maxCpicConversations,
RFC_ERROR_INFO errorInfo 
)

Sets the maximum number of concurrent CPIC conversations.

The API can only be called if there are no current CPIC conversations active. A number smaller than the current maximum will be ignored. The default value is 200.

The number can also be increased by setting MAX_CPIC_CONVERSATIONS in the DEFAULT section of the sapnwrfc.ini file.

Parameters
[in]maxCpicConversationsMaximum of concurrent CPIC conversations
[out]*errorInfoMore details in error case.
Returns
RFC_RC
DECL_EXP RFC_RC SAP_API RfcSetMessageServerResponseTimeout ( unsigned  timeout,
RFC_ERROR_INFO errorInfo 
)

Set Timeout for Message Server Response.

During Group Logon and during Group Registration (registration of an RFC server at multiple gateways), the NW RFC library sends requests to the message server, asking for the currently "least busy" application server (load balancing) or for a list of all application servers contained in a group. This timeout specifies, how long the NW RFC library will wait for the corresponding responses from the message server, before aborting with a timeout error.

Parameters
[in]timeoutTimeout in seconds
[out]*errorInfoMore details in error case.
Returns
RFC_RC