2020 Jul 12 9:13 PM
Hi All,
I have created Shared memory area and ROOT class and stored the data on one of the application servers.
1) in our landscape, i have noticed two application servers.
2) in the SHMM transaction , i can see the instances created .
3) I am able to access these instances through ABAP program ( by creating handle through attach_for_read( ) )
Things are fine till this point.
Problem:
From the UI, the same program is called but i am unable to get the instances (data) stored in the shared memory on the application server.
I understand that the shared memory is specific to application server .
i believe that the abap backend is getting executed on another app server where the shared memory data does not exist .
1) is there any configuration so share the shared memory across all app servers ?
how can i overcome this problem?
Thanks in advance.
Regards,
Ravi.
2020 Jul 13 6:19 AM
Apparently you cannot share the memory between AS:
2020 Jul 13 11:23 PM
In what context, for what purpose would you like to use shared memory and overcome the problem of having two instances?
2020 Jul 14 7:37 AM
Your main problem is, that if two instances of your programm are run at the same time, but both being run on different application servers, they can not access the others data in the 'shared memory', as the shared memory is only application server specific.
Please have a look at the discussion from this question:
Basically, you have three options to rewrite your program:
2020 Sep 08 2:31 AM
ravichandra.kss, were you able to find a solution to your problem or did new issues come up?