In ABAP Objects, the following statements cause an error message:
EXPORT f TO MEMORY.
IMPORT f FROM MEMORY.
FREE MEMORY.
Correct syntax:
EXPORT f TO MEMORY ID key.
IMPORT f FROM MEMORY ID key.
FREE MEMORY ID key.
Cause:
Without identification, all programs in a call chain run in the same memory area. This leads to unpredictable results, particularly when complex transactions are being performed.
Overview:
Replacement for Obsolete Statements ABAP Objects