Skip to content

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 addition SHARED MEMORY ENABLED of the statement CLASS, or has the property Shared Memory Enabled activated in 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.

Other versions: 7.31 | 7.40 | 7.54

Continue

Shared Objects - References

Shared Objects - Root Object

Shared Objects - Creating Objects

Shared Objects - Memory Bottlenecks