Function sapnwrfc::binding::RfcGetUnitState [] [src]

pub unsafe extern "C" fn RfcGetUnitState(
    rfcHandle: RFC_CONNECTION_HANDLE,
    identifier: *mut RFC_UNIT_IDENTIFIER,
    state: *mut RFC_UNIT_STATE,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Retrieves the processing status of the given background unit from the backend system's status management.

\in rfcHandle A connection into the same system, into which the corresponding bgRFC unit has been sent via RfcSubmitUnit(). \in *identifier The correct combination of UID and type of the unit. Best use the output you get from RfcCreateUnit(). \out *state The state of the unit. See RFC_UNIT_STATE for more details. \out *errorInfo Not much that can go wrong here... \return RFC_RC