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: 

You attempted to extend an internal table, but the required space was.

Former Member
0 Kudos

Hi ,

i m scheduling the program in background mode . i m getting the runtime error like . even i put internal table as occurs 0. ealier it was occurs 100.

error like

You attempted to extend an internal table, but the required space was

not available.

can anybody tel me wt is the solution.

Regards ,

Kiran

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Its good not to use occurs 0, it is obsolete, declare internal table like:

data:
begin of wa,
var1(20),
end of wa.

data:
itab like standard table of wa with header line.

"Memory allocation will be taken care automatically

Thanks & Regards,

Navneeth K.

4 REPLIES 4

Former Member
0 Kudos

Hi,

You've exceeded the memory allocation permitted for a single program, you'll have to try and limit the data in your program or use an extract dataset (an old technique).

Darren

Former Member
0 Kudos

Hello kir kumar ,

I think the problem is you internal table contain large amount of data.

Just you try u r program by executing in forground and see how many records are there in the internal table, if it less records then check where the problem is.

If the internal table contains the large amount of data i.e. you r interanl table will not take that much space better you contact to basis team and ask them to increase the size of the internal table buffer size for internal table.

0 Kudos

thanks a lot santosh

Former Member
0 Kudos

Hi,

Its good not to use occurs 0, it is obsolete, declare internal table like:

data:
begin of wa,
var1(20),
end of wa.

data:
itab like standard table of wa with header line.

"Memory allocation will be taken care automatically

Thanks & Regards,

Navneeth K.