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

i need memory id example?

Former Member
0 Likes
553

i need memory id example not shared buffer, in my previous
thread i got shared buffer example.

so any body plz send me passing data from one program to another
program using memory id.

4 REPLIES 4
Read only

former_member491621
Contributor
Read only

RicardoRomero_1
Active Contributor
0 Likes
531

Hi,

Report report_A.

DATA: lv_var1 TYPE c VALUE 'A',

            lv_var2 TYPE c VALUE 'B'.

  EXPORT var1 FROM lv_var1

                   var2 FROM lv_var2

             TO MEMORY ID 'ZZ_MY_ID'.

  SUBMIT report_B.

Report report_B.

DATA: lv_var1 TYPE c,

            lv_var2 TYPE c.

IMPORT var1 TO lv_var1

                 var2 TO lv_var2

         FROM MEMORY ID 'ZZ_MY_ID'.

WRITE: / lv_var1, lv_var2.

Hope this help you.

Read only

0 Likes
531

thanks Ricardo

Read only

0 Likes
531

Moderator Message: Removed assigned points due to the basic nature of the question. Please try to search in the forums and check with SAP F1 help before asking the question.