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

TSV_TNEW_PAGE_ALLOC_FAILED -ERROR

Former Member
0 Likes
466

Hi,

I have a requirement to compare two fields ( brand form and product category) based on the product codes, whether these two fields have any blank values. If yes then send all those error records in email as an excel attachment.

My concern is there are no restrictions for the product codes and we have more than 80 lakhs records. When i compare if there are 30 lakhs error records among this, I am not able to send an email.

Program terminates With the error " TSV_TNEW_PAGE_ALLOC_FAILED  ".

I am using    'SO_NEW_DOCUMENT_ATT_SEND_API1' Function module to send mail as excel attachment.

Could anyone please help me. Is there any possible ways to get the whole records in excel sheet. This is BI related ABAP code.

Regards

Siva

2 REPLIES 2
Read only

Former Member
0 Likes
404

TSV_TNEW_PAGE_ALLOC_FAILED means that the workprocess running your ABAP program ran out of available memory. First talk to your basis to find out whether the instance is correctly configured. If your program is using more than 2 gigabytes of memory then you should look at redesigning your program. For one you could work on only the fields that identify the records instead of having all fields in memory.

Read only

0 Likes
404

This error is usually due to a lack of system resources for the roll area where internal tables are processed in 3.0 (previously this was known as the paging area). The roll area itself consists of the conventional roll area, the EM area and the HEAP area. When processing tables in dialog, the system gradually requests memory from these areas. A runtime error occurs only when the HEAP area is exhausted or when one of the parameter values abap/heap_area_total, abap/heap_area_dia is reached.

If an error occurs in a background job, you must increase the swap space by setting one of the parameters abap/heap_area_total or abap/heap_area_nondia accordingly.

The swap space can be configured by the system administrator at operating system level.