SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Creating Objects and Values → Shared Objects →Shared Objects - Objects
Objects in the shared objects memory, that is, the actual shared objects, are instances of shared memory-enabled classes or anonymous data objects that are addressed using references.
A shared-memory-enabled class is declared with the SHARED MEMORY ENABLED addition for the CLASS statement, or has the Shared Memory Enabled property activated in the Class Builder. Only instances of shared-memory-enabled classes can be stored in the shared objects memory. The static attributes of a shared memory-enabled class, on the other hand, are not saved in the shared memory but in the internal session of a program. If different programs access the same shared objects, the static attributes of the corresponding classes exist multiple times and independently from each other in the programs.
Since area instances are self-contained without existing area locks, a root object of a shared memory-enabled class is required for the initial access.