ABAP - Keyword Documentation →  ABAP - ABAP Release News →  News for ABAP Release 7.0 and its EhPs →  News for ABAP Release 7.0, EhP2 → 
Mail Feedback

Shared Objects in ABAP Release 7.0, EhP2


1. Handling of Memory Bottlenecks

2. Data References in the Shared Objects Memory

3. Area Binding

4. Methods PROPAGATE_AREA and PROPAGATE_INSTANCE Replaced

5. Service Class CL_SHM_UTILITIES



Modification 1  

Handling of Memory Bottlenecks

From ABAP release 7.0, EhP2, memory bottlenecks in the shared objects memory raise catchable exceptions of the class CX_SHM_OUT_OF_MEMORY. Previously, uncatchable runtime errors were raised.



Modification 2  

Data References in the Shared Objects Memory

From ABAP release 7.0, EhP2, anonymous data objects in the shared objects memory can also be created with direct reference to data elements and table types of ABAP Dictionary using the addition AREA HANDLE of the statement CREATE DATA.



Modification 3  

Area Binding

From ABAP release 7.0, EhP2, the lifetime and visibility of area instances can be bound not only to the current AS instance but also to the following:





Modification 4  

Methods PROPAGATE_AREA and PROPAGATE_INSTANCE Replaced

The methods PROPAGATE_AREA and PROPAGATE_INSTANCE of an area class for transactional areas may no longer be used. Instead, the parameter AFFECT_SERVER of the methods FREE_AREA, FREE_INSTANCE, INVALIDATE_AREA, and INVALIDATE_INSTANCE can be used for areas of this type with the Application Server area binding.



Modification 5  

Service Class CL_SHM_UTILITIES

The class CL_SHM_UTILITIES is used to query the attributes of area instances in programs.