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

batch job failed...

Former Member
0 Likes
295

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

1 REPLY 1
Read only

Former Member
0 Likes
257

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