Get Example source ABAP code based on a different SAP table
ABAP_SHM - Dynamic Area Properties The dynamic properties of an area are ignored when the area class> is generated. These properties can be changed by developers only. When the dynamic properties of an area are changed at runtime, the current area instance versions> (versions that are being built, active, or obsolete) are not affected. The new dynamic properties are not used until the next change lock is set in the associated version that is being built.
Area constructor class> Any global class that implements the interface SHM_IF_SHM_BUILD_INSTANCE>> can be specified as an area constructor class. The implementation of the interface method IF_SHM_BUILD_INSTANCE~BUILD> is used as the area constructor. An area constructor class> must be specified if automatic area building is activated in the basic properties>. The interface method IF_SHM_BUILD_INSTANCE~BUILD> of the specified class is called implicitly in a separate ABAP session> when an area is built automatically. An area constructor class can be specified if automatic area building is not activated in the basic properties. The interface method IF_SHM_BUILD_INSTANCE~BUILD> of the current area constructor class can be called explicitly in the current ABAP_ISESS > with the method BUILD> generated in every area class. An example for implementing the interface method IF_SHM_BUILD_INSTANCE~BUILD> in an area constructor class can be found under Area Constructor Class>.
Displacement type> This property determines whether and how instances of the area can be displaced. Displacement may be necessary if the available addressing area of the shared memory is no longer sufficient for all area instance versions. The possible displacement types are as follows:
Displacement not possible>
Area instance versions cannot be displaced. If the addressing area is no longer sufficient for all area instance versions, a runtime error occurs.
Displacement possible>
Area instance versions can be displaced. The content is lost during displacement (complete displacement). Displacement only takes place if no area handle> is bound to the area instance at the same time or if there are no locks on the area instance. This means that only those area instances can be displaced that have exactly one version (the active version) with no read lock at the time of displacement.