I have a program which extract all data of table MAKT then use CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
My code is:
select * from makt into table i_tab PACKAGE SIZE 50000
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
i_field_seperator = p_sep
i_tab_sap_data = i_tab
i_tab_converted_data = it_buffer
conversion_failed = 1
OTHERS = 2.
IF sy-subrc EQ 0.
APPEND LINES OF it_buffer TO it_record.
CLEAR: it_buffer, it_buffer,i_tab, i_tab.
FREE : i_tab,gt_buffer.
I have a dump during the execution:
The current program had to be terminated because of an
error when installing the R/3 System.
The program had already requested 300672048 bytes from the operating
system with 'malloc' when the operating system reported after a
further memory request that there was no more memory space
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
Set the system profile parameters
to a maximum of 300672048. Then reduce the value by 10.000.000 to be on the
Then restart the SAP System.