‎2008 Oct 03 6:11 AM
I am running a batch job but it is failing .
And the error i am getting is -- ABAP/4 processor: TSV_TNEW_PAGE_ALLOC_FAILED
Can anyone suggest why this error is coming.
Thanks,
Anoop
‎2008 Oct 03 6:14 AM
Usually the message TSV_TNEW_PAGE_ALLOC_FAILED indicates that the program needs too much memory for an internal table.
Look for a SELECT FOR ALL ENTRIES IN itab 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 (how-to) to find where it sticks. You can also look at the generated Dump using ST22.
Regards
Midhun Abraham