Enhancing Customer Reports with Commands... On EP 7 SP 15??

Has anyone had any luck implementing the the sample project, AccessStatisticApplication, on EP 7, SP 15?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0
I am using, SAP NetWeaver Developer Studio Version: 7.0.15
I believe I corrected the incorrect class paths, no errors are showing before I create the PAR file.
When I go into Content Managment- Reports, the name of the report is showing "documents.statistic" instead of the "Document Access Report" like the example shows. There is also now description.
When I try to start the report it... I get the following error:
Exception class: class java.util.MissingResourceException
java.util.MissingResourceException: Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:838)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:701)
        at com.sapportals.wcm.util.resource.ResourceBundles.getBundle(ResourceBundles.java:152)
        at com.sapportals.wcm.util.resource.ResourceBundles.getString(ResourceBundles.java:88)
        at com.sapportals.wcm.util.resource.ResourceBundles.getString(ResourceBundles.java:106)
        at com.sap.netweaver.km.stats.reports.DocumentAccessReport.getDescription(DocumentAccessReport.java:287)
        at com.sapportals.wcm.repository.manager.reporting.monitor.ReportComponent$ReportWrapper.getDescription(ReportComponent.java:256)
        at com.sapportals.wcm.repository.manager.reporting.types.RPReportHandler$DescriptionGen.getProperty(RPReportHandler.java:175)
        at com.sapportals.wcm.repository.manager.reporting.types.RPPropHandler.getProperties(RPPropHandler.java:110)
        at com.sapportals.wcm.repository.manager.reporting.types.RPPropHandler.getProperties(RPPropHandler.java:143)
        at com.sapportals.wcm.repository.manager.reporting.RPPropertyManager.getProperties(RPPropertyManager.java:83)
        at com.sapportals.wcm.repository.ResourceImpl.internalGetProperties(ResourceImpl.java:3773)
        at com.sapportals.wcm.repository.ResourceImpl.internalGetPropertiesExtended(ResourceImpl.java:1327)
        at com.sapportals.wcm.repository.ResourceImpl.getProperties(ResourceImpl.java:1292)
        at com.sapportals.wcm.repository.CollectionImpl.getChildren(CollectionImpl.java:425)
        at com.sapportals.wcm.service.resourcelistfilter.cm.ResourceListFilter.getChildren(ResourceListFilter.java:420)
        at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initialfilter(AbstractRendererStatus.java:331)
        at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initializeSelectionList(AbstractRendererStatus.java:301)
        at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initialize(AbstractRendererStatus.java:287)
        at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.setParent(AbstractRendererStatus.java:99)
        at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:911)
        at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:598)
        at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:164)
        at com.sapportals.wcm.rendering.layout.cm.MenuTreeListLayoutController.render(MenuTreeListLayoutController.java:127)
        at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1831)
        at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
        at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
        at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
        at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
        at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
        at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
        at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
        at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
        at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
        at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
        at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
        at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
        at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:282)
        at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:660)
        at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
        at com.sapportals.htmlb.Container.preRender(Container.java:120)
        at com.sapportals.htmlb.Container.preRender(Container.java:120)
        at com.sapportals.htmlb.Container.preRender(Container.java:120)
        at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:406)
        at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
        at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
        at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
        at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
        at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:77)
        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:524)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
        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:386)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
        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:102)
        at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

So another problem I encountered.
Everything seemed to be working fine.
When I ran the report on a KM rep, all values were populating fine. unique, count, last access.. etc...
Then after adding the Repository Service to another KM rep, the whole thing stopped working.
Now only the Modified State is populating correctly.
Any ideas? Something to do with the Application Service... Or a KM setting I am guessing.
I tried starting from scratch again. Removed the Repository services and report, re-uploaded the original PAR file and re-did all the setup work that I original had done to get it working.
No go.
Edited by: Paul Mikota on Jun 23, 2008 4:12 PM

Similar Messages

  • Enhancing Customer Reports with Commands and Parameters

    Hi All,
    I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US</b>". Has anyone faced the problem, can anyone please help to remove this runtime error.
    Related Link: <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0">Enhancing Customer Reports with Commands and Parameters</a>
    Regards
    Poonam

    <i>True, the application property service is apparently not to be used for a real-life scenario</i>
    You can definitely use the application property service in production scenarios - it's used by other components in a standard KM install, i.e. out-of-the-box.
    <i>in our case it forced the server down with deadlocks. </i>
    This should definitely not happen! Did you get SAP support to take a look at this? Was it the most popular documents report that caused this, or some other custom code? There should be no such problem with this service, since it's been around for quite some time and in production use.
    <i>
    Even if the code sample is not to be used for real-life scenarios it could at least make use of something else than the application property service which isnt't optimal for this use.
    </i>
    The application property service is good for a lot of scenarios, so it is realistic to use in in real-life scenarios. The only time I have seen this approach (storing the number of hits on documents in the database) fail is in very high-load scenarios.
    <i>Could you provide me with a link to the documentation for the logging framework?</i>
    <a href="http://http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a> on help.sap.com and <a href="https://help.sap.com/javadocs/NW04S/current/en/index.html">Logging and Tracing API (J2EE Engine API)</a> for NW 7.0.

  • KM Activity Reporting  --  Enhancing Customer Reports

    Hello friends,
    I have a quick query on KM activity reporting . I came across this article by name  "Enhancing Customer Reports with Commands and Parameters" by Thilo Brandt dated 11th July 2006 .
    Here is the link to the article
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0
    I would like to know if deploying the code given in the article would directly produce the report given in the article . Is this a fully functional code ? I am asking this because i have not come across any User Interface code in the example . Please respond with your comments at the earliest .
    Many thanks in advance
    Subra

    Hi Subra,
    look in the file DocumentAccessReport.java
    and take a look in the middle of the file :
    // reporting properties
    protected static final List m_resultPropertyNames;
    protected static final IPropertyName m_propDisplayname;
    protected static final IPropertyName m_propUniqueUserCount;
    protected static final IPropertyName m_propTotalCount;
    protected static final IPropertyName m_propLastAccessed;
    protected static final IPropertyName m_propLastModified;
    Regards, Kai

  • KM ctivity reporting  --  Enhancing Customer Reports

    Hello friends,
    I have a quick query on KM activity reporting . I came across this article by name  "Enhancing Customer Reports with Commands and Parameters" by Thilo Brandt dated 11th July 2006 .
    Here is the link to the article
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0
    I would like to know if deploying the code given in the article would directly produce the report given in the article . I am asking this because i have not come across

    Hi,
      After deploy it, if you go to: Content Management->Report->Document Access Report->Schedule and planning its running.
    Then if you click in the name of this report, you can see the result (xml files) of this execution.
      Also, from System Administration->Monitoring->KM->Running Reports->you can see all reports that are currently running on all KM servers
    Patricio.

  • JRC bug: apostrophe in string parameter passed to Crystal Report with Command datasource to SQL Server

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    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.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    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.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    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.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    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.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

  • Creating custom reports with Pie Chart

    Hello,
    I've got a little problem while I'm creating custom reports with SQL Chart.
    For example, I want to have a Pie Chart that represent the distribution of the version for a software, i wrote my query with no problem, the result is in good format.
    My Pie Chart is fine except there are no percentage displayed. The legend on the right is fine with correct count of different version, but no percentage on the pie chart.
    Any idea?
    Thanks in advance,
    Fab

    Hello,
    well, I think this is not possible to ask OEM to print the percentage over the chart.
    Anyway, I sugget you to rewrite your query to compute the % in the query itselft thus to have the pct displayed on the rigth.
    Let's say you want to display the database files' size with such a query: select file_name name,bytes val from dba_data_files;
    This is the way to display the % of each file size over the total (remark the above query has been embeded in the new one).
    select name,ratio_to_report(val) over() pct
    from ( select file_name name,bytes val from dba_data_files )
    order by val desc
    It is quite easy to adapt such a tip to your own query.
    Regards,
    Noel Talard

  • I want to enhance customer(XD01) with BADI screen

    hai sap-abap gurus
    I want to enhance customer(XD01) with BADI screen to populate custom fields and store its information. can anybody tell how to find out proper BADI for screen enhacement ? and how to Implement?
    pls tell me the detailed steps?

    Hi,
    1) Use the BADI's CUSTOMER_ADD_DATA & CUSTOMER_ADD_DATA_CS.
    CUSTOMER_ADD_DATA -This BADI used to activate the screen group and checks for account group
    CUSTOMER_ADD_DATA_CS -This BADI used to include the custom screen.
      2)Your code group need to be configure in SPRO before doing the work.
    Regards
    Kiran Sure

  • Custom report with  FAGLFLEXA and "Document type"

    We have new GL and we must do a custom report like this:
    Hierarchy of ProfitCentre ______Credit for mm.yyyy___ Debit for mm.yyyy 
    Profit centre 1_____________________ c1_______________d1
    Profit centre 2_____________________ c2_______________d2
    ect. ....
    The value of c1 is the sum of monthly credit for a profit centre, for a group of accounts, but only for certain "document type".
    The "Document type" is what worries me.
    I have already written a similar report with Report Painter, reading data from the table FAGLFLEXT (0FL library), but took the full credit from the account (for all "document type"), without restrictions on the document type (the table  FAGLFLEXT not contain the field "document type").
    The data I need in my report, I can see with T. FAGLB03. Double-clicking on, for example, the value of credit you go into detail, and data can be selected for different "Document type". I still do not understand how it works and which tables use the T. FAGLB03 to have these data in detail.
    Please, help me what exactly to do?My questions are these?
    My principals questions are these:
    1 . I think, inevitably, i have to link two tables: FAGLFLEXA (the one with the given to him) and GKFP that contains the field BLART (Document Type). This is the right way? Is there another way?
    2 This report can be create with one of SAP tools: Report Painter, SAP Query, ... or the only solution is to write a program in ABAP?
    3.  If i'm not asking too much, you could give me a step-by-step description of how i should proceed?
    All suggestions are welcome.
    Thank you in advance. Many points to assign who will help me to solve this problem

    I know PowerShell can help you with the Get-SCSMRelatedObject command but you would have to write a small script to get that to work en mass.
    http://smlets.codeplex.com/

  • How to generate custom report with PDF output?(Payables)

    Hi All,
    we are using some custom reports in payables modual production server the reports are working fine .
    my question is i need creat same reports in test server i have done following activities.
    1. copied rdf file from prod server and pasted into test server
    2.given excutable name in system administrator modual(concurrent-progrem-excutable)
    3.define report in system administrator modual(cocurrent-program-define) output selected PDF and given parameters.
    4. switch to payables moduale run the report ,following error showing in log file plese help how to resolve it we don,t have any custom reports in test server this is first time to creat the report.
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to: /APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Spawned Process 2707514
    X connection to oraclefinof1:0.0 broken (explicit kill or server shutdown).
    Report Builder: Release 6.0.8.25.0 - Production on Wed Nov 18 16:06:17 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 339487.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 19-NOV-2009 16:24:52
    ---------------------------------------------------------------------------

    Hello.
    Have a look to Metalink Doc ID 252715.1
    You have to login to server and issue the 'xhost +' command.
    Hope this helps.
    Octavio

  • Custom Report with Problems and incidents

    I'm trying to create a custom report of all problems and related incidents.  I can query the problemDimvw table, but I need some assistance linking to the incidents.  Anyone have a query or point me in a direction to join the necessary tables?
     What I'm trying to get is Problem ID, Title, Description, and Incident IDs linked to it.  Thanks.
    Chris

    I know PowerShell can help you with the Get-SCSMRelatedObject command but you would have to write a small script to get that to work en mass.
    http://smlets.codeplex.com/

  • UCCX 9.0(2) Custom reports with CUIC 9.0 issue

    Hello.
    I installed in our lab UCCX 9.0(2) and CUIC 9.0(1) with premium licenses. It's necessary for making custom reports used in CUIC.
    I found this document:
    http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cust_contact/contact_center/crs/express_9_02/programming/guide/UCCX_BK_CFD16E30_00_cisco-unified-contact-center-express_chapter_0100.html and tryed make recomendations from it.
    But I had a problem with prerequisites #6. I can't click "Edit" button, because it is inactive. I attach 2 screenshots: from pages "Datasource" and user configuration.
    What could be the problem?
    Regards,
    Anton

    Here's a summary so far:
    Problem Description:
    Unable to edit Data Source "UCCX" in co-resident CUIC.
    Also, documentation required on CUIC Custom Reports.
    Topology:
    UCCX 9.0(2)
    Resolution Summary:
    Switched back to HRC, and then back to CUIC again. Datasource could be edited.
    See the following sections of the CUIC user guide:
    http://tools.cisco.com/squish/cddf8
    Page 50,  "Custom Templates" and "Reports and Report Definitions".
    Page 107, "Report Definitions".

  • SCSM2012 R2 Custom Reports with Weekly and monthly schedule to email

    Hi
    I am able to pull standard ListofIncidents Reports, want a similar kind of report with a Weekly and monthly scheduled reports to email, I have tried using pull reports from Cubes to Excel and do a custom reports but is not showing like standard ListofIncidents
    Reports. Could you please guide me on this.
    Thanks and Regards,
    Pradeep Kumar
    Pradeep Kuimar

    Hi,
    Would you please check the articles below regarding to publishing and Subscribing to Service Manager Reports:
    http://blogs.technet.com/b/servicemanager/archive/2010/06/30/publishing-and-subscribing-to-service-manager-reports.aspx
    How to Schedule a Standard Service Manager Report
    https://technet.microsoft.com/en-us/library/hh519682.aspx
    Hope this can be helpful for you!
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Customer Report with multiple conditions?

    Hello <<text removed>>
    I have a project that I am curious if it is possible using BW and BEx Analyzer.
    I have a Cube that contains Customer, Brand, Revenue etc....
    Lets say i have the following values
    Customer: 1,2,3,4,5,6
    Brand:      1,2,3
    I need a report, series of reports, or a workbook that can provide the following.
    a. List and count of customers that purchased $500+ of only Brand 1
    b. LIst and count of customers that purchased $500+ of only Brand 2
    c. List and count of customers that purchased $500+ of only Brand 3
    d. List and count of customers that purchased $500+ of Brand 1 and $500+ of Brand 2
    e. List and count of customers that purchased $500+ of Brand 1 and $500+ of Brand 3
    f. List and count of customers that purchased $500+ of Brand 1, $500+ of Brand 2 and $500+ of Brand 3.
    I think you get the point
    This report should look at the previous 12 months of data.  And the Customer should not appear on the report more then once because that is how the criteria presented above should work.
    I was able to get this to work for a,b,c by restricting a query to the brand and using a condition of $500+ for revenue
    I was also able to get this to work for d and e by using the resolution for the single brand as a value set as input for the dealers in a similiar query restricted to a different brand.
    Anyway I hope i can find some ideas/approaches that would meet this requirement!
    Thank you,
    Nick
    Edited by: Matt on Jan 13, 2011 9:06 AM

    Hi Nick,
    See if this works.......
    Put customer in Rows.
    Create 3 restricted key figures for Revenue one with each brand. gets difficult if you want to do this for many brands...
    Create a calculated key fig and use the expression revenue_rkf1 > 500. this expression in the calc key fig returns 1 if revenue is > 500, othewise returns 0. Similarly create 2 more CKFs with expressions using the other RKFs for revenue.
    Now report may look like this:
    Customer      brand1         brand2          brand3
    Cust1...........            0..........                   1............                    1
    Cust2...........            1..........                   1...........                     0
    Now add logic to get customers who bought brand 1 > 500 and brand2 > 500 and other combinations. For that create different formulas like brand1brand2, brand 2brand3, brand1brand3, brand1brand2+brand3.
    Now report may look like this:
    Customer      brand1         brand2          brand3     for1        for2       for3       for4
    Cust1..........0............1..........1........1......2....1.....2
    Cust2..........1............1..........0........2......1....1.....2
    cust3..........1............1..........1........2.......2....2.....3
    Now create 4 calc key figures. In CKF1 use expression for1 > 1. This checks if value in formula1 is greater than 1, if yes puts 1 otherwise 0. Use the same expression for CKF2 and CKF3 using for2 and for3. Create CKF4 with expression for4 > 2.
    Now the report looks like this:
    Customer      brand1         brand2          brand3     for1        for2       for3       for4    CKF1      CKF2     CKF3       CKF4
    Cust1...........0...........1...........1.......1......2.....1.....2......0........1.......0........0
    Cust2...........1...........1...........0.......2......1.....1.....2......1........0.......0........0
    cust3...........1...........1...........1.......2......2.....2.....3......1.........1.......1........1
    Count of CKF1 gives the number of customers who bought brand1 for 500+ usd and brand2 for 500+ usd.
    Count of CKF4 gives the number of customers who bought all brands for more than 500 $ each.
    The repot gives the data needed but may not look good with number display against customers.
    Regards,
    Murali.
    Edited by: Murali Krishna K on Jan 7, 2011 10:52 AM
    Edited by: Murali Krishna K on Jan 7, 2011 11:10 AM

  • Creating a custom report with detailed header and then associated detail

    I am very new to CRMOD, so this question may be basic, but I have not found any good material yet to help me out, so here goes.
    We are trying to create a Quote report that will be sent to our customers. The report needs to have both a header and detail section basically as follows:
    <Header>
    Quote Form
    Date:
    Expiration Date:
    Sales Person Name:
    Customer Name and address
    Terms
    ... some other text data ...
    <Detail>
    Standard fields that define the quote, these are easy.
    What I cannot determine how to do is create the header section. In the report designer, it only allows for a Title, logo, and another text line. Can anyone suggest another method?

    I do not have the narrative option.
    Options available are:
    Title
    Table
    Chart
    Pivot Table
    Gauge
    Active Filters
    legend
    Advanced
    --> Column Selector
    --> View Selector
    --> Funnel Chart
    --> Ticker
    According to the documentation, the narrative view should be available from the advanced menu. Am I on a different package by chance?

  • Custom Report with 3 Header lines and three separate detail lines

    Need help in creating a report:
    Objectives - break on hidden first field with a horizontal line for the separator (no summing)
    Expand/collapse detail lines with resetting pagination for that page based on this action. (1-15 select list)
    Header 1 Header 2 Header3 Header4 Header5 Header6
    Header 1a Header2a Header3a Header6a
    Header3b Header4b Header5b
    (-)Detail1 field Detail1 field Detail1 field Detail1 field Detai1l field Detail1 field
    (-)Detail2 field Detail2 field Detail2 field Detail2 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    (-)Detail2 field Detail2 field Detail2 field Detail2 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    (-)Detail1 field Detail1 field Detail1 field Detail1 field Detail1 field Detail1 field
    (-)Detail2 field Detail2 field Detail2 field Detail2 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    Detail3 field Detail3 field Detail3 field Detail3 field
    (+)Detail2 field Detail2 field Detail2 field Detail2 field
    (-) = collapse ; (+)= expand
    Edited by: user1073751 on Sep 23, 2010 6:30 PM

    Hi cupboy1,
    According to your description, you want to design your report as the screenshot your post and hide the detail row until select in top parent group. Right?
    In this scenario, we can design the report as you have done by yourself, then delete the column (Label), but still keep the Label group, then add a column left of Disc, put the data field into appropriate textbox. You can get the same effect as your first
    screenshot. And we can hide the detail rows and set them toggled by Artist. We have tested your case in our local environment. Here are steps and screenshots for your reference:
    1. Create a table. Drag Disc into textbox, add parent group with header (group on Label) for Disc, add parent group with header (group on Artist) for Label.
    2. Delete the column Label, add a column left of Disc.
    3. Right click on detail rows, select Row Visibility. Set hide and toggled by Artist.
    4. Save and preview. It looks like below:
    Reference:
    Row Visibility Dialog Box (Report Builder)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • EJB project IDE build dos not include properties files

    We have property files also which we want included as part of the build process for EJB projects but if we use the IDE build it does not include them. We have to therefore export the IDE build and customize it to include *.properties like this <zip b

  • Illustrator CC 2014 Font defaulting

    Running Mac OS X Yosemite 10.10.2 Illustrator CC 2014, Suitecase Fusion 6 (fonts loaded on computer) I build business cards and reproduce them. Event - Open Illustrator document copy everything (type and graphics) Paste into another Illustrator docum

  • Lost recovery/start up cd

    have the flashing ? think this replaced the sad mac. moved and cant find my recovery/start up cd. anyone know what i can do?

  • True Widescreen Video on iPod Classic

    Hi there, I have a new iPod classic and I've just put some videos on it. They are widescreen videos and they even show up as widescreen pics on their little thumbnails in the iPod's list of videos. However when I play them they are stretched to fit t

  • SDDM 4.1 - Physical Storage Properties Not Appearing in DDL

    I have only had this problem while using 4.1, not 4.0. In Tools > Preferences > Data Modeler > DDL if have the "Include Storage in DDL" box checked, and I have a Storage Template assigned to my table in my physical model. However, when I preview my t