Application Development 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: 

No storage space available for extending the internal table.

Former Member
0 Kudos

Hi Experts,

I've problem when executed background job for cust. program and status CANCELED.

Message is :

Runtime Errors <b>TSV_TNEW_PAGE_ALLOC_FAILED</b>

''No storage space available for extending the internal table.''

Can someone give me an idea?

2 REPLIES 2

Former Member
0 Kudos

Hi!

Typical error when the internal table contains very high number of items.

Possible solutions:

- refresh and free unused internal tables

- reduce the number of the unused columns in the internal tables with very high items numbers

For example if you defined your internal table like this:

gt_bseg LIKE STANDRAD TABLE OF bseg.

Use instead:

TYPES: BEGIN OF t_bseg,

gjahr LIKE bseg-gjahr,

belnr LIKE bseg-belnr,

...

TYPES: END OF t_bseg.

DATA: gt_bseg TYPE STANDARD TABLE OF t_bseg.

Use only the neccessary fields.

Regards

Tamá

Former Member
0 Kudos

Hi,

Please refer to -

The issue you are facing could be due to -

1) The program using up all of the memory assigned to the user context

2) The total heap area, abap/heap_area_total, has been consumed by one or multiple programs consuming all of the heap memory.

It would probably be a good idea to limit your selection so it does not return too much data.