Get Example source ABAP code based on a different SAP table
ABAP Code Snippet ARTICLE
You Must Declare Identification In ABAP Objects, the ID addition must be declared in IMPORT/EXPORT/FREE ... MEMORY statements.
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.