Sunday, March 5, 2017

Introduction To Shared Object Memory Programming

There is “Export From “  and “ Import To “Abap memory technique. However, it needs to be within the current main session. Then there is SPA/GPA mechanism which allows sharing of data to few fields across external sessions with help of SAP memory. However, with the growth of data and the need to share across users and programs grew, newer methods of sharing was needed. One of the techniques by which SAP allowed to store huge data and share things was through “cluster Tables”.

Shared Object memory programming makes use shared memory access through objects. The memory is available at application server level. It can be accessed with help of transactions and can be shared with different users in one of the best effective manners. The Shared Object Memory deals with One Area class, root class, a program to export and a program to read .
There are many advantages of sharing the class instances and data objects into shared memory compared to other memory sharing techniques such as the flexibility, speed, performance for huge volumes of data. In fact, in many speed is found to 100 times faster than the next best available technique.

The main two transactions used for SOM is SHMA- for defining shared memory areas and properties and SHMM for monitoring the instances and data.

The details of how to use SHMM and SHMA is available here.