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

Former Member
0 Likes
1,289

Hi Abapers,

I have problem in my customized report . While giving selection criteria for a range of values the report is successful .

But for selecting a particular entry i am getting the DUMP message TSV_TNEW_PAGE_ALLOC_FAILED . i know that this message comes when there is some memory realted issues . But the point in my case is that it is successful for large cases but not for a single case .Please suggest what can be done .

Regards

Arun.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,106

Hi ,

But for selecting a particular entry i am getting the DUMP message TSV_TNEW_PAGE_ALLOC_FAILED . i know that this message comes when there is some memory realted issues ---> i think its going for Infinite Loop ?,better to check ur code.

regards

Prabhu

Hi ,

But for selecting a particular entry i am getting the DUMP message TSV_TNEW_PAGE_ALLOC_FAILED . i know that this message comes when there is some memory realted issues ---> i think its going for Infinite Loop ?,better to check ur code.

regards

Prabhu

6 REPLIES 6
Read only

Former Member
0 Likes
1,107

Hi ,

But for selecting a particular entry i am getting the DUMP message TSV_TNEW_PAGE_ALLOC_FAILED . i know that this message comes when there is some memory realted issues ---> i think its going for Infinite Loop ?,better to check ur code.

regards

Prabhu

Read only

0 Likes
1,106

Hi Prabhu,

I checked the code . it seems fine there can not be loops

inside the program as sufficent checks has been put before the

select statement.If the same dumps come again can i do something like increaseing memory through basis .

Regards

Arun.

Read only

Former Member
0 Likes
1,106

Following cases may happen,

1. Report goes to Infinite loop.

2. Any statement tries to create a NEW-PAGE, but there is nothing to write in the new page.

Reagrds,

anirban

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,106

Usually the message [TSV_TNEW_PAGE_ALLOC_FAILED|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=tsv_tnew_page_alloc_failed+&adv=false&sortby=cm_rnd_rankvalue] indicates that the program needs too much memory for an internal table.

Look for a [SELECT FOR ALL ENTRIES IN itab|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=selectFORALL+ENTRIES&cat=sdn_all] where there is not check if itab is not empty. (When itab is empty, the SELECT ignores every selection criteria and read the whole table) This may happen if a first SELECT give no result, then a second SELECT use the results of the first selection to perform a second selection.

If you don't find something like that, insure that the program will not loop infinitely.

If the code is not clear, use a tool like [SE30|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=se30&adv=false&sortby=cm_rnd_rankvalue] ([how-to|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=se30how-to&adv=false&sortby=cm_rnd_rankvalue]) to find where it sticks. You can also look at the generated Dump using [ST22|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=st22&adv=false&sortby=cm_rnd_rankvalue].

Regards

Read only

Former Member
0 Likes
1,106

Hi..

This error comes when the programs internal tables are taking extra memory and the program is getting terminated in between.

What you can do is to check whether the memory used is not much.Let me know your feedback.

Read only

Former Member
0 Likes
1,106

Hi Arun.

I would like to suggest my opinion,

Possible solutions,

Try using smaller select-option ranges, which reduces the data processing load.

I would like to suggest a reference,

[SDN Weblog - Standard Reference for An Enhanced Workload Statistics Collector for large customer systems|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5634] [original link is broken] [original link is broken] [original link is broken];

Hope that's usefull.

Good Luck & Regards.

Harsh Dave