Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

When to use shared memory objects?

alejiandro_sensejl
Active Participant
0 Likes
498

Hello everyone,

today I've used shared memory objects for the first time (on a small (<200 records) customizing table). I just wanted to try this, so I'm sure this isn't a real scenario for these. I think I've understand the technical concept behind these, but I'm not sure how I can push this technology to its limit.

I hope you can give me some examples when / for what data I should use a shared memory object ...

Thanks in advance and best regards,

Alej

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
440

Hello Alej,

I don't think that you should decide which data cluster(viz., SAP Memory, ABAP Memory etc.) to use the "type" of data. Rather the decision is done based on the "size" of the data & the scenario where you want to use it.

As a thumb rule if you want your data across "multiple-user" sessions(SAP Memory scope is across all the sessions of a user) you go for SHM concepts.

But bear in mind SHM is app server specific. Suppose you've multiple app servers in you PROD(in almost all the projects i've been part of have multiple app servers in the PROD) & there is a high probability that the users are logged in different App Server. In this case SHM won't be useful.

Hope i'm clear in my explanation.

BR,

Suhas

1 REPLY 1
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
441

Hello Alej,

I don't think that you should decide which data cluster(viz., SAP Memory, ABAP Memory etc.) to use the "type" of data. Rather the decision is done based on the "size" of the data & the scenario where you want to use it.

As a thumb rule if you want your data across "multiple-user" sessions(SAP Memory scope is across all the sessions of a user) you go for SHM concepts.

But bear in mind SHM is app server specific. Suppose you've multiple app servers in you PROD(in almost all the projects i've been part of have multiple app servers in the PROD) & there is a high probability that the users are logged in different App Server. In this case SHM won't be useful.

Hope i'm clear in my explanation.

BR,

Suhas