Function sapnwrfc::binding::RfcSetParameterActive [] [src]

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

Allows to deactivate certain parameters in the function module interface.

This is particularly useful for BAPIs which have many large tables, in which you are not interested. Deactivate those and leave only those tables active, in which you are interested. This reduces network traffic and memory consumption in your application considerably.

Note: This functionality can be used for input and output parameters. If the parameter is an input, no data for that parameter will be sent to the backend. If it's an output, the backend will be informed not to return data for that parameter.

\in funcHandle A function module data container. \in *paramName The name of a parameter of this function module. \in isActive 1 = activate, 0 = deactivate. \out *errorInfo Error information in case something goes wrong (e.g. a parameter of that name does not exist). \return RFC_RC