I have developed a report which brings doc's from table BKPF based on CC, posting date , period and fiscal year. i am storing them in an internal table, for those doc's I am getting the item details from BSEG and doing some calculations and downloading the items to a text file.
The report is working fine for CC having less data but for CC which have large amount of data it is not working. the report is terminated with error, Trying to extend Internal memory.
for this particular company code, for a period there may be millions of records.
it takes lot of time for selection, to reduce time I am using Logical data base BRM.
Please advice how to proceed on this.