‎2004 Aug 04 1:31 PM
Hi all,
we would like to pass a object reference to a RFC Function Modul, but as far as we can see it is not allowed.
Is there a workaround or solution for that problem out there ?
Many thanks in advance
Matthias Hlubek
‎2004 Aug 04 2:38 PM
Even if you could pass the object reference, how would the remote system be able to access it. The object reference is really just a memory pointer to the object. The remote system would have not way to access it. There is not functionality to call an ABAP Object remotely. There has been some discussion in this form and in one of hte WebLogs on ABAP OO about the fact that this would be a nice feature.
‎2004 Aug 04 2:40 PM
As far as I know (and I'm working with RFC's very often) there is no way, because RFC protocol is prior to Abap Objects :-(.
If you want to pass some properties, extract them first in your abap code and then send them to RFC as variables.
regards,
David R.
‎2004 Aug 10 12:04 PM
By sorrow the RFC mechanism is yet not able to handle references. One my bybass this shortage with the help of the 'CALL TRANSFORMATION ID' Statement. This statements allows to serialize complete reference clusters into a single xString. This xString can be send via RFC. The recipient has then to rebuild the cluster from the serialized data. This of course requires that identical (class) definitions reside on both sender and target side.
Kind Regards
Klaus
PS: Class must also implement the interface IF_SERIALIZABLE_OBJECT, please check the online docu
‎2004 Aug 20 10:12 AM