SAP NEWS-70-SHARED OBJECTS



Get Example source ABAP code based on a different SAP table
  



Shared Objects in ABAP Release 7.0
ITOC

ABAP_MODIFICATION_NN Data References in the Shared Objects Memory

From ABAP_RELEASE 7.0, data references that point to data objects of the same area instance version can be stored permanently in the shared objects memory. An instance of a shared memory-enabled class can contain data reference variables as attributes that point to data objects within a closed area instance version. An exception is raised only if the used data type is unknown to the method DETACH_COMMIT in the shared objects memory when the method is executed. This is the case if the types of the referenced data objects were created dynamically. Due to technical reasons, no direct reference to data elements and table types in ABAP Dictionary is possible either.
The opportunity to store data references in closed area instance versions makes it possible (from ABAP_RELEASE 7.0) to store not only instances of classes, but also anonymous data objects using the addition AREA HANDLE of the statement CREATE DATA as shared objects.

ABAP_MODIFICATION_NN Waiting Time for Change Locks

From ABAP_RELEASE 7.0, a waiting period can be passed to the parameter WAIT_TIME for the methods ATTACH_FOR_WRITE and ATTACH_FOR_UPDATE of the area class and for MULTI_ATTACH in CL_SHM_AREA.