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/Import from Memory

Former Member
0 Likes
707

Sometimes after I export from one program, user exit, etc., then I import in another program, user exit, etc. the field value does not show up. It is usually in two totally unrelated programs, or other, that are in different function groups, but sometimes it works? I need to capture a value in a PAI screen, that later goes into another user exit. Has anyone had this issue with Import/Export? Is there another way I can tru to pass this parameter to the second program?

Thank-You.

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
690

Hi, this can happen if you are in one current session, which is called session memory search for more info..

if you want to get data say variable in another session you need to use set parameter and get parameter and make sure you create the memory by using set parameter <id > space.

4 REPLIES 4
Read only

former_member156446
Active Contributor
0 Likes
691

Hi, this can happen if you are in one current session, which is called session memory search for more info..

if you want to get data say variable in another session you need to use set parameter and get parameter and make sure you create the memory by using set parameter <id > space.

Read only

Former Member
0 Likes
690

Hi TMM,

You have to consider that the Memory Variables from Program 1 will be released if the session is over and that's why maybe our Program 2 might not get them correctly. If that is the scenario you will need to save your data in maybe a table then use it in program 2.

Regards,

Gilberto Li

Read only

Former Member
0 Likes
690

usually the IMPORT/EXPORT will work for current login session.

Once u login and log off, memory gets refreshed and it will not work.

Read only

Former Member