Function sapnwrfc::binding::RfcGetAbapObject
[−]
[src]
pub unsafe extern "C" fn RfcGetAbapObject(
dataHandle: DATA_CONTAINER_HANDLE,
name: *const SAP_UC,
objHandle: *mut RFC_ABAP_OBJECT_HANDLE,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC
Returns a handle to an abap object.
The field specified by name must be of type RFCTYPE_ABAPOBJECT. If that field has not yet been filled previously, NULL is returned. \warning The memory of that data container will be released, when the parent container gets destroyed. So don't destroy the returned table handle, nor continue to use it, after the parent has been destroyed!
\in dataHandle A data container (function handle, structure handle, table handle or object handle). If dataHandle is a table handle, the function will read the field value of the current row. \in *name The name of the field to read. \out *objHandle A handle to the object. \out *errorInfo Field does not exist, is of wrong type or out of memory. \return RFC_RC