Show TOC

Background documentationRfcSetBytes Locate this document in the navigation structure

 

Sets the given char value (charValue/valueLength) into the field.

Supported field types:

  • RFCTYPE_BYTE

  • RFCTYPE_XSTRING

  • RFCTYPE_CHAR

  • RFCTYPE_STRING

  • RFCTYPE_INTx

  • RFCTYPE_FLOAT

  • RFCTYPE_BCD

  • RFCTYPE_DECFxx

Note Note

If the target field has type CHAR or STRING the byte value will be stored as a hex representation of the bytes.

End of the note.

Note Note

If the target field has number type, the byte value will be assigned only if the given length fits to the field length.

End of the note.

Structure

RFC_RC SAP_API RfcSetBytes (DATA_CONTAINER_HANDLE dataHandle, SAP_UC const* name, const SAP_RAW *byteValue, unsigned valueLength, RFC_ERROR_INFO* info);