cancel
Showing results for 
Search instead for 
Did you mean: 

Passing data from one session to another session

Guruchander1
Discoverer
0 Kudos
143

Hi,

I need to pass data from one LUW to another in my SAP system. Initially, I tried using Memory ID, but I encountered issues when multiple sessions attempted to update the same Memory ID simultaneously.

In my system, Shared Memory is not allowed, so I am exploring other options. I am considering using a persistence mechanism, but I don’t want to create a custom Z table to store the data.

Is there a way to achieve this using standard SAP features, such as persistent objects, temporary cluster tables, or any other alternatives?

Thanks in advance for your suggestions!

Accepted Solutions (0)

Answers (2)

Answers (2)

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert

Perhaps your current solution with using a Memory ID can be "fixed", if you use standard "enqueue technology" for preventing simultaneous updates by multiple sessions. See the ABAP reference for how to create and use an ENQUEUE-object.

Alternatively, the "ABAP Intermode Communication" might be used to solve your requirement. Unfortunately, I didn't find any documentation for it. Will update here, if I can find something.

akuller
Participant
0 Kudos

depending on the use case, shared objects may also be an option. if shared memory is not meant by this.