10-22-2008 8:33 AM
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
10-22-2008 8:38 AM
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.
10-22-2008 8:36 AM
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
10-22-2008 8:38 AM
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.
10-22-2008 10:01 AM
10-22-2008 8:38 AM
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.