Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

The EXPORT data cluster is too large for the application buffer.

Former Member
0 Likes
1,635

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.


1 REPLY 1
Read only

Former Member
0 Likes
811

Have you considered export to datsbase?  It will be slower (i think) but I wouldn't expect it to suffer from memory errors.

Neal