Function sapnwrfc::binding::RfcGetClassDesc [] [src]

pub unsafe extern "C" fn RfcGetClassDesc(
    rfcHandle: RFC_CONNECTION_HANDLE,
    className: *const SAP_UC,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_CLASS_DESC_HANDLE

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

If the class 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 class description. \in *className Name of the class to look up. \out *errorInfo More error details in case something goes wrong. \return The metadata description of the given function module.