SAP Knowledge Base Article - Public

1553021 - Is it possible to export crystal report to text from DHTML Report Viewer?

Symptom

Is it possible to export crystal report to text from DHTML Report Viewer?

Environment

Business Objects Enterprise XI 3.1

CR Server 2008

CR Server 2008 Embedded

Cause

Exporting to Text is available only from standalone crystal designer. It is not possible to export a report to plain text from the DHTML Report Viewer Export.

Resolution

You have to export to text from code by opening the report with RAS and calling:

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

and then write the byte stream to browser or a disk file.

Keywords

export to text dhtml report viewer , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , How To

Product

Crystal Reports 2008 V0