Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

While loading the data to the presentation server if too big

Former Member
0 Likes
418

Hi all,

While loading the data to the presentation server or writing them to an internal table if I find that the size of the data is too large for the internal table then what to do?

Thanks.

Hi all,

While loading the data to the presentation server or writing them to an internal table if I find that the size of the data is too large for the internal table then what to do?

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
383

Hi,

Writing to an extract writes the data to disk, rather than memory. I'm sure that your system has much more disk space than memory. Once you have populated the extract, you can loop through it just like you would to an internal table.

Extract help from SAP:

http://help.sap.com/saphelp_470/helpdat ... ameset.htm

Example program :

*>> Field-Group definition << rpt_fg hold the entire report output

data: w_kostl(10), w_line(200). " fields used in insert

field-groups: rpt_fg. " Define field-groups, no header

insert w_kostl " insert data element or table field

w_line " insert data element or table field

into rpt_fg. " field group

*>> <<

w_kostl = e_report-kostl.

w_line = e_report-line.

extract rpt_fg.

loop.

at rpt_fg.

if w_kostl = 'XXXX'.

i_rpt = w_line.

*>> do something <<

endif.

endat.

endloop.

Reward if helpfull...

Cheers,

Sowjanya.

Read only

Former Member
0 Likes
383

hi check this...

actually the internal table holds 8kb if it fills then it will get 10mb and if it fills then it will take 500mb if it fills it will take 2gb(if is set by the basis people)..or one thing...get the data into different internal tables..like this..

if the index in between 1 to 10000 then pass this data to itab1

if the index in between 10000 to 20000 then pass this data to itab2..

regards,

venkat