2013 Oct 08 4:10 PM
Hi,
There is an issue with the buffer memory. Seems like it gets saturated after few runs, even though we have taken care of 'FREE MEMORY ID'.
Bekw is the code snippet.
FREE MEMORY ID : 'ZVBELN','ZVIEW','ZLANGU'.
EXPORT gv_vbeln FROM iv_quotation TO SHARED MEMORY indx(xy) ID 'ZVBELN'.
EXPORT gs_view FROM is_view TO SHARED MEMORY indx(xh) ID 'ZVIEW'.
EXPORT gv_langu FROM iv_langu TO SHARED MEMORY indx(xa) ID 'ZLANGU'.
---->JOB_OPEN
---> Submit to Z program.
---> JOB_CLOSE
IMPORT ls_pdf_xstring TO ev_return FROM SHARED MEMORY indx(ct) ID 'ZOUTPUT'.
--->FREE MEMORY ID: ZOUTPUT', ZVBELN' 'ZLANGU 'ZVIEW'.
The issue is that it dumps after a few runs of the program. For the initial runs its successful.
Will calling this FM STATUS_BUFFER_REFRESH clear all the buffer values present currently , any such implications on the other running jobs? Any help in this regard is appreciated.
2013 Oct 08 5:52 PM
Have you considered export to datsbase? It will be slower (i think) but I wouldn't expect it to suffer from memory errors.
Neal