sapdev logo background
sapdev logo sapdev logo
Comments

SAP SHM OBJECTS documentation, setup help and example usage



Return to SAP documentation index


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
  • Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    SHM_IF_SHM_BUILD_INSTANCE
    SHM_OBJECTS_CREATE_OBJECT




    comments powered by Disqus