Show TOC

Background documentationRfcGetString Locate this document in the navigation structure

 

Returns the value of the specified field as null-terminated string. The charBuffer will be filled by string representation. In case the buffer is too small e.g. no place for string termination, 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 RfcGetString (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const* name, SAP_UC *stringBuffer, unsigned bufferLength, unsigned* stringLength, RFC_ERROR_INFO* info);