Function sapnwrfc::binding::RfcGetFunctionDesc [] [src]

pub unsafe extern "C" fn RfcGetFunctionDesc(
    rfcHandle: RFC_CONNECTION_HANDLE,
    funcName: *const SAP_UC,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_FUNCTION_DESC_HANDLE

Returns the function description that is valid for the system to which rfcHandle points to.

If the function description is already in the repository cache for that system ID, it will be returned immediately (from the cache), otherwise it will be looked up in the system's DDIC using the rfcHandle. The result from the DDIC lookup will then be placed into the cache for later use.

The RFC Runtime maintains a cache for every R/3 System ID, as the meta data could be different from R/3 release to R/3 release. This is the main API that should be used.

\in rfcHandle Open client connection to the R/3 System, for which you need the function module description. \in *funcName Name of the function module to look up. \out *errorInfo More error details in case something goes wrong. \return The metadata description of the given function module.