get temporary table records set in a report


I want to create a report with a datasource.(it is not a temp table)

I create an other tmp table for calculations. (It is not datasource of table)

I Insert the temp table records in a class , and get the data in fetch report method like this.

temptable.setTmpData(class::getData(startDate, endDate));

because ı have to use temptable records for calculation.

can you give any suggestion about this, please?


Could you elaborate more on your requirement ? What actually you want to do ?

If it’s temporary table then you can write like:

While select tmptable


// Based on your logic



Hi Vishal ,

thank you very much for your replay.

temp table is not my report datasource . I want to use the temp table for calculation…