Function sapnwrfc::binding::RfcGetTimeByIndex [] [src]

pub unsafe extern "C" fn RfcGetTimeByIndex(
    dataHandle: DATA_CONTAINER_HANDLE,
    index: c_uint,
    emptyTime: *mut RFC_CHAR,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Reads a TIME field.

This function works exactly like RfcGetTime(), the difference being that the field is addressed by its index within the structure/table/function module. The first field has index 0, last field has index n-1, the order of the fields is as defined in the ABAP DDIC.

\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 index The index of the field to read. The field must be of type RFCTYPE_TIME. \out emptyTime An RFC_TIME object, which will receive the field value. \out *errorInfo More information in case something goes wrong. \return RFC_RC