cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in viewing (in Browser) the report with multiple columns

Former Member
0 Kudos

HI Team,

I have a problem with report viewer while viewing the report in Browser. Regular reports are working fine. but when the report contain "Format with multiple columns" enabled the data is not aligned as expected, it is getting overwritten. We developed reports in the Crystal Reports 2008 and the report is working perfect in designer. Please help me in resolving the issue.

Below is the code i am using to view the reports in pdf:

byteArrayInputStream = (ByteArrayInputStream) reportClientDocument.getPrintOutputController().export(ReportExportFormat.PDF);

System.out.println("-------------------------12");

response.reset();

response.setHeader("Content-disposition", "inline;filename=crreport.pdf");

response.setContentType("application/pdf");

byteArray = new byte[1024];

while((bytesRead = byteArrayInputStream.read(byteArray)) != -1) {

  

    System.out.println("----------------");

response.getOutputStream().write(byteArray, 0, bytesRead);

}

response.getOutputStream().flush();

response.getOutputStream().close();

Attached designed view and browser view images

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188030
Active Contributor
0 Kudos

Hi Penchal,

Could you test the issue with latest JRC runtimes 12.2.218.

http://scn.sap.com/docs/DOC-29757

And with sample app http://scn.sap.com/docs/DOC-6892

- Bhushan

Senior Engineer

SAP Active Global Support

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Former Member
0 Kudos

Hi Bhushan,

     I am using new version of jars and code as you have mentioned. Still the issue exists.

Regards'

Penchal

former_member188030
Active Contributor
0 Kudos

Could you attach your report with saved data so that we could test it.

- Bhushan