Show TOC

Background documentationRfcGetChars Locate this document in the navigation structure

 

Returns the value of the specified field as char array. The charBuffer will be filled by string representation. The remaining places in the buffer will be filled with spaces. In case the buffer too small the function will return RFC_BUFFER_TOO_SMALL.

Supported field types:

  • RFCTYPE_CHAR

  • RFCTYPE_STRING

  • RFCTYPE_NUM

  • RFCTYPE_DATE

  • RFCTYPE_TIME

  • RFCTYPE_INTx

  • RFCTYPE_FLOAT

  • RFCTYPE_BCD

  • RFCTYPE_DECFxx

Structure

RFC_RC SAP_API RfcGetChars(DATA_CONTAINER_HANDLE dataHandle, SAP_UC const* name, RFC_CHAR *charBuffer, unsigned bufferLength, RFC_ERROR_INFO* info);