FREE MEMORY

Short Reference

Syntax

FREE MEMORY ID id.

Effect

This statement has the same effect as the statement

DELETE FROM MEMORY ID id.

Outside of classes, you can omit the addition ID. Then, all data clusters are deleted from the ABAP Memory.

Note

You should refrain from using FREE MEMORY without the addition ID. While the statement EXPORT without addition ID involves only one data cluster, in this case all clusters are involved. We recommend to use the statement DELETE FROM, because here the addition ID is mandatory.