‎2008 Mar 07 3:30 AM
I would like to know If i using EXPORT to MEMORY ID in abap program, whether i need to clear memory not. or the memory will auto clear after the program terminate. Thanks
‎2008 Mar 07 3:33 AM
It is better to relase the memory using Release memory ID statement after using it..
Thanks,
Krishna
‎2008 Mar 07 4:58 AM
hi,
Use the EXPORT TO MEMORY statement to copy any number of ABAP variables with their current
values (data cluster) to ABAP memory. The ID addition (maximum 32 characters long) enables you to
identify different clusters.
If you use a new EXPORT TO MEMORY statement for an existing data cluster, the new one will overwrite
the old.
The IMPORT FROM MEMORY ID statement allows you to copy data from ABAP memory into the
corresponding fields of your ABAP program. In the IMPORT statement, you can also restrict the selection
to a part of the data cluster.
The variables into which you want to read data from the cluster in ABAP memory must have the same
types in both the exporting and the importing programs.
To release a data cluster, use the FREE MEMORY ID statement.
Hope this helps, Do reward.