Function sapnwrfc::binding::RfcGetDecF34 [] [src]

pub unsafe extern "C" fn RfcGetDecF34(
    dataHandle: DATA_CONTAINER_HANDLE,
    name: *const SAP_UC,
    value: *mut RFC_DECF34,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Returns the field as a 16 byte IEEE 754r decimal floating point.

See the header sapdecf.h for how to work with RFC_DECF16 objects. If the field has a binary data type, its field length needs to be 16 bytes.

The field specified by name needs to be of one of the following data types: - RFCTYPE_DECF16 - RFCTYPE_DECF34 - RFCTYPE_FLOAT - RFCTYPE_BCD - RFCTYPE_INT - RFCTYPE_INT2 - RFCTYPE_INT1 - RFCTYPE_CHAR - RFCTYPE_NUM - RFCTYPE_STRING - RFCTYPE_BYTE is interpreted as IEEE 754r format - RFCTYPE_XSTRING is interpreted as IEEE 754r format

\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) decimal floating point value. \out *errorInfo More information in case the field does not exist or a conversion fails. \return RFC_RC