RfcGetName

This call is used by the server program to identify the RFC function to be performed, and the name of the function is returned:

RFC_RC SAP_API RfcGetName(RFC_HANDLE handle,
RFC_FUNCTIONNAME functionname);

Besides using RfcDispatch, it is also possible to receive RFC calls directly. The function RfcGetName must therefore be used to get the name of the called function. The calling program then has to determine the interface of the requested function module and to receive the parameters as within a function being installed via RfcInstallFunction.

The server program will wait for the next RFC requests in register mode (see RfcAccept).

This function is defined in SAPRFC.H.

Return Values:

Function Parameters:

Function parameters:

See also RfcDispatch, RfcInstallFunction, RfcGetData and RfcSendData.

RfcGetName is obsolete and exists only for reasons of compatibility.

A server program that uses this RFC call can only be tested completely by using transaction sm59 from an R/3 System with the R/3 library from R/3 Release 3.0D onwards.