To receive the parameters of a remote function call, use the function RfcGetData within a registered function or after receiving the name of the called function by RfcGetName.
To send the answer back to a caller, use the function RfcSendData.
To raise an exception while processing a received RFC call, use the function RfcRaise or RfcRaiseTables.