SAP SHM OBJECTS



Get Example source ABAP code based on a different SAP table
  



ABAP_SHM - Objects
Objects in the shared objects memory, that is, the actual shared objects, are instances of shared-memory-enabled classes or anonymous data objects 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 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 stored in the ABAP_ISESS of a program and not in the shared memory. If different programs access the same shared objects, the static attributes of the associated classes exist multiple times and independently of each other in the programs.
Since area instances without existing area locks are self-contained, a root object of a shared-memory-enabled class is required for initial reads.
References to shared objects
Root object
Object creation
Memory bottlenecks