Function sapnwrfc::binding::RfcIsParameterActive [] [src]

pub unsafe extern "C" fn RfcIsParameterActive(
    funcHandle: RFC_FUNCTION_HANDLE,
    paramName: *const SAP_UC,
    isActive: *mut c_int,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Query whether a parameter is active.

Useful for example in a server function implementation: Before creating a large table, you may want to check, whether the client (the backend system), has requested that table at all.

\in funcHandle A function module data container (usually handed to your server function from the RFC library). \in *paramName The name of a parameter of this function module. \out *isActive 1 = is active, 0 = is not active. \out *errorInfo Error information in case something goes wrong (e.g. a parameter of that name does not exist). \return RFC_RC