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 handling

Former Member
0 Likes
364

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

2 REPLIES 2
Read only

Former Member
0 Likes
341

It is better to relase the memory using Release memory ID statement after using it..

Thanks,

Krishna

Read only

Former Member
0 Likes
341

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.