Hi,
How to clear or free the sap memory during the run time?
I have tried few scenarios.
REPORT ZSAP_MEMORY.
DATA : VALUE1(30) TYPE C VALUE 'SAP MEMORY'.
PARAMETER : MATNR TYPE MARA-MATNR.
SET PARAMETER ID 'MEM' FIELD VALUE1.
FREE MEMORY ID 'MEM'.
DELETE FROM MEMORY ID 'MEM'.
I have tried this below method using space, it is working fine. but i am sure this is not the correct way.
SET PARAMETER ID 'MEM' FIELD ' '.
please suggest.
Regards,
MOHANA