04-13-2012 9:37 AM
Hello Gurus,
do you guys know if it possible to pass a class instance from one external mode to another one? I tried converting the memory adress intro a string and writing it on the database but it won't let me convert a class reference. Any ideas?
Kind regards,
Ioan.
04-13-2012 10:25 AM
Hi Loan,
You could try using shared objects to share the data between external modes of SAP.
http://help.sap.com/saphelp_nw04s/helpdata/en/c5/85634e53d422409f0975aa9a551297/content.htm
Regards,
Jaspreet
04-13-2012 10:25 AM
Hi Loan,
You could try using shared objects to share the data between external modes of SAP.
http://help.sap.com/saphelp_nw04s/helpdata/en/c5/85634e53d422409f0975aa9a551297/content.htm
Regards,
Jaspreet
04-13-2012 10:45 AM
Doesn't it sound someting like persistance class. Sap provides this fascility. Check the links
http://help.sap.com/saphelp_nw04/helpdata/en/06/f23c3d638d11d4966d00a0c94260a5/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f5/a3682ebc6911d4b2e80050dadfb92b/frameset.htm
04-13-2012 11:16 AM
Hi loan,
Just found a useful link for shared objects. Using shared objects, you will have to make your class 'Shared enabled'. Then you have to create a memory area and attach the class as root class.
Using the methods of memory area class you can share the instance of your class.
Let me know if some more help is needed.
Regards,
Jaspreet
04-16-2012 8:59 AM
Hello everyone,
thank you for the answers. I had very littel time for the implementation so i am using two database tables to pass the data that i need between external modes. Thanks again.
Regards,
Ioan Constantin.