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

Function Module which stores the variable in the memory?

Former Member
0 Likes
647

Hi All,

I need to store the variable in the memory..and later i want to retrieve it in the Webdynpro comp. Is there any Function Module or method or anything which does this functionality..?

please let me know?

Regards,

Lakshmi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
600

check the link for the FM's:

http://www.erpgenie.com/abap/functions.htm

With luck,

Pritam.

5 REPLIES 5
Read only

Former Member
0 Likes
600

TO store into memory:

EXPORT G_VALUE TO MEMORY ID 'ZVID'.

In Webdynpro :

IMPORT G_VALUE FROM MEMORY ID 'ZVID'.

Read only

Former Member
0 Likes
600

EXPORT_TO_MEMORY for internal table

OR

EXPORT G_VALUE TO MEMORY ID 'NKID'. for variable

rgds

rajesh

Edited by: RAJESH KUMAR on Aug 4, 2008 3:35 PM

Edited by: RAJESH KUMAR on Aug 4, 2008 3:35 PM

Read only

Former Member
0 Likes
600

U can achieve ur requirement by creating custom FMs. Define ur variable in the top-include of the function grp. Then create a FM to set the variable with value and Create another FM to get the value of the variable in webdynpro.

Read only

Former Member
0 Likes
600

Hi,

Plz try ''export_rm_to_memory'' function module.

hope this helps you.

thanx,

dhanashri.

Read only

Former Member
0 Likes
601

check the link for the FM's:

http://www.erpgenie.com/abap/functions.htm

With luck,

Pritam.