Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8800

Exporting ReportClientDocument as an excel or PDF

$
0
0

Hi,

 

We are trying to render the data as an excel by building a ReportClientDocument object with necessary parameter fields, setting excel export format options to the document and exporting as an excel using PrintOutputController's export method.

 

We are encountering the below issue when ever trying to export the document as an excel or PDF:

 

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal

 

After the initial analysis on SAP forums, it is understood that the error is caused by large amount of data and the below parameters have to be tuned for resolution:

 

  • In <Installation-dir-of-BO>\Common\4.0\java\CRConfig.XML we have to increase the JAVA heap MIN and Max size

          <JVMMaxHeap>64000000</JVMMaxHeap>

          <JVMMinHeap>32000000</JVMMinHeap> 

  • Increase the value in the ReportApplicationServer Services in the CMC for "Number of database records to read when previewing or refreshing a report". The value -1 is for unlimited records but not recommended for performance.

 

The parameters we are passing are returning just one record. Even the configuration parameters are set to the same values as above(mentioned under resolution for a similar discussion).

 

Is there a chance to encounter this error under a different situation than the large data?

 

Note: We are using BOE 4.X server and the associated RAS SDK to build documents.


Viewing all articles
Browse latest Browse all 8800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>