Returns the value of the specified field as byte array. In case the buffer is too small the function will return RFC_BUFFER_TOO_SMALL. xstringLength contains the number of written bytes. The remaining buffer wont be set and can contain random values.
Supported field types:
RFCTYPE_BYTE
RFCTYPE_XSTRING
RFCTYPE_CHAR
RFCTYPE_NUM
RFCTYPE_DATE
RFCTYPE_TIME
RFCTYPE_INTx
RFCTYPE_FLOAT
RFCTYPE_BCD
RFCTYPE_DECFxx
RFC_RC SAP_API RfcGetXString (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const* name, SAP_RAW *byteBuffer, unsigned bufferLength, unsigned* xstringLength, RFC_ERROR_INFO* info);