ARTICLE
Shared Objects - Root Object
Each area instance version
contains an instance of the area root
class that is identified as the root object.
The figure below shows how shared objects are accessed using the root
object. The shared objects of an area instance version are accessed
initially from an internal session, always by using the reference
variable ROOT of the area handle that
points to the root object.
The root object has to be defined with the
SET_ROOT instance method of the area handle before the lock is
released with the DETACH_COMMIT
method of the area handle after change accesses.
Once an area handle has been bound to an
existing area instance version, you can obtain a reference to the root
object by accessing the ROOT attribute
(or even using the GET_ROOT instance
method) of the area handle. The root object can then contain and/or
return object and data references to additional shared objects of the
area instance version.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved