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

Variable transportation issues, help!!!

Former Member
0 Likes
313

Hello friends,

i'm trying to pass a variable value throught programs (using submit method), but when the submit occurs, a new stack is created and i lose the variable value.

i tried transporting the value by using function modules and global variables, but it doesn't work at all.

It's good to remember that the submit is being taken under a stardard program and cannot be modified.

So, how can i solve this problem?

Regards,

Manuel

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
288

Hi Manuel,

SUBMIT opens a new internal mode (or internal session). More information here: http://help.sap.com/abapdocu_70/en/ABENINTERNAL_SESSION.htm

Global variables only exist in the internal mode where they were "created".

You may use ABAP memory to communicate: statements EXPORT ... TO MEMORY ID ... and IMPORT ... FROM MEMORY ID ... (you may also use shared memory).

I didn't understand your remark about the standard program, are you allowed or not to add ABAP statements in both programs?

BR

Sandra

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
289

Hi Manuel,

SUBMIT opens a new internal mode (or internal session). More information here: http://help.sap.com/abapdocu_70/en/ABENINTERNAL_SESSION.htm

Global variables only exist in the internal mode where they were "created".

You may use ABAP memory to communicate: statements EXPORT ... TO MEMORY ID ... and IMPORT ... FROM MEMORY ID ... (you may also use shared memory).

I didn't understand your remark about the standard program, are you allowed or not to add ABAP statements in both programs?

BR

Sandra