Show TOC

Background documentationRfcGetBytes Locate this document in the navigation structure

 

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. In case the buffer is longer than the field it will be filled with a 0x00 value.

Supported field types:

  • RFCTYPE_BYTE

  • RFCTYPE_XSTRING

  • RFCTYPE_CHAR

  • RFCTYPE_NUM

  • RFCTYPE_DATE

  • RFCTYPE_TIME

  • RFCTYPE_INTx

  • RFCTYPE_FLOAT

  • RFCTYPE_BCD

  • RFCTYPE_DECFxx

Structure

RFC_RC SAP_API RfcGetBytes (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const* name, SAP_RAW *byteBuffer, unsigned bufferLength, RFC_ERROR_INFO* info);