Generating and viewing the reports