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

Dynamic assign and local variables

Former Member
0 Likes
632

Is there any way to access local data in one program from another, something like dynamic assign?

thx

Mario

Is there any way to access local data in one program from another, something like dynamic assign?

thx

Mario

4 REPLIES 4
Read only

Former Member
0 Likes
598

Hi mslopar,

1. yes,

something like this.

(ZAM_TEMP00)VARIABLE1

where ZAM_TEMP00 is the program name.

(U can test this in any debugging)

2. we should know the program name and variable name.

3. Do not forget to use the brackets.

4. we can also use

(ZAM_TEMP00)ITAB-FIELD1

I hope it helps.

regards,

amit m.

Message was edited by: Amit Mittal

Read only

0 Likes
598

this works only for globals

Read only

Former Member
0 Likes
598

HI,

But the access is possible only if the program is already loaded in the memory, otherwise the access is simply impossible.

Something like an FM globall variables stored in one of the include of main program is accessible in your program if you have already called that FM.

Read only

Former Member
0 Likes
598

hi

use INCLUDE statement

regards

Arun