Using the shared memory

The shared memory is used to temporarily store data that is used frequently or determined with great effort. All applications on the application server can access this data.

AEB add-ons offer the possibility to activate the shared memory for texts. This includes texts that are displayed on user interfaces as well as texts that appear in logs. Using shared memory can significantly reduce the number of DB accesses.

Strategy

The shared memory for texts is configured in such a way that it has a lifetime of 15 minutes. As a result, all texts of the AEB text classes are automatically read by the DB once after their lifetime has expired. In the meantime, there are no accesses to the corresponding DB tables.

Memory requirements

The memory requirement in the shared memory depends on the number of AEB add-ons used and the number of languages installed in your system. However, during operation the memory requirement remains the same, since all texts are stored at all times. The number of area instance versions for a shared memory is limited to 5.

Activation

To activate the shared memory for texts, implement the BAdI /AEB/01_SHM_01.

Administration

You can monitor the shared memory area in transaction "SHM: Areas" (transaction code SHMM). The area has the name /AEB/CL_01_CI_V5_L15_SHM.