Function sapnwrfc::binding::RfcSetDecF34 [] [src]

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

Sets the value of a 16 byte decfloat object into a field.

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 Needs to be 8 byte long. - RFCTYPE_XSTRING Note: If the target field is CHAR or STRING, the value will be converted to a string in scientific notation. If it is NUMC, it will be truncated to the next integer.

\in dataHandle A data container (function handle, structure handle or table handle). If dataHandle is a table handle, the function will set the field value of the current row. \in *name The name of the field to set. \in value The decfloat value to set. \out *errorInfo Field does not exist or is not of a supported type? \return RFC_RC