Function sapnwrfc::binding::RfcEnableAbapClassException [] [src]

pub unsafe extern "C" fn RfcEnableAbapClassException(
    funcHandle: RFC_FUNCTION_HANDLE,
    rfcHandleRepository: RFC_CONNECTION_HANDLE,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Enables this function handle for ABAP class exception support.

R/3 Systems from kernel release 7.11 on support ABAP class exceptions. Calling %RfcEnableAbapClassException() allows an RFC client to inform the ABAP backend that it can handle ABAP class exceptions for the current function call using this function handle. If the ABAP backend supports class-based exceptions as well, it can now safely throw such an exception.\n Needs to be called before the corresponding RfcInvoke().

\in funcHandle Function module data container. \in rfcHandleRepository RFC connection handle to the repository system from where the missing metadata can be dynamically retrieved during de-serializing the received ABAP class exceptions. This handle can be NULL but should not be the same that is used for the RFC call itself. \out *errorInfo Should always return successfully. \return RFC_RC