Nav 2016 report

I have an problem about Nav migration report,
In my previously system Nav 2009  report footer data insert into temporary table , that time code written on Group footer section , but in nav 2016 its not possible, In Nav 2016 data inserts only body wise(not group footerwise) , so i want to insert group wise footer data into tamporary table in nav 2016, so please give me solution for this.