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_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_CONNECTION_HANDLE
 Handle to an RFC connection (client connection or server connection). 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 occurred during metadata query. More...

Defines

#define SAP_API
#define RFC_TID_LN   24
#define RFC_UNITID_LN   32

Typedefs

typedef SAP_UC RFC_CHAR
 Characters, RFCTYPE_CHAR.
typedef RFC_CHAR RFC_NUM
 Digits, RFCTYPE_NUM /*SAPUNICODEOK_CHARTYPE*/.
typedef SAP_RAW RFC_BYTE
 Raw data, RFCTYPE_BYTE.
typedef SAP_RAW RFC_BCD
 Packed numbers, RFCTYPE_BCD /*SAPUNICODEOK_CHARTYPE*/.
typedef SAP_RAW RFC_INT1
 1 byte integer, RFCTYPE_INT1
typedef short RFC_INT2
 2 byte integer, RFCTYPE_INT2
typedef int RFC_INT
 4 byte integer, RFCTYPE_INT
typedef double RFC_FLOAT
 Floating point, double precision, RFCTYPE_FLOAT.
typedef RFC_CHAR RFC_DATE [8]
 Date, RFCTYPE_DATE (YYYYMMDD).
typedef RFC_CHAR RFC_TIME [6]
 Time, RFCTYPE_TIME (HHMMSS).
typedef DecFloat16 RFC_DECF16
 IEEE 754r decimal floating point, 8 bytes.
typedef DecFloat34 RFC_DECF34
 IEEE 754r decimal floating point, 16 bytes.
typedef RFC_INT8 RFC_UTCLONG
 timestamp/long
typedef RFC_INT8 RFC_UTCSECOND
 timestamp/second
typedef RFC_INT8 RFC_UTCMINUTE
 timestamp/minute
typedef int RFC_DTDAY
 date/day
typedef int RFC_DTWEEK
 date/week
typedef int RFC_DTMONTH
 date/month
typedef int RFC_TSECOND
 time/second
typedef short RFC_TMINUTE
 time/minute
typedef short RFC_CDAY
 Calandendar day: Day and month.
typedef SAP_UC RFC_TID [RFC_TID_LN+1]
 Used for TIDs in inbound and outbound tRFC/qRFC.
typedef SAP_UC RFC_UNITID [RFC_UNITID_LN+1]
 Used for Unit IDs in inbound and outbound bgRFC.
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).
typedef RFC_CHAR RFC_PARAMETER_DEFVALUE [30+1]
 Default value of a function module parameter. (null-terminated).
typedef RFC_CHAR RFC_PARAMETER_TEXT [79+1]
 Parameter description for a function module parameter. (null-terminated).
typedef enum _RFC_CALL_TYPE RFC_CALL_TYPE
typedef struct _RFC_SERVER_CONTEXT RFC_SERVER_CONTEXT
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_CONNECTION_HANDLE
RFC_CONNECTION_HANDLE
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).
typedef RFC_CHAR RFC_CLASS_NAME [30+1]
 Default value of a function module parameter. (null-terminated).
typedef RFC_CHAR RFC_CLASS_ATTRIBUTE_DESCRIPTION [511+1]
 Default value of a function module parameter. (null-terminated).
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_API * RFC_SERVER_FUNCTION )(RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
typedef RFC_RC(SAP_API * RFC_ON_CHECK_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
typedef RFC_RC(SAP_API * RFC_ON_COMMIT_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
typedef RFC_RC(SAP_API * RFC_ON_ROLLBACK_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
typedef RFC_RC(SAP_API * RFC_ON_CONFIRM_TRANSACTION )(RFC_CONNECTION_HANDLE rfcHandle, SAP_UC const *tid)
typedef RFC_RC(SAP_API * RFC_FUNC_DESC_CALLBACK )(SAP_UC const *functionName, RFC_ATTRIBUTES rfcAttributes, RFC_FUNCTION_DESC_HANDLE *funcDescHandle)
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)
typedef RFC_RC(SAP_API * RFC_ON_CHECK_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
typedef RFC_RC(SAP_API * RFC_ON_COMMIT_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
typedef RFC_RC(SAP_API * RFC_ON_ROLLBACK_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
typedef RFC_RC(SAP_API * RFC_ON_CONFIRM_UNIT )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier)
typedef RFC_RC(SAP_API * RFC_ON_GET_UNIT_STATE )(RFC_CONNECTION_HANDLE rfcHandle, RFC_UNIT_IDENTIFIER const *identifier, RFC_UNIT_STATE *unitState)
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)
typedef RFC_RC(SAP_API * RFC_ON_AUTHORIZATION_CHECK )(RFC_CONNECTION_HANDLE rfcHandle, RFC_SECURITY_ATTRIBUTES *secAttributes, RFC_ERROR_INFO *errorInfo)
typedef void * RFC_METADATA_QUERY_RESULT_HANDLE
 Handle to a metadata query result.
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_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
}
 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_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 }
 RFC_METADATA_OBJ_TYPE is either function or type or class and is used in RfcGetMetadataQueryFailedEntry() and RfcGetMetadataQuerySucceededEntry(). More...

Functions

DECL_EXP RFC_RC SAP_API RfcInit (void)
 Initialization of internal variables

Sets up the internal state of the sapnwrfc library and initially reads and evaluates the sapnwrfc.ini file.

DECL_EXP const SAP_UC *SAP_API RfcGetVersion (unsigned *majorVersion, unsigned *minorVersion, unsigned *patchLevel)
 Get information about currently loaded sapnwrfc library.
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 RfcReloadIniFile (RFC_ERROR_INFO *errorInfo)
 Loads the contents of the sapnwrfc.ini file into memory.
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 RfcSetTraceEncoding (SAP_UC *traceEncoding, RFC_ERROR_INFO *errorInfo)
 Changes the character encoding to be used in trace files.
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 RfcSetTraceType (SAP_UC *traceType, RFC_ERROR_INFO *errorInfo)
 Changes the way the NW RFC lib writes trace files.
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.
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_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.
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 const SAP_UC *SAP_API RfcGetTypeAsString (RFCTYPE type)
 Converts an RFCTYPE data type indicator to a human readable string for logging purposes.
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_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.
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.
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.
DECL_EXP RFC_RC SAP_API RfcCloseConnection (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 Closes an RFC connection

Can be used to close client connections as well as server connections, when they are no longer needed.

DECL_EXP RFC_RC SAP_API RfcIsConnectionHandleValid (RFC_CONNECTION_HANDLE rfcHandle, int *isValid, RFC_ERROR_INFO *errorInfo)
 Checks an RFC connection

Can 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.

DECL_EXP RFC_RC SAP_API RfcResetServerContext (RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO *errorInfo)
 RFC_RC SAP_API RfcResetServerContext

Resets the SAP server context ("user context / ABAP session context") associated with the given client connection, but does not close the connection.

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 RfcGetConnectionAttributes (RFC_CONNECTION_HANDLE rfcHandle, RFC_ATTRIBUTES *attr, RFC_ERROR_INFO *errorInfo)
 Returns details about the current client or server connection.
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.
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.
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.
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.
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.
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.
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 RfcInvoke (RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO *errorInfo)
 Executes a function module in the backend system.
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.
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.
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 RfcSubmitTransaction (RFC_TRANSACTION_HANDLE tHandle, RFC_ERROR_INFO *errorInfo)
 Executes the entire LUW in the backend system as an "atomic unit".
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.
DECL_EXP RFC_RC SAP_API RfcDestroyTransaction (RFC_TRANSACTION_HANDLE tHandle, RFC_ERROR_INFO *errorInfo)
 Releases the memory of the transaction container.
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_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.
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.
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 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 RfcDestroyUnit (RFC_UNIT_HANDLE unitHandle, RFC_ERROR_INFO *errorInfo)
 Releases the memory of the bgRFC unit container.
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.
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.
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.
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 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.
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.
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 RfcInstallAuthorizationCheckHandler (RFC_ON_AUTHORIZATION_CHECK onAuthorizationCheck, RFC_ERROR_INFO *errorInfo)
 Installs an optional callback function for performing authorization checks on incoming function calls.
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_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 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.
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.
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_STRUCTURE_HANDLE
SAP_API 
RfcCloneStructure (RFC_STRUCTURE_HANDLE srcStructureHandle, RFC_ERROR_INFO *errorInfo)
 Clones a sructure including the data in it.
DECL_EXP RFC_RC SAP_API RfcDestroyStructure (RFC_STRUCTURE_HANDLE structHandle, RFC_ERROR_INFO *errorInfo)
 Releases all memory for a particular structure.
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_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 RfcDestroyTable (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Releases the memory of a table and all its lines.
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.
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 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.
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_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.
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.
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.
DECL_EXP RFC_RC SAP_API RfcDeleteAllRows (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Deletes all rows from the table.
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 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 RfcMoveToNextRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Increments the table cursor by one.
DECL_EXP RFC_RC SAP_API RfcMoveToPreviousRow (RFC_TABLE_HANDLE tableHandle, RFC_ERROR_INFO *errorInfo)
 Decrements the table cursor by one.
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.
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.
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.
DECL_EXP RFC_RC SAP_API RfcDestroyAbapObject (RFC_ABAP_OBJECT_HANDLE objHandle, RFC_ERROR_INFO *errorInfo)
 Destroys an ABAP object handle.
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.
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 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).
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).
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.
DECL_EXP RFC_RC SAP_API RfcGetDateByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_DATE emptyDate, RFC_ERROR_INFO *errorInfo)
 Reads a DATE field.
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.
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 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.
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.
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.
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 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.
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.
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).
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 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.
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.
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.
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 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.
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 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 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 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.
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 RfcGetStructure (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, RFC_STRUCTURE_HANDLE *structHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to a structure.
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.
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.
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.
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 RfcGetAbapObjectByIndex (DATA_CONTAINER_HANDLE dataHandle, unsigned index, RFC_ABAP_OBJECT_HANDLE *objHandle, RFC_ERROR_INFO *errorInfo)
 Returns a handle to an abap object.
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 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.
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.
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_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.
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.
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.
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 RfcSetDate (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_DATE date, RFC_ERROR_INFO *errorInfo)
 Sets the value of a DATE field.
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 RfcSetTime (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_TIME time, RFC_ERROR_INFO *errorInfo)
 Sets the value of a TIME field.
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.
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.
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.
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 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.
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_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.
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.
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 RfcSetInt2 (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const *name, const RFC_INT2 value, RFC_ERROR_INFO *errorInfo)
 Sets the value of an INT2 field.
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.
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.
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.
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.
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 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.
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 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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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 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.
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.
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.
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.
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.
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.
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_CLASS_DESC_HANDLE
SAP_API 
RfcGetCachedClassDesc (SAP_UC const *repositoryID, SAP_UC const *className, RFC_ERROR_INFO *errorInfo)
 Looks for a cached class description.
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 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.
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.
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 RfcAddTypeField (RFC_TYPE_DESC_HANDLE typeHandle, const RFC_FIELD_DESC *fieldDescr, RFC_ERROR_INFO *errorInfo)
 Adds a new field to the type description.
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.
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.
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.
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 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 RfcGetTypeLength (RFC_TYPE_DESC_HANDLE typeHandle, unsigned *nucByteLength, unsigned *ucByteLength, RFC_ERROR_INFO *errorInfo)
 Returns the total byte length of a structure definition.
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.
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.
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 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.
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_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.
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.
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 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 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.
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.
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 RfcIsBASXMLSupported (RFC_FUNCTION_DESC_HANDLE funcDesc, int *isEnabled, RFC_ERROR_INFO *errorInfo)
 Returns whether this function module has been enabled for basXML.
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 RfcEnableAbapClassException (RFC_FUNCTION_HANDLE funcHandle, RFC_CONNECTION_HANDLE rfcHandleRepository, RFC_ERROR_INFO *errorInfo)
 Enables this function handle for ABAP class exception support.
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.
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 RfcGetClassName (RFC_CLASS_DESC_HANDLE classDesc, RFC_ABAP_NAME bufferForName, RFC_ERROR_INFO *errorInfo)
 Returns the class's DDIC 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.
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_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 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.
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 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 RfcAddParentClass (RFC_CLASS_DESC_HANDLE classDesc, const RFC_CLASS_NAME name, RFC_ERROR_INFO *errorInfo)
 Sets the parent classes of the given class.
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 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 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 RfcDestroyClassDesc (RFC_CLASS_DESC_HANDLE classHandle, RFC_ERROR_INFO *errorInfo)
 Deletes the class description and releases the allocated resources.
DECL_EXP
RFC_METADATA_QUERY_RESULT_HANDLE
SAP_API 
RfcCreateMetadataQueryResult (RFC_ERROR_INFO *errorInfo)
 Creates the metadata query result

Metadata query result contains the names of functions, types and classes queried successfully, or errors, if the query failed.

DECL_EXP RFC_RC SAP_API RfcDestroyMetadataQueryResult (RFC_METADATA_QUERY_RESULT_HANDLE handle, RFC_ERROR_INFO *errorInfo)
 Destroys the metadata query result

Releases all resources allocated by the metadata query result.

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 result

Returns the number of succeeded and failed entries in the metadata query result.

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 result

Returns the object name and the error text, if an error occurred during the query.

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 result

Returns the object name queried successfully.

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.


Define Documentation

#define RFC_TID_LN   24

Definition at line 77 of file sapnwrfc.h.

#define RFC_UNITID_LN   32

Definition at line 78 of file sapnwrfc.h.

#define SAP_API

Definition at line 23 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 313 of file sapnwrfc.h.

Definition at line 400 of file sapnwrfc.h.

typedef SAP_RAW RFC_BCD

Packed numbers, RFCTYPE_BCD /*SAPUNICODEOK_CHARTYPE*/.

Definition at line 58 of file sapnwrfc.h.

typedef SAP_RAW RFC_BYTE

Raw data, RFCTYPE_BYTE.

Definition at line 57 of file sapnwrfc.h.

typedef short RFC_CDAY

Calandendar day: Day and month.

Definition at line 75 of file sapnwrfc.h.

typedef SAP_UC RFC_CHAR

Characters, RFCTYPE_CHAR.

Definition at line 55 of file sapnwrfc.h.

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

Definition at line 520 of file sapnwrfc.h.

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

Definition at line 522 of file sapnwrfc.h.

typedef RFC_CHAR RFC_CLASS_NAME[30+1]

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

Definition at line 521 of file sapnwrfc.h.

typedef RFC_CHAR RFC_DATE[8]

Date, RFCTYPE_DATE (YYYYMMDD).

Definition at line 63 of file sapnwrfc.h.

typedef DecFloat16 RFC_DECF16

IEEE 754r decimal floating point, 8 bytes.

Definition at line 65 of file sapnwrfc.h.

typedef DecFloat34 RFC_DECF34

IEEE 754r decimal floating point, 16 bytes.

Definition at line 66 of file sapnwrfc.h.

typedef int RFC_DTDAY

date/day

Definition at line 70 of file sapnwrfc.h.

typedef int RFC_DTMONTH

date/month

Definition at line 72 of file sapnwrfc.h.

typedef int RFC_DTWEEK

date/week

Definition at line 71 of file sapnwrfc.h.

typedef double RFC_FLOAT

Floating point, double precision, RFCTYPE_FLOAT.

Definition at line 62 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 557 of file sapnwrfc.h.

Definition at line 386 of file sapnwrfc.h.

typedef int RFC_INT

4 byte integer, RFCTYPE_INT

Definition at line 61 of file sapnwrfc.h.

typedef SAP_RAW RFC_INT1

1 byte integer, RFCTYPE_INT1

Definition at line 59 of file sapnwrfc.h.

typedef short RFC_INT2

2 byte integer, RFCTYPE_INT2

Definition at line 60 of file sapnwrfc.h.

Handle to a metadata query result.

Definition at line 4248 of file sapnwrfc.h.

typedef RFC_CHAR RFC_NUM

Digits, RFCTYPE_NUM /*SAPUNICODEOK_CHARTYPE*/.

Definition at line 56 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 569 of file sapnwrfc.h.

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

Definition at line 552 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 560 of file sapnwrfc.h.

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

Definition at line 553 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 561 of file sapnwrfc.h.

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

Definition at line 555 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 563 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 564 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 565 of file sapnwrfc.h.

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

Definition at line 554 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 562 of file sapnwrfc.h.

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

Definition at line 314 of file sapnwrfc.h.

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

Definition at line 315 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 558 of file sapnwrfc.h.

typedef enum _RFC_RC RFC_RC

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

Definition at line 551 of file sapnwrfc.h.

Definition at line 379 of file sapnwrfc.h.

Definition at line 393 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 79 of file sapnwrfc.h.

typedef RFC_CHAR RFC_TIME[6]

Time, RFCTYPE_TIME (HHMMSS).

Definition at line 64 of file sapnwrfc.h.

typedef short RFC_TMINUTE

time/minute

Definition at line 74 of file sapnwrfc.h.

typedef int RFC_TSECOND

time/second

Definition at line 73 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 80 of file sapnwrfc.h.

typedef RFC_INT8 RFC_UTCLONG

timestamp/long

Definition at line 67 of file sapnwrfc.h.

typedef RFC_INT8 RFC_UTCMINUTE

timestamp/minute

Definition at line 69 of file sapnwrfc.h.

typedef RFC_INT8 RFC_UTCSECOND

timestamp/second

Definition at line 68 of file sapnwrfc.h.

typedef enum _RFCTYPE RFCTYPE


Generated on Fri Aug 29 16:54:52 2014 for SAP by  doxygen 1.5.5