‎2009 Mar 13 10:11 AM
Hi,
I want to refresh MEMORY after using FUNCTION 'LIST_FROM_MEMORY'.
Can anybody give me a guidance or a hint.
Best regards.
‎2009 Mar 13 11:30 AM
‎2009 Mar 13 10:13 AM
Hi
U can use FREE command after the specified function module.
Regards,
Sreeram Kumar.Madisetty
‎2009 Mar 13 10:14 AM
‎2009 Mar 13 10:15 AM
Hi,
You can do below
call function 'LIST_FROM_MEMORY'
tables
listobject = list_pdata
exceptions
not_found = 1
others = 2
if sy-subrc = 0.
call function 'WRITE_LIST'
tables
listobject = list_pdata
exceptions
empty_list = 1
others = 2
.
if sy-subrc NE 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
CALL FUNCTION LIST_FREE_MEMORY. "here free meory
endif.
endif.Thanks!
Edited by: Prasanth on Mar 13, 2009 3:54 PM
‎2009 Mar 13 11:30 AM