The value of the RETURN-VALUE function in an ABL client session is affected by remote procedure execution. If a remote procedure returns a value by executing the RETURN statement, this value is returned to the client as the value of the RETURN-VALUE function.
Note: The LONGCHAR and MEMPTR data types cannot be returned from a user-defined function across an AppServer.