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

Export to Memory ID

sharadendu_agrawal
Active Participant
0 Likes
450

Hi All,

I have a requirement in which i need to export a variable to a Fix Memory ID and then retrieve it when required. Now since i am exporting the variable to the same memoryid how will i retrieve the value of a particular variable if it is required.

In my case i am using a requirement routiune from where i have to export the variable value to a memory id. This routine is called everytime a delivery is saved.

Now I have to import the variable value corresponding to the particular delivery number. So how will we be able to do that. Or is there any other way to achieve this functionality.

Please help me.

Regards,

Sharadendu

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
429

You can export data (variable, internal table) to memory, but you can't just retrieve it at any point in time. Data will stay in memory during session, but next time upon entering a transaction (or whatever you're doing) the memory ID will be 'empty' again.

If you are in same session (for example when doing a submit of a report just after exporting data to memory ID), you can retrieve this data again.

Alternative would be, to store this data in a custom database table, or maybe even use shared memory objects (however I'm in doubt about your particular requirement). Shared memory objects via transaction SHMA.