Function sapnwrfc::binding::RfcGetCachedFunctionDesc
[−]
[src]
pub unsafe extern "C" fn RfcGetCachedFunctionDesc(
repositoryID: *const SAP_UC,
funcName: *const SAP_UC,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_FUNCTION_DESC_HANDLE
Looks for a cached function description.
This API should be used with care and is only for special scenarios, for example: 1. You know for sure, that a function description has already been cached via RfcGetFunctionDesc(), and don't want to open an extra rfcHandle that will never be used. In this case simply use the SAP System ID as the repositoryID. 2. You have created a hard-coded repository via RfcAddFunctionDesc(), which contains function modules that do not exist in the backend's DDIC.
If repositoryID is NULL, the "default repository" is used.
\in *repositoryID System ID of R/3 System, for which this function module description has been cached, or NULL in case you want to look for it in the default repository. \in *funcName Name of the function module. \out *errorInfo Requested function name not in cache? \return The requested function description.