11 # if defined(SAPonLIN) && defined(GCC_HIDDEN_VISIBILITY)
12 # define DECL_EXP __attribute__((visibility("default")))
13 # elif defined(SAPonDARW) && !defined(CPP_USE_STLPORT)
14 # define DECL_EXP __attribute__((visibility("default")))
22 # define SAP_API _stdcall
29 #pragma warning (disable : 4267) // disable warning: conversion from 'size_t' to 'const unsigned int'
32 #if defined(SAPonOS390) && defined(__XPLINK__) && __CHARSET_LIB == 1
33 #pragma runopts("FILETAG(AUTOCVT,AUTOTAG)")
36 #if defined SAPwith64_BIT && \
37 ! defined SAPonNT && \
38 ! defined SAPonOS400 && \
41 typedef long RFC_INT8;
42 #elif defined SAPonHPPA || \
43 defined SAPonRS6000 || \
45 defined SAPonOS390 || \
46 defined SAPonOS400 || \
47 defined SAPonDARW || \
50 typedef long long RFC_INT8;
52 typedef __int64 RFC_INT8;
80 #define RFC_UNITID_LN 32
741 SAP_UC *password,
unsigned passwordLength,
742 SAP_UC *newPassword,
unsigned newPasswordLength,
5484 const SAP_UC** functionNames,
unsigned functionCount,
const SAP_UC** typeNames,
unsigned typeCount,
5485 const SAP_UC** classNames,
unsigned classCount, RFC_METADATA_QUERY_RESULT_HANDLE handle,
RFC_ERROR_INFO *errorInfo);
RFC_UNITID unitID
The 32 digit unit ID of the background unit.
SAP_UC RFC_TID[RFC_TID_LN+1]
Used for TIDs in inbound and outbound tRFC/qRFC.
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.
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.
Authentication with x509 certificate.
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.
Problems raised by the authentication handler (RFC_ON_AUTHENTICATION_CHECK)
Handle to a throughput object which can monitor performance relevant data of connections and servers...
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.
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.
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_H...
Handle to a data container for a function module.
Handle to an authentication object which gives access to relevant authentication data received from t...
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.
Backend system is still in the process of persisting (or executing if type 'T') the payload data...
SAP_RAW RFC_BCD
Packed numbers, RFCTYPE_BCD /*SAPUNICODEOK_CHARTYPE*/.
RFC_RC(SAP_API * RFC_ON_COMMIT_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
RFC_CHAR RFC_CLASS_ATTRIBUTE_DESCRIPTION[511+1]
Default value of a function module parameter. (null-terminated)
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.
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.
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 que...
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.
Structure used for connecting to a backend system via RfcOpenConnection() or RfcRegisterServer().
RFC_PROTOCOL_TYPE type
This RFC server's type. Will be one of RFC_MULTI_COUNT_REGISTERED_SERVER or RFC_TCP_SOCKET_SERVER.
RFC_ABAP_NAME name
Parameter name, null-terminated string.
Problems raised in the authorization check handler provided by the external server implementation...
the max. value of RFCTYPEs
SAP_UC unitType
'T' for "transactional" behavior (unit is executed synchronously), 'Q' for "queued" behavior (unit is...
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.
time/second, 4-byte integer
short kernelTrace
If != 0, the backend will write kernel traces, while executing this unit.
Notifies an RFC Server that a stateful user session has just been created or destroyed.
RFC_CALL_TYPE type
Specifies the type of function call. Depending on the value of this field, some of the other fields o...
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.
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.
short satTrace
If != 0, the backend will write statistic records, while executing this unit.
date/month, 4-byte integer
int RFC_INT
4 byte integer, RFCTYPE_INT
This function call is part of a queued LUW (qRFC).
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.
struct _RFC_FIELD_DESC * P_RFC_FIELD_DESC
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.
The operation is not supported on that handle.
Table parameter. This corresponds to ABAP TABLES parameter.
const SAP_UC * subject
Distinguished name of the user of the certificate.
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...
Temporary state between the Confirm event and the time, when the status data will be erased for good...
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.
SAP_UC hostname[40+1]
Sender hostname. Used only when the external program is server. In the client case the nwrfclib fills...
RFC_RC(SAP_API * RFC_ON_CHECK_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
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.
calendar day, 2-byte integer
struct _RFC_CONNECTION_PARAMETER * P_RFC_CONNECTION_PARAMETER
RFC_ATTRIBUTES * clientInfo
Pointer to an RFC_ATTRIBUTES structure containing information about this particular client connection...
RFC_RC(SAP_API * RFC_ON_CONFIRM_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
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.
double RFC_FLOAT
Floating point, double precision, RFCTYPE_FLOAT.
struct _RFC_EXCEPTION_DESC RFC_EXCEPTION_DESC
A problem while serializing or deserializing RFM parameters.
SAP_UC abapMsgType[1+1]
ABAP message type, e.g. 'E', 'A' or 'X'.
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.
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.
SAP_UC partnerSystemCodepage[4+1]
Partner system code page.
SAP_UC type[1+1]
2/3/E/R: R/2,R/3,Ext,Reg.Ext
Handle to a data container for a table.
Digits, fixed size, leading '0' padded.
RFC_UNIT_IDENTIFIER * unitIdentifier
If type is RFC_BACKGROUND_UNIT, this pointer is set to the unit identifier of the LUW...
void * RFC_METADATA_QUERY_RESULT_HANDLE
Handle to a metadata query result.
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.
DECL_EXP RFC_RC SAP_API RfcRemoveThroughputFromServer(RFC_SERVER_HANDLE serverHandle, RFC_ERROR_INFO *errorInfo)
Removes the throughput from an automated server.
RFC_SESSION_EVENT event
What has been done with that session.
struct _RFC_TRANSACTION_HANDLE * RFC_TRANSACTION_HANDLE
RFC_TYPE_DESC_HANDLE typeDescHandle
Handle to the structure definition in case this attribute is a structure or table.
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.
boxed structure, note: not supported by NW RFC lib
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.
SAP_UC program[40+1]
Sender Program (optional). Default is current executable name.
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.
Problems with the network connection (or backend broke down and killed the connection) ...
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.
unsigned char SAP_RAW
unsigned 1 byte integer
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.
SAP_RAW * sncAclKey
Canonical representation of the SNC name of the calling ABAP system, if SNC is enabled. Use this for comparisons and access checks.
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...
RFC_CHAR RFC_ABAP_NAME[30+1]
Name of ABAP function, function parameter or field in a structure. (null-terminated) ...
Error while converting a parameter to the correct data type.
timestamp/minute, 8-byte integer
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.
RFC_SERVER_STATE newState
New state of the given server.
void(SAP_API * RFC_SERVER_ERROR_LISTENER)(RFC_SERVER_HANDLE serverHandle, RFC_ATTRIBUTES *clientInfo, RFC_ERROR_INFO *errorInfo)
RFC_NUM abapMsgNumber[3+1]
ABAP message number.
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.
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.
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.
struct _RFC_SERVER_CONTEXT RFC_SERVER_CONTEXT
unsigned nucLength
Parameter length in bytes in a 1-byte-per-SAP_CHAR system.
short RFC_CDAY
Calandendar day: Day and month.
SAP_UC * ssoTicket
Logon ticket of the ABAP user, if SSO2 or assertion tickets are enabled.
Problems when dealing with functions provided by the cryptolibrary.
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.
Handle to an automated ("multi-count") RFC Server, which can manage multiple parallel listening serve...
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.
An error of any type has occurred. Unit needs to be resent.
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.
struct _RFC_THROUGHPUT_HANDLE * RFC_THROUGHPUT_HANDLE
SAP_RAW RFC_INT1
1 byte integer, RFCTYPE_INT1
SAP_UC sysNumber[2+1]
R/3 system number.
Handle to a data container for a structure.
DECL_EXP RFC_RC SAP_API RfcDestroyTransaction(RFC_TRANSACTION_HANDLE tHandle, RFC_ERROR_INFO *errorInfo)
Releases the memory of the transaction container.
RFC_CHAR RFC_CLASS_ATTRIBUTE_DEFVALUE[30+1]
Default value of a function module parameter. (null-terminated)
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.
DATA_CONTAINER_HANDLE RFC_TABLE_HANDLE
Error message raised when logon fails.
ABAP Message raised in ABAP function modules or in ABAP runtime of the backend (e.g Kernel)
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.
Instance attribute (object member)
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.
enum _RFC_SERVER_STATE RFC_SERVER_STATE
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)
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.
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.
RFC_BYTE optional
Specifies whether this parameter is defined as optional in SE37. 1 is optional, 0 non-optional...
Structure for reading (RfcGetExceptionDescByIndex() or RfcGetExceptionDescByName()) or defining (RfcA...
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.
SAP_UC key[128]
Error key.
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.
unsigned ucOffset
Field offset in bytes in a 2-byte-per-SAP_CHAR system.
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.
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.
int RFC_DTMONTH
date/month
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).
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.
DECL_EXP RFC_RC SAP_API RfcInit(void)
Initialization of internal variablesObsolete.
RFC_CLASS_ATTRIBUTE_DEFVALUE defaultValue
Default value as defined in SE37.
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.
struct _RFC_SERVER_HANDLE * RFC_SERVER_HANDLE
SAP_UC * sncName
SNC name of the calling ABAP system, if SNC is enabled. Use this only for display or logging purposes...
SAP_UC progName[128+1]
Name of the calling APAB program (report, module pool)
Structure returned by RfcGetConnectionAttributes() giving some information about the partner system o...
struct _RFC_EXCEPTION_DESC * P__RFC_EXCEPTION_DESC
Floating point, double precision.
unsigned peakBusyCount
The maximum number of requests the server has been processing in parallel since it has been created...
Handle to a cached metadata description of a structure or table type.
SAP_UC * progName
Name of the calling APAB program (report, module pool)
RFCTYPE type
Field data type.
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.
1-byte integer, unsigned. Obsolete, not directly supported by ABAP/4
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 Serv...
DATA_CONTAINER_HANDLE RFC_ABAP_OBJECT_HANDLE
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 si...
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.
"Something" went wrong, but I don't know what...
struct _RFC_CLASS_ATTRIBUTE_DESC RFC_CLASS_ATTRIBUTE_DESC
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.
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".
Handle to a data container for a tRFC/qRFC LUW.
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...
SAP_UC codepage[4+1]
Own code page.
DECL_EXP RFC_STRUCTURE_HANDLE SAP_API RfcCreateStructure(RFC_TYPE_DESC_HANDLE typeDescHandle, RFC_ERROR_INFO *errorInfo)
Creates a data container for a structure.
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.
The server has been stopped via RfcShutdownServer() and is currently not processing nor accepting any...
The called function module raised an E-, A- or X-Message.
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.
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.
Problems in the external program (e.g in the external server implementation)
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 conte...
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.
SAP_UC abapMsgV1[50+1]
ABAP message details field 1, corresponds to SY-MSGV1.
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.
DECL_EXP RFC_RC SAP_API RfcGetTimeByIndex(DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_TIME emptyTime, RFC_ERROR_INFO *errorInfo)
Reads a TIME field.
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.
RFC_TID tid
If type is RFC_TRANSACTIONAL or RFC_QUEUED, this field is filled with the 24 digit TID of the tRFC/qR...
timestamp/second, 8-byte integer
Compact structure containing relevant information about the x509 certificate provided by the RFC clie...
If the external program is the sender of the bgRFC unit, this structure is used to set a bunch of spe...
struct _RFC_SESSION_CHANGE RFC_SESSION_CHANGE
RFC_RC code
Error code. Should be the same as the API returns if the API has return type RFC_RC.
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...
struct _RFC_CONNECTION_PARAMETER RFC_CONNECTION_PARAMETER
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 r...
RfcListenAndDispatch did not receive an RFC request during the timeout period.
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.
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.
Failed to start and attach SAPGUI to the RFC connection.
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.
Everything O.K. Used by every function.
enum _RFC_ERROR_GROUP RFC_ERROR_GROUP
RFC_CHAR RFC_DATE[8]
Date, RFCTYPE_DATE (YYYYMMDD)
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...
The authentication handler (RFC_ON_AUTHENTICATION_CHECK) failed to authenticate the user trying to lo...
DECL_EXP RFC_RC SAP_API RfcGetVersionInternal(void)
This function is intended to be used by SAP Make-factory only.
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 informatio...
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.
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 managem...
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.
SAP_UC * client
ABAP Client ("Mandant")
short lock
Used only for type Q: If != 0, the unit will be written to the queue, but not processed. The unit can then be started manually in the ABAP debugger.
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.
void * extendedDescription
Not used by the NW RFC library. This parameter can be used by applications that want to store additio...
SAP_UC * serverName
This server's name as given when creating the server.
Allows to retrieve monitoring information about all busy or idle connections of an automated RFC Serv...
RFC_RC(SAP_API * RFC_SERVER_SESSION_CHANGE_LISTENER)(RFC_SERVER_HANDLE serverHandle, RFC_SESSION_CHANGE *sessionChange)
RFC_CHAR RFC_CLASS_NAME[30+1]
Default value of a function module parameter. (null-terminated)
DECL_EXP RFC_RC SAP_API RfcSubmitUnit(RFC_UNIT_HANDLE unitHandle, RFC_ERROR_INFO *errorInfo)
Executes a bgRFC unit in the backend.
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.
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().
enum _RFC_METADATA_OBJ_TYPE RFC_METADATA_OBJ_TYPE
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.
Means that all registrations are dead, e.g. because of gateway being down (in case of Registered Serv...
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.
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.
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.
unsigned decimals
Gives the number of decimals in case this attribute is a packed number (BCD)
DECL_EXP RFC_RC SAP_API RfcRemoveThroughputFromConnection(RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
Removes the throughput object from a connection.
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.
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...
_RFC_RC
RFC return codes used by all functions that do not directly return a handle.
SAP_UC reserved[17]
Reserved for later use.
SAP_RAW RFC_BYTE
Raw data, RFCTYPE_BYTE.
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.
Connection closed by the other side.
Handle to an RFC connection (client connection or server connection).
SAP_UC RFC_CHAR
Characters, RFCTYPE_CHAR.
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.
unsigned ucLength
Field length in bytes in a 2-byte-per-SAP_CHAR system.
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.
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.
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.
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.
enum _RFC_UNIT_STATE RFC_UNIT_STATE
Requesting or freeing critical sections or mutex failed.
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.
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.
struct _RFC_SECURITY_ATTRIBUTES RFC_SECURITY_ATTRIBUTES
2-byte integer. Obsolete, not directly supported by ABAP/4
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 si...
enum _RFC_CALL_TYPE RFC_CALL_TYPE
Problems in the RFC runtime of the external program (i.e "this" library)
_RFC_SERVER_STATE
Used in state information in order to indicate the current state of an RFC Server.
short RFC_TMINUTE
time/minute
_RFC_SESSION_EVENT
Used in a server session change listener to notify the application whenever a new user session on the...
short noCommitCheck
Per default the backend will check during execution of a unit, whether one.
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...
struct _RFC_UNIT_HANDLE * RFC_UNIT_HANDLE
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.
SAP_UC partnerType[1+1]
2/3/E/R: R/2,R/3,Ext,Reg.Ext
RFC_DIRECTION direction
Specifies whether the parameter is an input, output or bi-directional parameter.
Trying to move the current position after the last row of the table.
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...
IEEE 754r decimal floating point, 8 bytes.
RFC_CHAR RFC_TIME[6]
Time, RFCTYPE_TIME (HHMMSS)
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.
DECL_EXP RFC_RC SAP_API RfcDestroyUnit(RFC_UNIT_HANDLE unitHandle, RFC_ERROR_INFO *errorInfo)
Releases the memory of the bgRFC unit container.
Used in all functions of the NW RFC library to return detailed information about an error that has ju...
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()...
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...
SAP_UC cpicConvId[8+1]
CPI-C Conversation ID.
DECL_EXP RFC_RC SAP_API RfcSetGlobalLogonTimeout(unsigned logonTimeout, RFC_ERROR_INFO *errorInfo)
Sets the global logon timeout in seconds.
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.
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.
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.
RFC_CLASS_NAME declaringClass
Declaring class.
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.
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...
RFC_UNIT_ATTRIBUTES * unitAttributes
If type is RFC_BACKGROUND_UNIT, this pointer is set to the unit attributes of the LUW...
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.
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.
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.
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...
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).
Used in RfcGetServerContext() for obtaining more information about the current incoming function call...
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.
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().
struct _RFC_ATTRIBUTES RFC_ATTRIBUTES
RFC_SERVER_STATE state
This server's state.
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.
RFC_DATE sendingDate
Sending date in UTC (GMT-0). Used only when the external program is server. In the client case the nw...
Handle to a cached metadata description of a function module.
RFC_INT8 RFC_UTCMINUTE
timestamp/minute
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.
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.
SAP system runtime error (SYSTEM_FAILURE): Shortdump on the backend side.
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 ...
unsigned nucLength
Field length in bytes in a 1-byte-per-SAP_CHAR system.
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.
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 ...
This function call is part of a background LUW (bgRFC).
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.
Data has been persisted (or executed if type 'T') ok on receiver side. Confirm event may now be trigg...
RFC_RC(SAP_API * RFC_ON_ROLLBACK_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
Codepage conversion error.
struct _RFC_PARAMETER_DESC RFC_PARAMETER_DESC
DECL_EXP RFC_RC SAP_API RfcGetMaximumCpicConversations(unsigned *maxCpicConversations, RFC_ERROR_INFO *errorInfo)
Gets the maximum number of parallel CPIC conversations.
A stateful user session has been destroyed, either by the server itself via RfcSetServerStateful(), or by the backend via function module RFC_SET_REG_SERVER_PROPERTY, or because the connection was closed (e.g. the corresponding ABAP user session ended or explicitly closed the connection), or because the connection was broken by network error/system failure etc. The application should now clean up all memory/resources allocated for the given session ID.
Multi-count registered RFC Server.
DECL_EXP RFC_RC SAP_API RfcSetTraceType(SAP_UC *traceType, RFC_ERROR_INFO *errorInfo)
Changes the way the NW RFC lib writes trace files.
DECL_EXP RFC_RC SAP_API RfcDestroyAbapObject(RFC_ABAP_OBJECT_HANDLE objHandle, RFC_ERROR_INFO *errorInfo)
Destroys an ABAP object handle.
Notifies the application that an RFC Server changed its state (e.g.
time/minute, 2-byte integer
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.
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.
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).
The called function module raised an Exception (RAISE or MESSAGE ... RAISING)
RFC_ABAP_NAME name
Attribute name, null-terminated string.
SAP_ULLONG validTo
UTC Expiration date on which the certificate is no longer considered valid.
Structure for reading (RfcGetParameterDescByIndex() or RfcGetParameterDescByName()) or defining (RfcA...
SAP_UC client[3+1]
Client ("Mandant")
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.
SAP_UC dest[64+1]
RFC destination.
SAP_UC rel[4+1]
My system release.
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.
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.
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 o...
enum _RFC_DIRECTION RFC_DIRECTION
SAP_UC functionModuleName[128]
Name of the ABAP function module currently being processed over this connection (if the connection is...
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.
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.
unsigned registrationCount
The current number of active registrations (in case of a Registered Server) or the maximum number of ...
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.
A function call came in from the backend and started processing. This event can probably be ignored b...
RFC_ABAP_NAME name
Field name, null-terminated string.
For convenience combines a unit's ID and its type.
charU SAP_UC
unicode character
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.
SAP_UC user[12+1]
Sender User (optional). Default is current operating system User.
RFC_CLASS_ATTRIBUTE_DESCRIPTION description
Attribute description, null terminated, may be null.
SAP_UC partnerBytesPerChar[1+1]
Number of bytes per character in the backend's current codepage. Note this is different from the sema...
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.
RFC_PARAMETER_DEFVALUE defaultValue
Default value as defined in SE37.
RFC_RC(SAP_API * RFC_ON_COMMIT_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
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.
Import and export parameter. This corresponds to ABAP CHANGING parameter.
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.
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).
void * extendedDescription
This field can be used by the application programmer (i.e. you) to store arbitrary extra information...
The called function module raised a class based exception.
The given buffer was to small to hold the entire parameter. Data has been truncated.
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.
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.
enum _RFC_SESSION_EVENT RFC_SESSION_EVENT
SAP_UC * functionName
Name of the called function module.
struct _RFC_CLASS_DESC_HANDLE * RFC_CLASS_DESC_HANDLE
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 con...
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.
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.
DATA_CONTAINER_HANDLE RFC_STRUCTURE_HANDLE
Handle to a data container for a bgRFC LUW.
RFC_CHAR RFC_PARAMETER_TEXT[79+1]
Parameter description for a function module parameter. (null-terminated)
Authentication with assertion ticket.
The server object has been created, but nothing has been done with it yet.
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.
No information for this unit ID and unit type can be found in the target system. If you are sure...
Authentication with user and password.
struct _RFC_SERVER_ATTRIBUTES RFC_SERVER_ATTRIBUTES
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.
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.
The server has been started, but startup is not yet complete and the server is not yet able to receiv...
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...
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.
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.
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.
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...
struct _RFC_CONNECTION_HANDLE * RFC_CONNECTION_HANDLE
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.
The server has been stopped via RfcShutdownServer() (with a timeout > 0) and is still busy processing...
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.
DECL_EXP const SAP_UC *SAP_API RfcGetTypeAsString(RFCTYPE type)
Converts an RFCTYPE data type indicator to a human readable string for logging purposes.
unsigned nucLength
Attribute length in bytes in a 1-byte-per-SAP_CHAR system.
struct RFC_DATA_CONTAINER * DATA_CONTAINER_HANDLE
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.
RFC_CLASS_ATTRIBUTE_TYPE attributeType
The attribute type tells you, whether this attribute is an instance attribute, a class attribute or a...
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.
SAP_UC RFC_UNITID[RFC_UNITID_LN+1]
Used for Unit IDs in inbound and outbound bgRFC.
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.
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.
void(SAP_API * RFC_SERVER_STATE_CHANGE_LISTENER)(RFC_SERVER_HANDLE serverHandle, RFC_STATE_CHANGE *stateChange)
IEEE 754r decimal floating point, 16 bytes.
DECL_EXP RFC_TABLE_HANDLE SAP_API RfcCreateTable(RFC_TYPE_DESC_HANDLE typeDescHandle, RFC_ERROR_INFO *errorInfo)
Creates a data container for a table.
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.
SAP_UC sessionID[30+1]
Session ID of the user session in question.
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.
Export parameter. This corresponds to ABAP EXPORTING parameter.
unsigned currentBusyCount
The number of requests currently being processed.
RFC_RC(SAP_API * RFC_SERVER_FUNCTION)(RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
struct _RFC_STATE_CHANGE RFC_STATE_CHANGE
_RFC_CLASS_ATTRIBUTE_TYPE
Determines the type of an ABAP Object attribute.
Error when dealing with io functions, streams etc.
DECL_EXP RFC_RC SAP_API RfcDestroyStructure(RFC_STRUCTURE_HANDLE structHandle, RFC_ERROR_INFO *errorInfo)
Releases all memory for a particular structure.
Authorization check error.
const SAP_UC * value
The value of the given parameter.
RFC_RC(SAP_API * RFC_ON_AUTHENTICATION_CHECK)(RFC_ATTRIBUTES rfcAttributes, RFC_AUTHENTICATION_HANDLE authenticationHandle, RFC_ERROR_INFO *errorInfo)
struct _RFC_UNIT_ATTRIBUTES RFC_UNIT_ATTRIBUTES
The operation is not supported on that handle at the current point of time (e.g. trying a callback on...
RFCTYPE type
Parameter data type.
Function or structure definition not found (Metadata API)
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.
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.
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.
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...
unsigned ucLength
Parameter length in bytes in a 2-byte-per-SAP_CHAR system.
Variable-length, null-terminated string.
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.
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 o...
DECL_EXP RFC_RC SAP_API RfcMoveToPreviousRow(RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
Decrements the table cursor by one.
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.
RFC_TYPE_DESC_HANDLE typeDescHandle
Pointer to an RFC_STRUCTURE_DESC structure for the nested sub-type if the type field is RFCTYPE_STRUC...
Error in external custom code. (E.g. in the function handlers or tRFC handlers.) Results in SYSTEM_FA...
RFC_TYPE_DESC_HANDLE typeDescHandle
Handle to the structure definition in case this parameter is a structure or table.
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.
No authentication data was provided.
RFC_CHAR RFC_PARAMETER_DEFVALUE[30+1]
Default value of a function module parameter. (null-terminated)
SAP_UC isoLanguage[2+1]
2-byte ISO-Language
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.
This function call is part of a transactional LUW (tRFC).
SAP_UC abapMsgV4[50+1]
ABAP message details field 4, corresponds to SY-MSGV4.
RFC_RC(SAP_API * RFC_PM_CALLBACK)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *functionName, SAP_RAW *eppBuffer, size_t eppBufferSize, size_t *eppLength)
Structure for reading (RfcGetParameterDescByIndex() or RfcGetParameterDescByName()) or defining (RfcA...
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.
const SAP_UC * signature
Fingerprint of the public key.
struct _RFC_CERTIFICATE_DATA * next
Pointer to the next certificate in the chain if any.
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.
RFC_PARAMETER_TEXT parameterText
Description text of the parameter as defined in SE37. Null-terminated string.
short unitHistory
If != 0, the backend will keep a "history" for this unit.
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.
const SAP_UC * issuer
Distinguished name of the certificate authority (CA) that issued the certificate. ...
time_t lastActivity
Point of time of the last activity on this connection (if the connection is currently idle)...
RFC_INT8 RFC_UTCSECOND
timestamp/second
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.
DecFloat16 RFC_DECF16
IEEE 754r decimal floating point, 8 bytes.
SAP_UC partnerRel[4+1]
Partner system release.
It's a standard synchronous RFC call.
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.
unsigned decimals
Gives the number of decimals in case of a packed number (BCD)
struct _RFC_TYPE_DESC_HANDLE * RFC_TYPE_DESC_HANDLE
RFC_TIME sendingTime
Sending time in UTC (GMT-0). Used only when the external program is server. In the client case the nw...
RFC_RC(SAP_API * RFC_ON_GET_UNIT_STATE)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier, RFC_UNIT_STATE *unitState)
SAP_UC abapMsgV2[50+1]
ABAP message details field 2, corresponds to SY-MSGV2.
struct _RFC_PARAMETER_DESC * P_RFC_PARAMETER_DESC
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.
SAP_UC tCode[20+1]
Sender Transaction Code (optional). Default is "".
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 mem...
enum _RFC_CLASS_ATTRIBUTE_TYPE RFC_CLASS_ATTRIBUTE_TYPE
Structure for reading (RfcGetFieldDescByIndex() or RfcGetFieldDescByName()) or defining (RfcAddTypeFi...
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...
unsigned sncAclKeyLength
Length of the above SNC AclKey.
SAP_UC kernelRel[4+1]
Partner kernel release.
SAP_UC sysId[8+1]
R/3 system ID.
DECL_EXP RFC_RC SAP_API RfcGetDateByIndex(DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_DATE emptyDate, RFC_ERROR_INFO *errorInfo)
Reads a DATE field.
struct _RFC_ERROR_INFO RFC_ERROR_INFO
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.
short RFC_INT2
2 byte integer, RFCTYPE_INT2
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.
Packed number, any length between 1 and 16 bytes.
Trying to move the current position before the first row of the table.
struct _RFC_CLASS_ATTRIBUTE_DESC * P_RFC_CLASS_ATTRIBUTE_DESC
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...
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.
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.
RFCTYPE type
Attribute data type.
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.
DECL_EXP const SAP_UC *SAP_API RfcGetVersion(unsigned *majorVersion, unsigned *minorVersion, unsigned *patchLevel)
Get information about currently loaded sapnwrfc library.
RFC_ERROR_GROUP group
Error group.
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.
Raw data, binary, fixed length, zero padded.
DECL_EXP RFC_RC SAP_API RfcSetMessageServerResponseTimeout(unsigned timeout, RFC_ERROR_INFO *errorInfo)
Set Timeout for Message Server Response.
_RFC_METADATA_OBJ_TYPE
An RFC_METADATA_OBJ_TYPE indicates whether in a call to RfcGetMetadataQueryFailedEntry() or RfcGetMet...
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.
SAP_UC sessionID[33]
Contains a unique zero-terminated session ID, identifying the ABAP or external user session...
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 obje...
DECL_EXP RFC_STRUCTURE_HANDLE SAP_API RfcCloneStructure(RFC_STRUCTURE_HANDLE srcStructureHandle, RFC_ERROR_INFO *errorInfo)
Clones a sructure including the data in it.
RFC_RC(SAP_API * RFC_ON_ROLLBACK_UNIT)(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
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.
SAP_UC rfcRole[1+1]
C/S: RFC Client / RFC Server.
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 clos...
struct _RFC_AUTHENTICATION_HANDLE * RFC_AUTHENTICATION_HANDLE
struct _RFC_ATTRIBUTES * P_RFC_ATTRIBUTES
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.
unsigned ucLength
Attribute length in bytes in a 2-byte-per-SAP_CHAR system.
RFC_RC(SAP_API * RFC_ON_CHECK_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
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.
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 backen...
Handle to a cached metadata description of a class.
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.
SAP_ULLONG validFrom
UTC Starting date since the certificate is valid.
SAP_UC abapMsgV3[50+1]
ABAP message details field 3, corresponds to SY-MSGV3.
SAP_UC message[512]
Error message (exception text as defined in SE37)
DECL_EXP RFC_RC SAP_API RfcReloadIniFile(RFC_ERROR_INFO *errorInfo)
Reloads the contents of the sapnwrfc.ini file into memory.
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 wa...
SAP_UC trace[1+1]
Trace level (0-3)
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.
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.
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.
DATA_CONTAINER_HANDLE RFC_FUNCTION_HANDLE
SAP_UC message[512]
Error message.
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.
Error in Network & Communication layer.
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.
boxed client dependent structure, note: not supported by NW RFC lib
An invalid handle was passed to an API call.
A new stateful user session has been created on the server. This can be done either by the server its...
Inbound tRFC Call already executed (needs to be returned from RFC_ON_CHECK_TRANSACTION in case the TI...
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.
DECL_EXP RFC_RC SAP_API RfcSetTraceEncoding(SAP_UC *traceEncoding, RFC_ERROR_INFO *errorInfo)
Changes the character encoding to be used in trace files.
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 ...
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.
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.
struct _RFC_FIELD_DESC RFC_FIELD_DESC
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...
_RFC_ERROR_GROUP
Groups several error conditions together, depending on the "layer" to which they belong.
date/week, 4-byte integer
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.
_RFCTYPE
RFCTYPE is used in field descriptions (RFC_FIELD_DESC) and parameter descriptions (RFC_PARAMETER_DESC...
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.
DecFloat34 RFC_DECF34
IEEE 754r decimal floating point, 16 bytes.
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.
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).
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 ali...
struct _RFC_CERTIFICATE_DATA RFC_CERTIFICATE_DATA
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).
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.
The received data has an unsupported format.
enum _RFC_AUTHENTICATION_TYPE RFC_AUTHENTICATION_TYPE
A function call completed processing. This event can probably be ignored by 99% of the applications...
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.
struct _RFC_UNIT_IDENTIFIER RFC_UNIT_IDENTIFIER
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...
Structure passed to the RFC_SERVER_AUTHORIZATION_HANDLER giving some security related information abo...
const SAP_UC * name
The name of the connection parameter, like ashost, user, client.
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.
void * extendedDescription
This field can be used by the application programmer (i.e. you) to store arbitrary extra information...
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.
An invalid parameter was passed to an API call, (e.g. invalid name, type or length) ...
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.
1-byte or multibyte character, fixed size, blank padded
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 fu...
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.
SAP_UC client[3+1]
Sender Client ("Mandant") (optional). Default is "000".
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 t...
SAP_UC partnerCodepage[4+1]
Partner code page.
_RFC_CALL_TYPE
Used in RfcGetServerContext() for inquiring the type of an incoming function call from the backend...
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.
Requesting or freeing critical sections or mutex failed.
timestamp/long, 8-byte integer
Error when dealing with functions provided by the cryptolibrary.
RFC_RC(SAP_API * RFC_ON_AUTHORIZATION_CHECK)(RFC_CONNECTION_HANDLE rfcHandle, RFC_SECURITY_ATTRIBUTES *secAttributes, RFC_ERROR_INFO *errorInfo)
Unable to logon to SAP system. Invalid password, user locked, etc.
unsigned isReadOnly
This attribute is read only if isReadOnly != 0.
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 ...
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.
RFC_RC(SAP_API * RFC_ON_CONFIRM_TRANSACTION)(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
enum _RFC_PROTOCOL_TYPE RFC_PROTOCOL_TYPE
SAP_UC abapMsgClass[20+1]
ABAP message ID , or class.
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.
SAP_UC partnerHost[100+1]
Partner host name.
int RFC_TSECOND
time/second
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.
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.
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...
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 ...
DECL_EXP RFC_RC SAP_API RfcDestroyFunction(RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
Releases all memory used by the data container.
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.
Handle to a data container for an ABAP object instance.
unsigned nucOffset
Field offset in bytes in a 1-byte-per-SAP_CHAR system.
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.
Handle to a general data container (structure, table or function module).
DECL_EXP RFC_RC SAP_API RfcDestroyThroughput(RFC_THROUGHPUT_HANDLE throughput, RFC_ERROR_INFO *errorInfo)
Releases all memory used by the throughput object.
RFC_SERVER_STATE oldState
Previous state of the given server.
DECL_EXP RFC_RC SAP_API RfcSetMaximumCpicConversations(unsigned maxCpicConversations, RFC_ERROR_INFO *errorInfo)
Sets the maximum number of concurrent CPIC conversations.
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.
RFC_RC(SAP_API * RFC_FUNC_DESC_CALLBACK)(SAP_UC const *functionName, RFC_ATTRIBUTES rfcAttributes, RFC_FUNCTION_DESC_HANDLE *funcDescHandle)
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.
SAP_UC key[128]
Exception key.
RFC_INT8 RFC_UTCLONG
timestamp/long
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.
_RFC_UNIT_STATE
Used in RfcGetUnitState() for inquiring the processing status of a background Unit that we (or someon...
SAP_UC host[100+1]
Own host name.
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.
struct _RFC_SERVER_MONITOR_DATA RFC_SERVER_MONITOR_DATA
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.
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.
unsigned isStateful
Specifies whether the current server connection is processing stateful RFC requests (assigned permane...
int isActive
1, if this connection is currently processing a call, 0, if it is idle.
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...
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 ...
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.
struct _RFC_FUNCTION_DESC_HANDLE * RFC_FUNCTION_DESC_HANDLE
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.
DECL_EXP RFC_RC SAP_API RfcDeleteAllRows(RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
Deletes all rows from the table.
unsigned decimals
If the field is of type "packed number" (BCD), this member gives the number of decimals.
Structure containing the error that occurred during the metadata query.
SAP_UC language[2+1]
Language.
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.
_RFC_AUTHENTICATION_TYPE
Type of authentication method used by the backend authentication handler (RFC_ON_AUTHENTICATION_CHECK...
ABAP Exception raised in ABAP function modules.
_RFC_DIRECTION
Used in RFC_PARAMETER_DESC::direction for specifying the direction of a function module parameter...
DECL_EXP RFC_RC SAP_API RfcCleanup(void)
Freeing of internal variablesObsolete.
DECL_EXP RFC_RC SAP_API RfcMoveToNextRow(RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
Increments the table cursor by one.
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.
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...
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.
SAP_UC partnerIPv6[45+1]
Partner IPv6.
_RFC_PROTOCOL_TYPE
Used in state information in order to indicate the different types of RFC programs, RFC Server types, etc.
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.
Import parameter. This corresponds to ABAP IMPORTING parameter.
SAP_UC * sysId
Calling ABAP system ID.
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.
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.
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.
date/day , 4-byte integer
struct _RFC_SECURITY_ATTRIBUTES * P_RFC_SECURITY_ATTRIBUTES
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 m...
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...
SAP_UC partnerIP[15+1]
Partner IP.
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 authenticatio...
DECL_EXP RFC_RC SAP_API RfcSetCpicKeepalive(unsigned timeout, RFC_ERROR_INFO *errorInfo)
Activates the CPIC keepalive.
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 record...
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.
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.
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.
Variable-length raw string, length in bytes.
int isStateful
If this connection is currently processing a call, this flag indicates, whether it is a stateful or s...
Means at least one registration is still able to accept request from the gateway (in case of Register...
Information about an RFC Server returned by RfcGetServerAttributes().
RFC_CHAR RFC_NUM
Digits, RFCTYPE_NUM /*SAPUNICODEOK_CHARTYPE*/.
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.
struct _RFC_METADATA_QUERY_RESULT_ENTRY RFC_METADATA_QUERY_RESULT_ENTRY