‎2007 Jun 07 7:44 PM
Hi Experts,
I hv 3 statemets,
1) DELETE FROM MEMORY ID key
2) - FREE OBJECT obj
3) - FREE OBJECT.
Actually, I am using,
IMPORT flag FROM MEMORY ID 'ZP1'.
So,
1) Which one from 1, 2 or appropriate?
2) May I know the difference pls. I guess, 1 & 2 r almost similar in functionality!(sorry, if am wrong)
thanq.
‎2007 Jun 07 7:51 PM
Hi,
IMPORT flag FROM MEMORY ID 'ZP1'.
So,
1) Which one from 1, 2 or appropriate?
Perhaps you want to use FREE MEMORY ID 'ZP1' instead.
2) May I know the difference pls. I guess, 1 & 2 r almost similar in functionality!(sorry, if am wrong)
DELETE FROM MEMORY ID key
This syntax does not exits.
FREE OBJECT <obj>.
This will release the storage space required for the object obj. The object can then no longer be processed.
Regards,
Ferry Lianto
‎2007 Jun 07 7:50 PM
‎2007 Jun 07 7:51 PM
Hi,
IMPORT flag FROM MEMORY ID 'ZP1'.
So,
1) Which one from 1, 2 or appropriate?
Perhaps you want to use FREE MEMORY ID 'ZP1' instead.
2) May I know the difference pls. I guess, 1 & 2 r almost similar in functionality!(sorry, if am wrong)
DELETE FROM MEMORY ID key
This syntax does not exits.
FREE OBJECT <obj>.
This will release the storage space required for the object obj. The object can then no longer be processed.
Regards,
Ferry Lianto
‎2007 Jun 07 7:52 PM
‎2007 Jun 07 7:53 PM
Delete from memory:-
Release an area in the ABAP/4 memory .
Free Object :
Release the memory occupied by an external object This is more for OLE objects like Excel.
From the look of it you need to use Delete Memory.
Hope this helps.
‎2007 Jun 07 7:58 PM
I actually can not find the document for DELETE MEMORY. I think Ferry is right about using the FREE MEMORY and not DELETE MEMORY. Unless you are talking about the shared buffer, for this there is a DELETE statement.
<i>Delete a data cluster from the cross-transaction application buffer
- DELETE FROM SHARED BUFFER dbtab(ar) ...ID key.</i>
Regards,
RIch Heilman