‎2007 Aug 27 8:04 AM
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.???
‎2007 Aug 27 8:07 AM
‎2007 Aug 27 8:38 AM
‎2007 Aug 27 8:47 AM
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>