cancel
Showing results for 
Search instead for 
Did you mean: 

Customize crviewer

Former Member
0 Kudos

Hi All,

I am new to the Plugin, I am facing a question that is it possible to dynamically generate the list of exportable file formats, e.g. some reports could be generated as excel while some could not. Thanks a lot.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dennis,

By dynamically generate the list of exportable formats, you mean to say without the intervention of crystal report viewer?

- If you want to directly export a report to a format without the intervention of the viewer, it is possible by using the unmanaged RAS API's directly. Please refer to the sample found at the below link.

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

Hope it helps.

Thanks,

Prithvi

Former Member
0 Kudos

Hi Prithvi,

Do you mean I should develop our own viewer instead of using its default viewer?

Thanks.

Former Member
0 Kudos

Hi Dennis,

There are two options how you can export a report.

1. View the report in the crystalreport viewer and then utilize the export button available in the viewer to export the report to the available formats.

2. Directly export the report to a specified format as per the API guide with out actually viewing the report. This mechanism doesnot require a viewer component as we are using the API's and directly exporting the report.

The sample at http://scn.sap.com/docs/DOC-6238 shows the same.

Having said that, it doesnot mean that you have to create a viewer of your own.

Thanks,

Prithvi