Function sapnwrfc::binding::RfcGetInt1
[−]
[src]
pub unsafe extern "C" fn RfcGetInt1(
dataHandle: DATA_CONTAINER_HANDLE,
name: *const SAP_UC,
value: *mut RFC_INT1,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC
Returns the value of a field as an unsigned one byte integer.
The current field value must not be bigger than 255, otherwise you'll get an RFC_CONVERSION_ERROR. If the field is of type RFCTYPE_BYTE/RFCTYPE_XSTRING, the field length must be 1 byte.
The field specified by name needs to be of one of the following data types: - RFCTYPE_INT - RFCTYPE_INT2 - RFCTYPE_INT1 - RFCTYPE_BYTE - RFCTYPE_XSTRING
\in dataHandle A data container (function handle, structure handle or table handle). If dataHandle is a table handle, the function will read the field value of the current row. \in *name The name of the field to read. \out *value The (converted) integer value. \out *errorInfo More information in case the field does not exist or a conversion fails. \return RFC_RC