2008 Aug 08 6:42 AM
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.
2008 Aug 08 6:58 AM
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
2008 Aug 08 6:58 AM
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
2008 Aug 08 7:09 AM
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.
2008 Aug 08 7:13 AM
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
2008 Aug 08 7:13 AM
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
2008 Aug 08 7:13 AM
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.
2008 Aug 08 7:26 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |