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

memory ID value

Karan_Chopra_
Active Participant
0 Likes
432

if i have a program z_test

and in that i write a statement

EXPORT lv_herld TO MEMORY ID 'W_LV_HERLD'

and in some other program i write

FREE memory ID 'z_test'

will the memory 'W_LV_HERLD' which is included in z_text be freed or not.???

3 REPLIES 3
Read only

Former Member
0 Likes
415

hi ,

it should remains,

rgds

abaper

Read only

Karan_Chopra_
Active Participant
0 Likes
415

how can i see the memory ID value

Read only

0 Likes
415

Hi Karan..

<b>How to Delete a Memory ID</b>

This Statement will Clear the Memory id.

<b>FREE memory ID 'W_LV_HERLD'</b>

if SY-SUBRC = 0.

Write:/ 'Deleted'.

Endif.

<b>To Read the Contents from ABAP Memory Id:</b>

data : var1 type <datatype of lv_herld>.

IMPORT lv_herld TO var1 FROM MEMORY ID 'W_LV_HERLD'.

write:/ var1.

<b>Reward points if Helpful</b>