JNDI error while generating pdf from crystal reports in java

Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
1. Server Name      = testdb
2. Database Name  = testdb
3. User
4. Password
I am using CR XI.
In CRConfig.xml i had given following details.
<JDBC>
     <CacheRowSetSize>100</CacheRowSetSize>
     <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
     <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
     <JDBCUserName>user</JDBCUserName>
     <JNDIURL>password</JNDIURL>
     <JNDIConnectionFactory></JNDIConnectionFactory>
     <JNDIInitContext>/</JNDIInitContext>
     <JNDIUserName>testdb</JNDIUserName>
     <GenericJDBCDriver>
          <Default>
               <ServerType>UNKNOWN</ServerType>
               <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
               <StoredProcType>Standard</StoredProcType>
               <LogonStyle>Standard</LogonStyle>
          </Default>
     </GenericJDBCDriver>
</JDBC>
When i am calling from java as standalone, i am getting following error.
JRCAgent1 detected an exception: Error finding JNDI name (testdb)
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
Can anyone let me know where is the problem?

Actually, the question boils down to; does the framework support the fonts?
I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
I believe if you use the code below, it will list fonts available to the framework:
foreach(FontFamily ff in FontFamily.Families)
System.Diagnostics.Debug.WriteLine(ff.Name);
For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
Ludek

Similar Messages

  • Error while generating PDF BI 7 Report Designer

    Hi,
    I am getting this error Error while generating PDF when i tried print version on report designer,
    I tried to find information on this error but there was no information regarding this , so posted here.
    Please let me know if you have any suggestions.
    Thanks,
    Kumar

    We have restated the java server and now the issue solved.
    Kumar

  • Error exporting to PDF from Crystal Reports 2008

    Hi,
    We are getting following error while exporting Crystal report to the PDF and preview in IE:
    Description: Failed to export to a pdf file -- Selected exporter does not support one of the features used in this report. MyReport {DCA37817-1414-45A7-8DF9-75503B8CD0FE}.rpt
    This report having chart object as subreport, however export to Excel works fine and we could see chart fine in Excel. Any other reports without charts are exporting fine to the PDF format only this one having issue.
    Report developed with Crystal Reports 2008/SP2, server we are running this report having CRRuntime_12_0.msm merge file installed successfully. We can't install 12_2 or 12_3 downloaded from your site because of errors we are getting while setup with these merge files somehow.
    Server configuration: Windows 2008 RC2 64bit, .NET framework 3.5, project executing report compiled as x86 ASP.NET project.
    Thanks for help!
    Leonid Shprekher
    Bessemer Trust

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Error while generating PDF from APEX through BI Publisher

    Hi,
    I am facing a problem which is intermittent.
    I am generating a pdf from APEX which has been developed using BI Publisher.
    I have linked the report to the APEX using report queries/report layouts in shared components.
    The pdf used to open without any problems previously.But currently,I am getting the following error
    *"An error exists on this page.Acrobat may not display the page correctly.Please contact the person who created the pdf document to correct the document."*
    Once the Bi Publisher Services is restarted,I am able to generate the pdf.Again After sometime the same error pops up.
    Has anybody faced the above error?
    Any solution for the same.
    Kindly reply.
    Thanks and Regards,
    K Tanna

    in the log file,following message was shown
    [050510_021134100][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=15744MB, total=237MB, free=121MB

  • Getting error while printing PDF from ABAP Report

    hi everyone,
    I am trying to print PDF form from a report. But the output i get is an error msg on the Paper
    ERROR: limitcheck
    OFFENDING COMMAND: PDF Parser: Damaged PDF file, failed reading trailer STACK:
    thanks.

    Some additional information:
    In the defaulttrace, I can see this:
    Service XMLFormService: Native process (PID=15892) E:\usr\sap\PEP\JC00\j2ee\os_libs\adssap\XMLFormService\bin\XMLForm.exe terminated abnormally with error code 128
    Processing exception during a "Render" operation.
    Request start time: Fri Mar 06 10:11:55 CET 2009
    com.adobe.ProcessingException: XMLFM Exception during render: org.omg.CORBA.COMM_FAILURE
    Exception while connecting to <SERVER-IP>:3533
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method

  • Error while printing (PDF) large BI reports

    Hello,
    We use ADS to print our BI reports from the portal. For small reports (10-20 pages) this works fine, but for very large ones (>100 pages) we get the error "Error while generating PDF" on the screen (after a considerable amount of time). In the defaulttrace, I can see this error:
    Exception thrown: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 261430 msec
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 261430 msec
         at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:687)
         at com.sap.ip.bi.export.xfa.impl.Document.writePdfToByte(Document.java:709)
         at com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryContent(PDFConverter.java:160)
         at com.sap.ip.bi.export.impl.ExportController.getBinaryContent(ExportController.java:863)
         at com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:103)
         at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:73)
    I've checked the timeout settings for IRJ services (500 seconds) and the timeout settings for web service clients (900 seconds). This should not be the problem.
    Does anybody have a suggestion as to how to solve this?
    Kind regards, Wilbert

    Some additional information:
    In the defaulttrace, I can see this:
    Service XMLFormService: Native process (PID=15892) E:\usr\sap\PEP\JC00\j2ee\os_libs\adssap\XMLFormService\bin\XMLForm.exe terminated abnormally with error code 128
    Processing exception during a "Render" operation.
    Request start time: Fri Mar 06 10:11:55 CET 2009
    com.adobe.ProcessingException: XMLFM Exception during render: org.omg.CORBA.COMM_FAILURE
    Exception while connecting to <SERVER-IP>:3533
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method

  • Error while generating PDF ( BEx Web Analyzer )

    Hi,
    Is there any limit to the number of pages we can print using ADS? We always get
    " Error while generating PDF" Error when we try to print reports with more than 500 lines.
    Thanks
    Niveda

    Great. It worked.
    Points assigned.
    Niveda

  • Error while generating PDF

    Hello Guru's,
    I have done the ADS configuration setup and checked all configuration settings.It seems everything is working fine but when i select the option  "Print Verison" ( I have executed a query using the query  designer) i am getting above error.
    FYI: Its a BI 700 system and we are at Suport pack10 level (both ABAP+Java). By the way i should let you know that it is a copy of Production.
    Here is the log:
    Error while generating PDF
    com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExport1
    Error while generating PDF
    com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExport#
    Any thoughts as to what the messages above might be pointing me to?I should appreciate your help.
    Thanks,
    Ravi.

    Hello Dezso,
    I have executed the test report FP_TEST_00 and i got a form containing several lines on two pages.I have checked all the configuration checks and got the correct results as mentioned in the ADS document. But when i try to print a query using the query analyzer,i am getting that PDF error. I have no issues with my other BI 700 system.
    Ravi.

  • Error while generating PDF - in Bex Web

    Hi Experts,
    I am currently having the issue that I receive the error "Error while generating PDF" when using the "Print Version" functionality. This problem only occurrs for the Bex Web Query. I know that the ADS service is configured correctly- The webservice test is successful and other applications (Guided Procedures, MSS) also use it successfully.
    Please see below the excerpt from the default trace:
    A message was generated:
    ERROR
    Error while generating PDF
    com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExportRenderingRootNode_0001
    Message: 28
    Stack trace: java.lang.ArrayIndexOutOfBoundsException: 28
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.getColumnSizes(SizeCalculator.java:178)
    at com.sap.ip.bi.export.impl.ExportController.setSizes(ExportController.java:220)
    at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:611)
    at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:408)
    at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:336)
    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:58)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:453)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:105)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:252)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:3809)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3867)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3510)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3470)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2489)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:892)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:813)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:456)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    If you have any idea or clue it would be greatly appreciated.
    Thanks in advance for every support,
    Jan

    Hi Jan,
    Most possible causes for encountering this issue are:
    Possible cause:
    - The ADS is installed on a plattform, that is currently not supported by SAP for ADS. Please check the avaliablity at: Product Availability Matrix
    - Mixing of different Netweaver releases (NW04 and NW04s) -> This is unfortunatelly not possibble the J2EE engine release has to match with the ABAP stack release in order connect them properly.
    - The ADS SP level does not match the J2EE engine SP level. -> Please update the software components to have the same support package level.
    Hope this helps!!
    Regards,
    Arafat

  • Error while generating PDF in BI Portal

    <body lang=EN-GB style='tab-interval:36.0pt'>
    <p class=MsoNormal>Since 2 days ago we have on our productive BI Portal an
    error and we <span class=SpellE>can`t</span> find a solution to it. When we try
    to preview any report we get the <span class=SpellE>folowing</span> error: <span
    class=GramE>&quot; Error</span> while generating PDF&quot;. On development <span
    class=GramE>an</span> test is working perfectly but on productive it gets that
    error. We <span class=SpellE>don`t</span> know what happened so please help
    us.&gt;<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>In the log file we receive this message: A message was generated:<o:p></o:p></p>
    <p class=MsoNormal>{<span class=GramE>code</span>} <o:p></o:p></p>
    <p class=MsoNormal>ERROR<o:p></o:p></p>
    <p class=MsoNormal>Error while generating PDF<o:p></o:p></p>
    <p class=MsoNormal>com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode
    PageExportRenderingRootNode_0001<o:p></o:p></p>
    <p class=MsoNormal>Log ID: 001A64E8E1620067000000A8001E50BA00048279748984FA<o:p></o:p></p>
    <p class=MsoNormal>Initial cause<o:p></o:p></p>
    <p class=MsoNormal>Message: Service call exception; nested exception is: <o:p></o:p></p>
    <p class=MsoNormal>com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:&quot;http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
    <p class=MsoNormal>Stack trace: <span class=SpellE>java.rmi.RemoteException</span>:
    Service call exception; nested exception is: <o:p></o:p></p>
    <p class=MsoNormal>com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:&quot;http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:84)<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)<o:p></o:p></p>
    <p class=MsoNormal>Caused by:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:&quot;http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span>
    com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:986)<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span>
    com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1438)<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:77)<o:p></o:p></p>
    <p class=MsoNormal>... 57 more<o:p></o:p></p>
    <p class=MsoNormal>{<span class=GramE>code</span>} <o:p></o:p></p>
    <p class=MsoNormal>----
    <o:p></o:p></p>
    <p class=MsoNormal>Message: Unknown Error<o:p></o:p></p>
    <p class=MsoNormal>Stack trace: <span class=SpellE>com.sap.ip.bi.base.exception.BIBaseRuntimeException</span>:
    Unknown Error<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream</span>(Document.java:339<o:p></o:p></p>
    <p class=MsoNormal>----
    <o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:77)<o:p></o:p></p>
    <p class=MsoNormal>... 57 more<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE>com.sap.ip.bi.base.exception.BIBaseRuntimeException</span>
    UNKNOWN_ERROR<o:p></o:p></p>
    I only cutted the right messages Does anybody have some idea? Where i am unathorized? What shell i do?
    Thanks in advance
    Patrick
    </div>
    </body>

    check if you have adobe document services installed properly. ASk your portal admin team to check these messages,

  • "error while generating PDF" in WAD

    Hi All,
    I created Web Template BI7. In the requirement I have to export the report in PDF. I used Button group. When I have run the template and click to the PDF switch I am getting the export dialog after I click to 'ok' I am getting the error “error while generating PDF". Please help me how to resolve this error. I am in between the development.
    Thanks in Advance
    Ravi

    Hi Ravi,
           First make sure you on the latest patch level for the service pack. Forward the error to the Basis team and ask them to look into the logs. We had a same problem and doing the above 2 steps fixed it.
    Thanks,
    Ram.

  • Custom Purchase Order template causes Error while generating PDF

    The standard XSLFO works, my custom one errors:
    History of the world:
    1) I downloaded the XML Publisher thing for Word, installed it no problems
    2) Downloaded the XML data definition for the Standard Purchase Order from XML Publisher Administrator
    3) Created a blank word document and created the purchase order layout from scratch using the XML Publisher plug-in
    4) Previewed it as a PDF in word - it looked fine (well, it was a start)
    5) Exported the XSLFO
    6) In XML Publisher created a new template and uploaded the XSLFO
    7) Assigned the new template to the document in Purchasing
    All good... the new template is defintately the one being used by the PO Output for Communication program. The problem of course is that it throws a useless error message :) - namely:
    PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
    PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
    PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
    genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
         at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2011)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:421)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    When I run POXPOPDF in Debug I get:
    getArchiveOn(): APPROVE
    After calling genDocThu May 18 12:50:05 EST 2006
    Adding the blob to vector
    java.lang.NullPointerException
    java.lang.NullPointerException
         at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:304)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    I know no one can magically fix this for me (I wish!) but does anyone have any suggestions on what to do next? I have no conditional formatting or any other more complex functionality, just a really boring PO layout with a logo.
    Any suggestions welcome, in the meantime I will keep trawling through Metalink in search of a clue ;)
    Thanks
    Jo

    Hi Jo,
    The first version for which the Template Builder was released is 5.0
    Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
    However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
    I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
    Hope that helps,
    Klaus

  • An error that "error while generating pdf".

    Hi gurus,
    when i am trying to generate a pdf from phap_admin (appraisal document ) i am getting an error that "error while generating pdf".
    the dump in st22 is
    ERROR ANALYSIS:
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_SEND_DYNPRO_NO_RECEIVER', was
    not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    During background processing, the system attempted to send a
    screen to a user.
    Current screen: " " " ".
    SOURCE CODE:
    screen to enter order-number ***************************************
        IF w_suppress_dialog EQ space.
    set popup to the foreground.
      CALL FUNCTION 'SAPGUI_SET_PROPERTY'
         DESTINATION 'SAPGUI'
        EXPORTING
         property = 'ACTIVATE'
         value    = 'X'
        EXCEPTIONS
         OTHERS   = 1.
          CALL SCREEN 300 STARTING AT  lv_start_column  lv_start_row.
    >>>>    ELSE.
        process the same forms which are processed on screen 0300.
        ATTENTION: Whenever functionality of screen 0300 is extended,
        make sure that necessary calls are also made here!
          PERFORM d0300_read_data.
          PERFORM d0300_comline.
        ENDIF.
        CASE  w_next_action.
          WHEN 'ATTR'.
            PERFORM show_object_attributes     USING wt_e071[].
    CAN ANY ONE HELP TO SOLVE THIS???

    Hi,
    the dump says:
    CALL SCREEN 300 STARTING AT lv_start_column lv_start_row.
    >>>> ELSE.
    This means, the raise of the exception comes from the command before ELSE and this is CALL SCREEN.
    CALL SCREEN is only reachable. if w_suppress_dialog is SPACE. It can't be 'X'.
    You have to find a way to set it to 'X'.
    Regards,
    Klaus

  • Create PDF from Crystal Reports

    Hi,
    We are using Crystal Reports XI with Adobe Acrobat Professional 8. When we create a pdf from crystal reports its giving crw32.exe encountered problem. Reinstall both the softwares are not useful. Adobe support professional says problem could be in crystal reports.
    We are doing the following steps to create a pdf.
    Crystal Reports->File->Print->Select Adobe PDF....
    So please let me know the solutions for this.
    Shivkumar.
    Edited by: Shiv Kumar on Oct 4, 2008 11:53 AM

    Hi Shiv
    As I said, only TTF fonts are supported with the PDF format otherwise it will give an error message as "Failed to export". Enhancement request for the same has been raised.It might get fixed in the coming service pack.
    Try exporting the report which is using only ttf.
    Regards
    Asha

  • "Error while generating pdf" error come when clicking on "Print Version "

    Hello ,
    When we execute Query in the Portal there is a 'Print version' button.
    When you select it, it opens up print dialog and click OK
    It is supposed to send 'pdf' stream to  Web browser client on end user but it is not able to generate the pdf .
    getting ' Error while generating pdf '
    I am working on BI 7.0 .
    The same is running fine in the Q Environment .But in Production we are getting this error .
    Thanks ,
    Rahul

    Hi,
    I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
    You can check your installation:
    Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
    SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
    Exceptions: Prerequisites for messages in the area BI Java
    SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
    Solution in our case was to update the SAPADS package to 7.00 17.1
    Regards
    Andreas

Maybe you are looking for