on 09-25-2014 12:37 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.