Get Example source ABAP code based on a different SAP table
ID FREE-MEMORY-ID • FREE MEMORY ABAP Statement • ID FREE MEMORY
FREE MEMORY Short Reference
ABAP_SYNTAX FREE MEMORY ID id.
What does it do? This statement has the same effect as the statement DELETE FROM MEMORY ID id. The addition ID can be omitted outside of classes. In this case, all data clusters are deleted from the ABAP Memory.
Latest notes: The use of FREE MEMORY without the addition ID is obsolete. While the statement EXPORT without addition ID affects only one data cluster, in this case all clusters are affected. It is safest to use the statement DELETE FROM, because here the addition ID is mandatory. ABAP_HINT_END
Example ABAP Coding
Deletion of the data cluster with the ID demo from the ABAP memory. ABEXA 00288 ABAP_EXAMPLE_END