Skip to Content
avatar image
Former Member

Increase internal table memory

Dear Techis,

How to increase size of internal table. while executing it gettin in DUMP.

I checked wid basis consultanat the Heap memory is more than sufficient, but still my report is not gettin executed its showin dump .

Will anybody pls tell me is it possible to increase size of internal table as of now i am using "Occurs 0" if i use "occurs 100" is dis help in any way??

Pls Suggest

Regards

Santosh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Oct 04, 2008 at 11:20 AM

    hi,

    while declaring internal table

    data: itab type table of xyz initial size n.

    increase value of n from 0 step wise, and check when dump is not comming

    by default if we do not specify initial size n, n is taken to be 0

    if you are using occur 0, increasing it to higher value will definitely help

    Edited by: Amit Gupta on Oct 4, 2008 1:21 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 04, 2008 at 11:21 AM

    Occurs 0 is correct,there may b a another reason for Dump,can u send us Dump.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      If you are using ECC6.0 do the setting like below in ur ABAP editor

      UTILITIES --> SETTINGS ---> ABAP EDITOR -


      >DOWNWARD-COMP.LINE.LENGTH here un check the check box

      But I don't think it is your problem,your coding taking so much of time it need to be change just send ur code once

      Edited by: Sree on Oct 4, 2008 2:06 PM

  • Oct 04, 2008 at 11:21 AM

    Hi Santosh,

    No need to increase internal table memory. You first analyze cause of dump in ST22.

    Piyush

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 04, 2008 at 11:21 AM

    Hi,

    If you declare with occurs 0 or 100 it doesn't matter, it takes care at run time. So the problem is in your Select query or some other code which is taking more time. Plz check in debugg..

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 04, 2008 at 11:26 AM

    Instaed of declaring the Internal Table with Occurs statement.

    Declare the Internal table structure with TYPES statement,

    Then Declare an internal table with DATA statement for above structure, Then the workarea.

    Ex:-

    TYPES : BEGIN OF ty_emp,

    empno(2) TYPE c,

    empid(10) TYPE c,

    empname(3) TYPE c,

    END OF ty_emp.

    DATA : it_emp TYPE TABLE OF ty_emp,

    wa_emp TYPE ty_emp.

    Regards

    Bala Krishna

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 04, 2008 at 11:33 AM

    I dont think your problem will be solved by increasing the initial size. Use field-symbols instead of internal tables. They can hold more data.

    FIELD-SYMBOLS:<f1> TYPE STANDARD TABLE OF x_data.
    

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 04, 2008 at 05:51 PM

    The trick is not to increase the amount of memory available, but to decrease the amount you are consuming.

    Rob

    Add comment
    10|10000 characters needed characters exceeded