RfcGetAttributes

int SAP_API RfcGetAttributes(RFC_HANDLE handle,
RFC_ATTRIBUTES* rfc_attributes);

This call returns some information about an RFC connection, such as host name, service of the connected application server and SAP gateway, the R/3 system number, client, user and language.

RfcGetAttributes can be used in an RFC client or server program.

The RFC library can only know these attributes after this RFC connection is established and at least one RFC function is called. Therefore, it should be called after an RfcReceive in an RFC client program or after RfcGetData in an RFC server program.

Return Values:

Function Parameters:

See the delivered files saprfc.hlp, saprfc.h, srfctest.c or srfcserv.c for more details.