Skip to Content
Former Member
Feb 27, 2007 at 10:07 PM

ABAP Shared Objects - External Reference



I am using ABAP SHared Objects (SHMA and SHMM) as data persistence between 2 BSP Applications

I want to create a generic Root class with one attribute that is TYPE REF TO OBJECT. The idea is to store any class instance in this attribute of the Root class so as to AVOID creating a seperate Shared AREA for each Class...

WHen I try to put this generic Root Class in the shared area via detach_commit(), it gives a exception that there are External references in the Shared area which should be closed first

Does this mean u cannot have a instance variable as an attribute in your ROOT Class.


SAP User