cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to export reports to PDF in BI portal.

0 Kudos
836

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



rahul.hariyappa@accenture.com

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos


HI Hemanth,

Thanks for the reply!

Could you please elaborate and confirm from your side how to check this configport_document and os_libs.

I will also check from your side.

Best regards,

Rahul

Former Member
0 Kudos

Hi Gaurav,

Here you go.

Former Member
0 Kudos

Gaurav,

The os_libs directory consists of all the xml templates and binaries required by the ADS services. Just to make sure that the binaries existing in the DB are not different from the ones exsiting at the OS: stop the JAVA system, rename the os_libs directory and restart the JAVA system. The os_libs directory should get created automatically.

Cheers!

Hemanth

0 Kudos

We have the same error after migrating (export/import) to a new platform. So the os_lib directory was already empty.

We got this message in de default.trs:

PDFDocument Processor failed to process GetColumnDataRequest Due to the following Reason can't parse argument number urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document#

Former Member
0 Kudos

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