on 10-22-2010 2:47 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.