Show TOC

Background documentationRfcGetCachedFunctionDesc Locate this document in the navigation structure

 

Returns a cached function description. If repositoryID is NULL, the "default storage" is used.

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 functions that do not exist in the backend's DDIC.

Structure

RFC_FUNCTION_DESC_HANDLE SAP_API RfcGetCachedFunctionDesc(SAP_UC const * repositoryID, SAP_UC const * funcName, RFC_ERROR_INFO* info);