SAP SHM OBJECTS

Get Example source ABAP code based on a different SAP table
  


ARTICLE

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 us ing 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.
References to Shared Objects
Root Object
Object Creation
Memory Bottlenecks