Start of Content Area

Component documentation Displacement Type  Locate the document in its SAP Library structure

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 not sufficient for all area instance versions. This may be the case in 32 Bit systems, but should not be an issue for 64 Bit systems.

Possible displacement types are:

·        Displacement Not Possible

Area instance versions cannot be displaced. If the addressing area is no longer sufficient for all area instance versions, this results in a runtime error.

·        Displacement Possible with Backup and Recovery

Area instance versions can be displaced. The content is serialized and is stored persistent. It is reloaded into the shared memory with a read or update access to the area instance version. The prerequisite for this is that each class instantiated in the area instance has to implement the special IF_SERIALIZABLE_OBJECT interface. This is checked when an object is created in the shared memory using the AREA HANDLE addition of the CREATE OBJECT statement.

·        Displacement Possible

Area instance versions can be displaced. The content is lost (complete displacement).

Displacement takes place only 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.

 

 

 

 

End of Content Area