‎2006 Dec 15 9:08 AM
Hi all,
when setting up the writing to a shared memory (using the SHMA and SHMM transactions), we get an exception mentioning CX_SHM_EXTERNAL_REFERENCE
This problem is raised because we are trying to move an instantiated class from the calling development to the Shared memory class.
Therefore, this exception is raised, the sap standard documentation tells me:
"There are still references from the current area instance version to a different area instance of the shared objects memory, or to the internal session."
How can we work around this problem, I really want to pass the instantiated class to the Shared memory?
Thanks in advance for any help,
Pascal Decock
‎2007 Feb 02 1:57 PM
I had the same problem. I solved the problem by avoiding references to other objects inside
the code of the shared class. I.e. no CREATE OBJECT inside constructor or methods
of the shared class.
‎2007 Feb 07 7:54 AM
My problem is that I would like to embed a Standard SAP class into this shared memory.
Therefore, I'm obliged to accept the 'Create object' references that are written in standard SAP code.
That also means that it is impossible to include an instantiated SAP class into a shared object memory?
‎2007 May 15 10:50 AM