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

shows a msg not enough memory space to take this amount of values

this is a part of a report

*Appending to deltabo table of DOE

LOOP AT lt_but000 INTO ls_but020.

ls_deltabo-r3key = ls_but020-partner.

ls_deltabo-msgfn = lc_009.

APPEND ls_deltabo TO lt_deltabo.

ENDLOOP.

where

lt_but000 TYPE SORTED TABLE OF ls_but000 WITH NON-UNIQUE KEY partner,

TYPES: BEGIN OF ls_but000,

partner TYPE bu_partner,

END OF ls_but000.

lt_deltabo TYPE STANDARD TABLE OF merep_deltabos

& merep_deltabos is a structure

when the loop starts the values of lt_but020-partners is equal to ls_deltabo-r3key & ls_deltabo-msgfn = lc_009(constant).

& append all values,

now the problem is that lt_but000 has 40 lacks 4 million of buisness partners entries & all the values are not appending it shows a msg not enough memory space to take this amount of values

kindly help me on this

<removed by moderator>

Edited by: Thomas Zloch on Oct 22, 2010 3:53 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2010 at 08:15 AM

    Hello Sanajy,

    I assume you are getting a TSV_NEW_PAGE_ALLOC_FAILED error. Your lt_but000 internal table is quite huge and its quite possible that your system runs out of memory space to handle it. You may want to consider reading your business partners in packages (select .......from table......package size <size>. ....... Endselect.) and populate the Delta BO structure inside that Select loop. Read the package size into lt_but000, move the records into delta BO structure and if possible, refresh lt_but000. This way, you dont eat up a lot of the ABAP memory allocated to your program.

    Regards,

    Jinesh.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2010 at 05:56 AM

    Hi,

    You may try this , Just declare all tables with initial size 0

    and unused tables to be refreshed and use free itab.

    it may help you to littile extenct in case of ABAP memory.

    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.