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

Passing Data between User Exits

p_2_5_6_9_6_0
Active Participant
0 Likes
297

Hi,

I am writing some code involving 2 separate User Exits (A and B).

The User Exits are always called in sequence (A first, then B).

In A I have some data that I need in B. Note that A and B belong to different transactions.

To pass data from A to B - I use a Memory ID (say with name 'ABC') .

Now, my question is - In case the exit A is executed multiple times by several users simultaneously (as is expected) - then how do I preserve the correct value for Memory ID 'ABC' so that exit B executes correctly.

I hope that the question is not too vague.

Thanks.

Sid.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
270

Hi siddharth,

1. how do I preserve the correct value for Memory ID 'ABC' so that exit B executes correctly.

That we do not have to worry.

2. Sap is designed that way.

So even if there are multiple users,

the memory id is Session dependent,

and not user-dependent.

3. So go ahead, it will work absolutley normal.

regards,

amit m.

1 REPLY 1
Read only

Former Member
0 Likes
271

Hi siddharth,

1. how do I preserve the correct value for Memory ID 'ABC' so that exit B executes correctly.

That we do not have to worry.

2. Sap is designed that way.

So even if there are multiple users,

the memory id is Session dependent,

and not user-dependent.

3. So go ahead, it will work absolutley normal.

regards,

amit m.