Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.