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

Similar Messages

  • 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.

  • 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.

  • Reading values from standard report in custom report dynamically

    Hello Gurus,
    I have a strange requirement, We have some standard reports which displays output in drop down blocked data. I want to create a custom report which will get that data in my internal tables.
    Just to elaborate this requirement, I will give you a example:
    I have a standard report which output as first line 'A' and second line as 'B'. Now when I press drop down in 'A', it displays line items say 1,2,3,4,5.... Similarly block 'B' once when pressed displays line items 6,7,8,9,10.
    Here I want a custom report which directly read data from this standard report and gives us the values of line items 1,2,3,4,5 in one internal table and similarly items 6,7,8,9,10 in another internal table.
    Hope the question clarifies the requirement now.
    Request you to please provide the resolution.
    Thanks,
    Harjeet

    Hi Harjeet,
    Use sumit statement for standard program and export the list to  memory. and then read list from memory and use in your custom program.
    Use below code for reference.
    DATA: t_list TYPE abaplist OCCURS 0.
    SUBMIT rfdopr10
                    ************** your options
                    AND RETURN
                    EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject       = t_list
      EXCEPTIONS
        NOT_FOUND        = 1
        OTHERS           = 2.
    BR,
    Vijay

  • Cant open custom IR reports In Custom Reports menu Hy.Per. Scorecards

    As is wroten in readme file "The generic Oracle Hyperion Interactive Reporting BQY files provided with this release that you can use to generate custom reports may cause javascript or single sign-on errors when you access them from the Custom Reports menu. Custom Interactive Reporting BQY files work as expected."
    May be someone know how to open other custom Interactive Reporting BQY files. Smartcut of imported files into workspace dont work and is caused error on the page. Need to open them from Custom Reports menu
    Edited by: user10583191 on Nov 10, 2008 2:43 AM
    Edited by: user10583191 on Nov 10, 2008 2:44 AM

    As is wroten in readme file "The generic Oracle Hyperion Interactive Reporting BQY files provided with this release that you can use to generate custom reports may cause javascript or single sign-on errors when you access them from the Custom Reports menu. Custom Interactive Reporting BQY files work as expected."
    May be someone know how to open other custom Interactive Reporting BQY files. Smartcut of imported files into workspace dont work and is caused error on the page. Need to open them from Custom Reports menu
    Edited by: user10583191 on Nov 10, 2008 2:43 AM
    Edited by: user10583191 on Nov 10, 2008 2:44 AM

  • 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

  • WBS Standard report and customized reports

    Hi Frnds
    we have one SAP standard reports for WBS elements ( plan/actual/variance) and one whichis customized project management report in Projects systems but both the reports are showing different balance.
    is there any particular reason for showing different balance for both actual and budget colum?
    plz reply asap
    thanks
    manish

    Hi,
    Thanks for reply...
    If u have any idea regarding other reports, please let me know...
    Thanks..

  • Standard report against customized reports

    Hi Gurus,
    As per user requirement, we have to created some report's but i want that if any standard report have related to user requirement, then it is more useful..
    Please help me to find out those standard reports:
    1...Ageing Report of Vendor Advances
    2...SBU Gross Margin Report
    3...Sales Returned and escalation or descalation price of goods sold
    4...Gain/ Loss on foreign currency on vendor payment in foreign currency.
    plz help.
    thanks...

    Hi,
    Thanks for reply...
    If u have any idea regarding other reports, please let me know...
    Thanks..

  • Interactive reports – delete custom report

    If a user saves their own version of an interactive report, is there any way for them to delete it?
    Shunt

    Shunt,
    Users can delete their saved report by clicking Delete Report icon that displays next to saved report name above the report.
    - Christina

  • Issue while copying the std report into custom report

    Hi,
    I copied standrad program into Z program. In z program i am adding additonal selection screen as per the requirement. When i am trying to add the text in selection text for the input field system is giving warning message like change original language from DE to EN. When i am trying to change the option i am facing same problem. Anybody can suggest me how to avoid this problem.
    Thanks,
    Maheedhar

    well you posted something, someone told you he isnt sure if he understood you correctly and you just repeat what you posted? I dont get it, sorry.
    1. i could have read that again without you posting it again, and besides what brings you to the idea that i understand it now where you said it a second time...
    Sorry i dont want to rant all along here, but you really give me a hard time helping you. If i´m not sure if i understand you correctly i wont be able to help.

  • Hr report category custom with from, to date and current period

    I have created custom hr report category of type 'Payroll report category'. But it showing from and to date like it showing in 'master data infotype'. How to add that functionality to 'Payroll report category' custom report.
    thank you

    Hi Gopi,
    If you use 'Z' HR Report category for Payroll cluster , Just edit the report category and select the fileds which are the things you need...Please  find pasted the screen shot
    Please check the check box which are the fields you want in the selection screen.... or copy a standard report category into 'Z' and do the changes...
    Regards,
    Vijay SR

  • AC 5.3 - Custom Reporting

    Hi All,
    I know that in AC 5.3 SP09 we are supposed to be able to generate Custom reports, but can anyone tell me which reports the custom reports are generated in and any other software requirements that need to bve met to create teh custom reports, eg: you need Crystal Reports etc etc.
    regards
    Simon

    Great question. This has initiated a big discussion in our office.
    We would like to know which of the following is correct:
    a)  SP09 will add a data mart component to the GRC Application Server, and the client user would need to install a front end Crystal Reports tool to analyse reports from the data mart on the GRC application server. (This does not require installation of a Crystal Server instance)
    b) SP09 will install a custom connector in the GRC application server allowing data to be extracted to an external Crystal Server box to which users will connect and view reports. (This does require installation of a Crystal Server instance).
    Thanks,
    Babak

  • Enhancement request for VAT Report of Customer and Vendor.

    Hello SAP Gurus,
    Have enhancement request for adding new fields in existing VAT report of Customer and Vendor like user id, GL account etc.
    As I am fresher, can you please help me that how I need to approach. Thanks for your support.
    Regards,
    Saleem

    Hello Saleem,
    Almost all fields required for VAT reporting are available in standard tax report
    S_ALR_87012357 .
    You have to configure the layout from the selection screen as below
    regards
    pb

  • Record is not displayed in Historical Reports-Activity with no Customer

    Hi All,
    We have an issue in Historical Reports for Activity.we are using Book of Business also.
    Now the issue is under Activity History as subject area, when an activity doesn't have any Customer it should come as Unspecified in the report.
    Like if it doesn't have account assosiated to it then it is shown as Unspecified in the report.
    But for activity with no customer assosiated to it, it is not showing the entire record (Acitivity) in the report.
    When the Customer field is removed from the displayed columns then we are able to see those activities in the report.
    Note:
    But when the Book of Business is not there previously, it was working fine
    An response is appreciated.
    Thanks & Regards,
    Lemu
    Edited by: Lemu on Dec 28, 2010 10:33 PM
    Edited by: Lemu on Dec 28, 2010 10:34 PM

    Hi,
    Yes we have a workaround for this.
    Since the Primary Customer is not exposed as an Activity filed.
    Copy the value of the Primary Customer and display it in a filed of activity using workflows.
    Then replace the customer filed with this filed.
    Then u will get the activity without customer also cause the customer filed is a normal activity field.
    Hope this helps.
    Regards
    Lemu

  • Custom report for SNMP activity

    Does anyone know a good way to create a custom report on CS-MARS to monitor SNMP activity? I checked into the Report Creation tool and saw the fields for 'System Monitoring', etc. but wanted to know if someone already had a good solution in place. Thanks.

    I had a problem with SNMP cpu spikes that I narrowed down with 'sh proc cpu his' and sh proc cpu sort', but I thought it would be helpful to have a report in CS-MARS that monitors when there is SNMP activity so I could check times when SNMP scans were being run (kind of like 'ping network sweep' in CS-MARS). So I can make sure they are legitimate scans and not something help desk is running, etc. I was just wondering if anyone had created anything like this. Thanks.

Maybe you are looking for