CRVS2010 Beta - Cannot export report to PDF with unicode characters

My report has some unicode data (Chinese), it can be previewed properly in the windows form report viewer. However, if I export the report document to PDF file, the unicode characters in exported file are all displayed as a square.
In the version of Crystal Report 2008 R2, it can export the Chinese characters to PDF when I select a Chinese font in report. But VS2010 beta cannot export the Chinese characters even a Chinese font is selected.

Barry, what is the specific font you are using?
The below is a reformatted response from Program Management:
Using non-Chinese font with Unicode characters (Chinese) the issue is reproducible when using Arial font in Unicode characters field. After changing the Unicode character to Simsun (A Chinese font named 宋体 in report), the problem is solved in Cortez and CR both.
Ludek

Similar Messages

  • Export report to PDF with RDC, ASP

    <p>I use asp on windows 2003 server and Crystal reports XI, service pack 3.</p><p>When I export a report to a PDF file, it creates a 0kb file. No error messages are received. The directory allows for writing files. I can manually export a file via the viewer. When I try to open this file I get an error that another application is using the file (Crystal?)</p><p>Code I use:</p><p><%<br />  reportname = "Radar.rpt"<br />  ExportFileName = "Radar.PDF"<br /></p><p>If Not IsObject (session("oApp")) Then                              <br />  Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")<br />End If                                                               </p><p>Path = MID(request.ServerVariables("PATH_TRANSLATED"), 1, (LEN(request.ServerVariables("PATH_TRANSLATED"))-22)) & "Reports\"                   </p><p>If IsObject(session("oRpt")) then<br /> Set session("oRpt") = nothing<br />End if</p><p>On error resume next</p><p>Set session("oRpt") = session("oApp").OpenReport(Path & reportname, 1)</p><p>session("oRpt").MorePrintEngineErrorMessages = False<br />session("oRpt").EnableParameterPrompting = False<br />&#39;session("oRpt").DiscardSavedData</p><p>With session("oRpt").Database.Tables(1).ConnectionProperties <br />&#39; .Item("DSN") = "test"<br />  .Item("User ID") = "test" <br />  .Item("Password") = "test" <br />End With <br />  session("oRpt").ParameterFields(1).AddCurrentValue(Cint(request.Querystring("CustomerID")))<br />End Select</p><p>If Err.Number <> 0 Then<br />    Response.Write "An Error has occured. Please check the ASP page.<BR>"<br />    Response.Write "Error " & Err.number & " " & Err.description  & "<br>"<br /> Response.Write "Report: " & ReportName<br />End If</p><p>session("oRpt").ReadRecords<br />If Err.Number <> 0 Then                                               <br />  Response.Write "Error Occurred Reading Records: " & Err.Description<br />  Set Session("oRpt") = nothing<br />  Set Session("oApp") = nothing<br />  Session.Abandon<br />  Response.End<br />Else<br />  If IsObject(session("oPageEngine")) Then                              <br />   set session("oPageEngine") = nothing<br />  End If<br />  set session("oPageEngine") = session("oRpt").PageEngine<br />End If</p><p>Set CrystalExportOptions = session("oRpt").ExportOptions<br />ExportDirectory = MID(request.ServerVariables("PATH_TRANSLATED"), 1, (LEN(request.ServerVariables("PATH_TRANSLATED"))-22)) & "Docs\"<br />ExportType = "31"<br />CrystalExportOptions.DiskFileName = ExportDirectory & ExportFileName<br />CrystalExportOptions.FormatType = CInt(ExportType)<br />CrystalExportOptions.DestinationType = CInt(1)<br />session("oRpt").Export False<br />%><br /></p><p>&#160;</p>

    Hi Ludek,
    I trid the SP, but doesn't work. I can send the font to you, it is only 50K. If you would like to try I can send it to you, but i am not sure how i can upload the font file. I guess any none Windows standard font will have same issue, i guess.
    For now, i am going to give up and use image file instead.
    Thanks,
    Lan
    Do you know if it is well-known issue in CR?
    - No I do not.
    where i can get any SP of CR for VS2008?
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Runtimes for SP1:
    CRRedist2008_ia64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
    CRRedist2008_x64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
    CRRedist2008_x86.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255282008E/CRRedist2008_x86.zip
    I would not mind testing this, but I need to know if there is a free download of this font available. I Googled the font name, but a quick search did not come up with anything.
    Alternatively, you could try CR 2008 (12.x) and see if that will do the trick for you. An Eval of CR 2008 is available here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

  • Bad files when exporting reports to PDF with CR4E

    <p>Hello,</p><p>Have any of you successfully used CR4E to create a report and report viewer that produces a valid PDF export?  I attempted this and the report looks fine, but when I export it to a PDF and attempt to open it, I get an Adobe Reader error message stating "There was an error opening this document.  The file is damaged and could not be repaired."  I am using Adobe Reader 7.0.8.</p><p>Thanks,</p><p>Matt</p>

    <p>Thank you Sean!  I am using WAS 6.0.2, but I can&#39;t verify the fix you mention as I am not sure which JSP I need to remove the whitespace from.  Can you give me some more info on this?  </p><p>I am experimenting with CR4E as I am in the architectural design stage for a new project, so I don&#39;t really understand the CR4E object model yet.   I created my report viewer JSP from the report, and the following JSP code was generated.  I need to remove the white space from this JSP?</p><p>Thank you again.</p><p>Matt</p><font size="2" color="#bf5f3f"><%@</font><font size="2" color="#3f7f7f">page </font><font size="2" color="#7f007f">import</font><font size="2">=</font><font size="2" color="#2a00ff">"com.businessobjects.samples.JRCHelperSample,</font><font size="2" color="#2a00ff"> <p align="left">com.crystaldecisions.report.web.viewer.CrystalReportViewer,</p><p align="left">com.crystaldecisions.reports.sdk.ReportClientDocument,</p><p align="left">com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,</p><p align="left">com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,</p><p align="left">com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,</p><p align="left">com.faweb.Company,</p><p align="left">java.util.ArrayList,</p><p align="left">java.util.List"<font size="2" color="#bf5f3f">%><%</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// This sample code calls methods from the JRCHelperSample class, which </font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// contains examples of how to use the BusinessObjects APIs. You are free to </font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// modify and distribute the source code contained in the JRCHelperSample class. </font></p></font><font size="2" color="#7f0055">try</font>{ String reportName = "Report2.rpt";
    ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
    <font size="2" color="#7f0055">if</font>(clientDoc ==<font size="2" color="#7f0055">null</font>) {
    // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
    // tag can be removed to open the reports as Java resources or using an absolute path
    // (absolute path not recommended for Web applications).
    clientDoc =<font size="2" color="#7f0055">new</font>ReportClientDocument();
    // Open report
    clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
    // ****** BEGIN LOGON DATASOURCE SNIPPET ****************
    // Database username and password
    String userName = "db2inst1"; // TODO: Fill in database user
    String password = "######"; // TODO: FIll in password
    // logon to database
    JRCHelperSample.logonDataSource(clientDoc, userName, password);
    // ****** END LOGON DATASOURCE SNIPPET ****************
    // ****** BEGIN POPULATE WITH POJO SNIPPET ****************
    // **** POPULATE MAIN REPORT ***</font></p></font><font size="2"><p align="left">{</p><p align="left"><font size="2" color="#3f7f5f">// Populate POJO data source</font></p></font><font size="2">String className = </font><font size="2" color="#2a00ff">"com.faweb.Company"</font><font size="2">;</font><font size="2"> <p align="left"><font size="2" color="#3f7f5f">// Look up existing table in the report to set the datasource for and obtain its alias. This table must</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// have the same schema as the Resultset that is being pushed in at runtime. The table could be created</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// from a Field Definition File, a Command Object, or regular database table. As long the Resultset</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">// schema has the same field names and types, then the Resultset can be used as the datasource for the table.</font></p></font><font size="2">String tableAlias = </font><font size="2" color="#2a00ff">"Company"</font><font size="2">;</font><font size="2"> <p align="left"><font size="2" color="#3f7f5f">//Create a dataset based on the class com.faweb.Company</font></p></font><font size="2"><p align="left"><font size="2" color="#3f7f5f">//If the class does not have a basic constructor with no parameters, make sure to adjust that manually</font></p></font><font size="2">List dataSet = </font>new<font size="2"> ArrayList();</font><font size="2"> <p align="left">dataSet.add(new* Company(0, "Dummy"));
    // dataSet.add(new Company());
    // dataSet.add(new Company());
    // dataSet.add(new Company());
    // dataSet.add(new Company());
    //Push the resultset into the report (the POJO resultset will then be
    the runtime datasource of the report)
    JRCHelperSample.passPOJO(clientDoc, dataSet, className, tableAlias, "");
    // ****** END POPULATE WITH POJO SNIPPET ****************
    // Store the report document in session
    session.setAttribute(reportName, clientDoc);
    // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
    // Create the CrystalReportViewer object
    CrystalReportViewer crystalReportPageViewer =<font size="2" color="#7f0055">new</font>CrystalReportViewer();
    // set the reportsource property of the viewer
    IReportSource reportSource = clientDoc.getReportSource();
    crystalReportPageViewer.setReportSource(reportSource);
    // set viewer attributes
    crystalReportPageViewer.setOwnPage(<font size="2" color="#7f0055">true</font>);crystalReportPageViewer.setOwnForm(<font size="2" color="#7f0055">true</font>);
    // Apply the viewer preference attributes
    // Process the report
    crystalReportPageViewer.processHttpRequest(request, response, application,<font size="2" color="#7f0055">null</font>);
    // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
    // ****** BEGIN EXPORT PDF SNIPPET ***************</font></p></font><font size="2"><p align="left">{</p><p align="left">IReportSource reportSource = clientDoc.getReportSource();</p>JRCHelperSample.exportPDF(reportSource, request, response, config.getServletContext(), </font>true*);
    // ****** END EXPORT PDF SNIPPET ***************</font></p></font><font size="2">} </font>catch* (ReportSDKExceptionBase e) {
    out.println(e);

  • Error when export report to PDF with a none standard Windows font

    Hi,
    I got this error when trying to export PDF under VS2008 with an special true type font in the code behind. The error says:
    ...temp_9550ab94-02fc-4362-b259-cc6de8d6c04b {32E546F5-C6A3-44FC-B8EF-D5E37A1118FA}.rpt:\nOperation not yet implemented.
    In the crystal reort under VS2008, I use a special font which is true type and it is already installed in the system, I can see the font in many other software like Word, Notepad, etc... without any problem.
    Is anyone know how to fix it? please help.
    Many thanks!!!
    Lan

    Hi Ludek,
    I trid the SP, but doesn't work. I can send the font to you, it is only 50K. If you would like to try I can send it to you, but i am not sure how i can upload the font file. I guess any none Windows standard font will have same issue, i guess.
    For now, i am going to give up and use image file instead.
    Thanks,
    Lan
    Do you know if it is well-known issue in CR?
    - No I do not.
    where i can get any SP of CR for VS2008?
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Runtimes for SP1:
    CRRedist2008_ia64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
    CRRedist2008_x64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
    CRRedist2008_x86.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255282008E/CRRedist2008_x86.zip
    I would not mind testing this, but I need to know if there is a free download of this font available. I Googled the font name, but a quick search did not come up with anything.
    Alternatively, you could try CR 2008 (12.x) and see if that will do the trick for you. An Eval of CR 2008 is available here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

  • Export reports as pdf with a dynamic name

    Hi all,
    I am fairly new at APEX and this sums my situation and questions.
    I created a small app that shows invoice information. I created a 'report query' and a 'rtf query layout' and was able to create a export button to save it as pdf.
    2 questions arise:
    - Can I assign the pdf name dynamically based on a row value (in my case the invoice number), and if possible , how do I go about to do that?
    - can I create a "batch" to spawn these pdf files ? How would i do that?
    Kind regards and thanks for your input.
    Jorge

    Hi all,
    I am fairly new at APEX and this sums my situation and questions.
    I created a small app that shows invoice information. I created a 'report query' and a 'rtf query layout' and was able to create a export button to save it as pdf.
    2 questions arise:
    - Can I assign the pdf name dynamically based on a row value (in my case the invoice number), and if possible , how do I go about to do that?
    - can I create a "batch" to spawn these pdf files ? How would i do that?
    Kind regards and thanks for your input.
    Jorge

  • CRVS2010 beta - Cannot add report parameters through code

    Hello,
    I've been trying to follow random examples from these forums of people adding a parameter to their report.  My situation is as follows:
    I have a report that is populated from values selected from a SQL stored procedure.  In a simple test program, I'm able to display the report fine, except that when I run the app, it always asks me for the input parameter for the stored procedure.  I need to set this "programmatically", and I can't seem to get it to work.  Here is what I have:
                ReportDocument reportDoc = new ReportDocument();
                reportDoc.Load(String.Format("{0}\\ZGpQuoteReport.rpt", Environment.CurrentDirectory.ToString()));
                reportDoc.SetDatabaseLogon("reportuser", "reportuser");
                ParameterField quoteParam = new ParameterField();
                ParameterFields reportParams = new ParameterFields();
                ParameterDiscreteValue quoteVal = new ParameterDiscreteValue();
                quoteParam.Name = "@QuoteNumber";
                quoteVal.Value = "QGPET000000001";
                quoteParam.CurrentValues.Add(quoteVal);
                reportParams.Add(quoteParam);
                reportViewer.ViewerCore.ParameterFieldInfo = reportParams;
                reportViewer.ViewerCore.ReportSource = reportDoc;
    Like I said, every time I run this code, I'm still prompted to input the parameter.  Please help. Thank you!

    Hello - I'm having the same problem.
    I had a crystal report that was working fine in VS2008.  I've now got the latest VS2010 version and started using VS2010 to edit the crystal reports.
    As soon as click save in VS2010 in my report, I get prompted to upgrade the report to the new file format.
    From now on, whenever I run the report the user gets prompted for parameter values even though they are set in the code.
    I set them using
    crReportDocument.SetParameterValue("MyParameter", "value");
    In the popup to edit a parameter, it says 'Show on (Viewer) Panel' which is set to 'Do not show', and 'Prompt With Description Only' is 'False'.
    Is there something else I'm missing here?  I need to effectively turn off offering the user to replace the parameter values.
    thanks in advance, look forward to hearing from you!

  • Help me, I have a problem with font when export report to PDF?

    Hi everyone! Help me
    I have a problem with font when export report to PDF
    My report uses template .rtf with font Times New Roman (Unicode), language is VietNamese.
    when desige template no problem, error only happen when view report by PDF.
    Edited by: user10236405 on Oct 15, 2008 11:23 PM

    give it time to boot. the time depends on yr memory size n data. soon a process bar will appear indicating the boot process. if still this doesnt work. try formating the phone. but this ways u lose all data on the phone (unless u backed it). relax! the data on the memory card is safe.

  • IllegalArgumentException error while exporting report in PDF format

    Hi all,
    we are using Crystal Report 2008, Java 1.5.22 and JRC 11.8.4.1094 to export reports in pdf format within java.
    It is working fine for all reports except for a specific report where it gives IllegalArgumentException while exporting the PDF.
    Below the error occurred:
    12:39:16,875 ERROR [c] Disk Exporter: no output file was created by an exporter
    12:39:16,875 ERROR <b> PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export
    java.lang.IllegalArgumentException
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(Unknown Source)
    12:39:16,875 INFO  [c] Disk Exporter: finalizing export to destination
    12:39:16,875 ERROR [JRCCommunicationAdapter] Failed to export report
    com.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unknown exception is thrown
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(Unknown Source)
    Caused by: java.lang.IllegalArgumentException
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)
         ... 56 more
    Have an idea?
    Thanks

    Hello Andrea.
    I searched through the SAP Notes for the error that you are encountering.  There is an SAP Note that exists titled the following:
    1332907 - Report being exported to PDF format using the Crystal Reports for Eclipse 1.x runtime, errors with the exception: PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob
    Since you may not have access to the SAP Notes, I will extract the details that are mentioned in the note here:
    =============================================
    Symptom
    Attempting to export a report to Adobe PDF format using the Crystal Reports for Eclipse 1.x runtime results in an exception.
    The exception indicates "PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob"
    Environment
    Windows 2003
    Apache Tomcat 5.0
    Crystal Reports for Eclipse version 1.x
    Reproducing the Issue
    Using the Crystal Reports for Eclipse runtime version 1.x attempt to export a report to PDF format that has the "Repeat Group Header on Each Page" option enabled.
    Note: This does not occur if this option is enabled in a subreport.
    Cause
    When the "Repeat Group Header on Each Page" is enabled for a group in a main report the Crystal Reports for Eclipse 1.x runtime is unable to correclty format the PDF document which results in an exception.
    Resolution
    Updating the application to use Crystal Reports for Eclipse version 2.x runtime will resolve the issue.
    The most recent updates to the Crystal Reports for Eclipse runtime can be freely downloaded from the SAP SDN Website. 
    http://www.sdn.sap.com/irj/boc/crystalreports-java
    =============================================
    Since you are on JRC 11.8.4.1094 which is Crystal Reports for Eclipse 1.x, this may be the cause of your problem.
    I hope that this helps.
    Regards.
    - Robert

  • Textedit.app cannot export metadata to PDF

    Hello,
    I've create RTF document in TextEdit.app (OS X 10.8.3), fill my own Properties of this file (File->Show Properties) and export to PDF via File->Export as PDF…
    RTF file contain Properties: Author, Organisation, Copyright, Title, Subject, Keywords, comment.
    I presumed RTF properties are similar as PDF metadata, so it will be exported to PDF - but unfortunatelly not!
    No metadata (except Title [filename] and Author) was exported.
    It is look like as a bug in TextEdit.app :-(
    Are there any posibilities to export RTF properties to PDF metadata without expensive Acrobat?
    Thank you
    -FE

    Barry, what is the specific font you are using?
    The below is a reformatted response from Program Management:
    Using non-Chinese font with Unicode characters (Chinese) the issue is reproducible when using Arial font in Unicode characters field. After changing the Unicode character to Simsun (A Chinese font named 宋体 in report), the problem is solved in Cortez and CR both.
    Ludek

  • Unable to export reports to PDF in BI portal.

    Hello All,
    I am facing problem when trying to export reports to PDF in BI portal. It gives the error message "Error while generating the PDF".
    ADS BI export library is enabled in R/3 as suggested in SNOTE 1836587 and 944221.
    I have replicated the issue in the development portal, the export to PDF functionality is working fine for few user ID's. i checked the authorisation trace for the user ID's facing the issue, but no error was found in the trace.
    This is the detailed error message. Please suggest on this.
    Log ID:
    C0000A0C0502004A0000000300002023
    Initial cause
    Message: PDFDocument Processor failed to process GetColumnDataRequest Due to
    the following Reason
    can't parse argument number urn: AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
    Stack trace:
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument
    Processor failed to process GetColumnDataRequest Due to the following Reason
    can't parse argument number
    urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
    at
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentColumnDataContext.execute(PDFDocumentColumnDataContext.java:70)
    at
    com.sap.tc.adobe.pdfdocument.sapinternal.impl.PDFColumnDataContextImpl.execute(PDFColumnDataContextImpl.java:22)
    at
    com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:362)
    at
    com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:103)
    at
    com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:158)
    at
    com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:503)
    at
    com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:336)
    at
    com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:68)
    at
    com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:556)
    at
    com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:142)
    at com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:389)
    at
    com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processSnippetRendering(PageExportRenderingRootNode.java:274)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.buildRenderingTree(Page.java:1329)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRenderingRootNode(Page.java:4938)
    at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRendering(Page.java:4904)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.doProcessRequest(Page.java:2803)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page._processRequest(Page.java:744)
    at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4960)
    at
    com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4953)
    at
    com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.doProcessRequest(Controller.java:1234)
    at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller._processRequest(Controller.java:1083)
    at
    com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1049)
    at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:72)
    at
    com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:462)
    at
    com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:365)
    at
    com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:26)
    at
    com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)
    at
    com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
    at
    com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
    at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
    at
    com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)
    at com.sap.portal.prt.pom.PortalNode.service(PortalNode.java:588)
    at
    com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:233)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
    at
    com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
    at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:520)
    at
    com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:201)
    at
    com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)
    at
    com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at
    com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at
    com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at
    com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at
    com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at
    com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: java.lang.IllegalArgumentException: can't parse argument number urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document
    at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
    at java.text.MessageFormat.applyPattern(MessageFormat.java:458)
    at java.text.MessageFormat.<init>(MessageFormat.java:350)
    at java.text.MessageFormat.format(MessageFormat.java:811)
    at
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException$DummyLocalizableTextFormatter.<init>(PDFObjectRuntimeException.java:43)
    at com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException.<init>(PDFObjectRuntimeException.java:26)
    at
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.invoke(PDFObjectDII.java:393)
    at
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.doSoapCall(PDFObjectDII.java:91)
    at com.sap.tc.adobe.pdfobject.base.core.PDFObject.execute(PDFObject.java:194)
    at
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentColumnDataHandler.handle(PDFDocumentColumnDataHandler.java:93)
    at
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
    ... 89 more
    [email protected]

    Hi Gaurav,
    Check if the URL in the ConfigPort_Document SOA destination is correct. Also, check if the os_libs directory under the /usr/sap/SID/JXX/j2ee directory. If it does, then stop the SAP system, rename the os_libs directory, and restart the system.
    Try generating a PDF report.
    Cheers!
    Hemanth

  • Exporting Report to PDF in Landscape

    Hello All,
    After my Hyperion report finished, I exported the result into PDF. Due to having too many rows, HTML and Excel are not viable options. After the export finished writing to a PDF file, I checked the report and realized that unless I find a way to save the result in a Landscape mode, each page of the report will be broken into two pages. Does anyone know how to export reports in PDF format in a Landscape mode?
    Thank you,
    Seyed

    Hello Ameuras,
    Thank you for your help. I was able to use the information in your response and then save the PDF report in a Landscape format. However, this still prints each row on two pages. Next, I will try your other suggestion to see if using 'Scale To Fit' would solve this problem.
    Thanks again,
    Seyed

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non clusterable object with jndiName ]

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

  • Can not copy text from pdf with unicode font embedded.

    Hello,
    I have a pdf with unicode font embedded in it. The pdf has no restrictions. When i try to copy some text text fro m pdf and then paste itin word, the text is not the same which i copied from the pdf. it changes.
    I have tried multiple softwares which converts pdf to word or pdf to excel. but none can do my job. what should be the problem? Kindly guide me.
    Thanks & Regards-
    rashmi

    Thanks for your prompt reply.
    As i said i have the font installed on my system. for your reference,
    following is the link to the pdf file. also the second link is the link to
    the fonts used. Kindly help me to sort this issue.
    https://www.yousendit.com/download/T2dkcHBEVEh0QTIwYjhUQw
    https://www.yousendit.com/download/T2dkcHBFQXBrYUJYd3NUQw

  • Does photoshop cs5 sdk support file names with unicode characters?

    Hi,
    For the export module, does the windows sdk have support for filenames with unicode characters?
    The ExportRecord struct in PIExport.h has an attribute filename declared as char array.
    So I have a doubt whether filenames with unicode characters will be supported for export module.
    Thanks in advance,
    Senthil.

    SPPlatformFileSpecificationW is not available in ReadImageDocumentDesc.
    It has SPPlatformFileSpecification_t which is coming as null for export module.
    I am using phostoshop cs5 sdk for windows.
    Thanks,
    Senthil.

  • Filenames with unicode characters

    Hello, I have a question regarding filenames with unicode characters on an arabic windows xp.
    I have a string, which the user entered and want to create a file with this string as filename. So my question:
    Which unicode characters are allowed in a filename? I know, that on a german windows " / \ * ? < > : * are not allowed from the ASCII set, but which unicode chars are allowed? Is this language dependend on windows? Maybe there exists a method, which checks a string for this allowed characters.
    Thanks for your help

    AFAIK the illegal characters are always the same (you listed them already) and as long as the filesystem supports it (read: you use NTFS and not FAT) you may use any other unicode character.
    You might have troubles displaying those characters 'though if you don't happen to have the correct fonts installed, but that would only be a cosmetic issue.

Maybe you are looking for

  • Have to sign into my account each time I launch an app

    Hi, each time I launch an app, I have to sign in, to accept terms of contract, or I get a message saying this is a demo version. I am fed up with this !!! I have a legal version, and I don't want to sign in every day. Used it on OSX before, and there

  • HT5312 What if I can't remember my answers?

    For my security questions

  • DEMAND FORECAST  AUTOMATIC CREATION

    Dear Expert                    The question is with regards to MRP(Auto Creation of Purchase Order) 1. we have 5000 items we need to create Purchase order Automatically, for that purposes we will be making demanfd forecast . In sap B1 we have Demand

  • Download Query SQ01/SQ02

    Hi Experts!!! I would like to know if there's a way of downloading or exporting / uploading or importing a query made in SQ01. I need to replicate it in another system. Thanks in advance!

  • Materia master warehouse management view

    Hi Experts In OMS2 I have enabled the Warehouse Management view for ROH & HALB. But In MM01 appears both warehouse management view 1 & 2.  How do i restrict it to appear view 1 only and not . Also how to control in the field reference for a specific