Ansicht
Dokumentation

ABENCREATE_SHARED_OBJECT_ABEXA - CREATE SHARED OBJECT ABEXA

ABENCREATE_SHARED_OBJECT_ABEXA - CREATE SHARED OBJECT ABEXA

TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Creating an Instance of a Class as a Shared Object

This example demonstrates how an object is created in an area instance version.

Source Code

Execute

Description

If the addition AREA HANDLE is used, an instance of the local class class is created as a shared object in an area instance version of the area CL_DEMO_AREA. The generically typed attribute oref of the area root class CL_DEMO_ROOT is used as a reference variable. The attribute attr of the object is given a value by calling its method set_attr.

After write access has been completed using the method DETACH_COMMIT, a read is performed to demonstrate how the objects in the shared memory are accessed. Such an access can also be made in another program, as long as the area instance version exists in the shared memory.






BAL Application Log Documentation   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1429 Date: 20240509 Time: 002722     sap01-206 ( 30 ms )