Function sapnwrfc::binding::RfcSetStructure
[−]
[src]
pub unsafe extern "C" fn RfcSetStructure(
dataHandle: DATA_CONTAINER_HANDLE,
name: *const SAP_UC,
value: RFC_STRUCTURE_HANDLE,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC
Copies the given structure into the target structure of the parent container.
The target field needs to be of type RFCTYPE_STRUCTURE.
Note: If you want to avoid the copy operation, use RfcGetStructure() and set the subfields here, instead of the sequence RfcCreateStructure()/ setting the subfields/ #RfcSetStructure().
\in dataHandle A data container (function handle, structure handle or table handle). If dataHandle is a table handle, the function will set the field value of the current row. \in *name The name of the field to set. \in value The structure to copy. \out *errorInfo Out of memory, field does not exist or is not of type RFCTYPE_STRUCTURE? \return RFC_RC