Report Execution History

Hi all,
I have a requirement like, when the user executes a report; it has to show the previous execution history. Like last time execution date, time and number of times the report wad executed. How can I handle this and which event can I write the code.
Thanks in advance.

I think you have to create a Z table with the following fields.
Mandt.
program name (key field).
Executed by (key field).
Executed on (key field).
Executed time (key field).
YOu have to update this z table evry time you run this program.
Then you have to get the records from this table to find out the report execution history.
tables ztab.
end-of-selection.
ztab-mandt = sy-mandt.
ztab-progname = sy-repid.
ztab-exby = sy-uname.
ztab-exdt = sy-datum.
ztab-extm = sy-uzeit.
modify ztab.

Similar Messages

  • Is there any report to find report execution history

    Hi All ,
    Good morning I hope you are all doing great,
    Can any body knows is there any Standard report available to find the out, In a month period what are the reports,how many times and what are the users have been executed.
    Regards,
    Murali.

    Hi Murali,
    Kindly post the details of the solution followed. Recently a member has raised the same query in this forum, but couldn't get the solution.
    Regards,
    Ravi

  • Discrepancy in report execution duration

    Hello,
    Everyday we are executing audit reports which tells us report execution time for all our daily scheduled reports. Here we have observed some discrepancy between the time shown in the instance history verses auditing report's data. For example, if XYZ report took 120 seconds to execute, our auditing report shows 110 seconds only (-10 sec difference); however instance status in report history shows 120 sec only.
    Here are environment details:
    Product: SAP BI 4.0 SP6 Patch 6
    Server OS: Windows Server 2008 R2
    CMS DB: Oracle 11g R2
    Auditing DB: Oracle 11g R2
    We would like to know why there is a difference? Please advise!
    Regards,
    Daya Jha

    Issue resolved after doing multiple activity.
    - Adding 2 new cluster in PRD environment, After refering Server sizing Guide from SAP
    - Adding 4 new Web Intelligence Processing Server in PRD environment
    - Assign Static port in all 4 Nodes, Previously it was Dynamic Ports
    - Proper spiliting of APS as per SAP APS Sliting KBA (1792286 ,1694041)
    - Change Maximum Connection Paremeter in Web Intelligence Processing Server, Because we have more Web Intelligence Business user to view the Web Intelligence reports.By Default SAP provided 50 Connections.
    - Change in Tomcat Parameters like
    Parameter                Old Value      New Value
    XX:MaxPermSize      384 M          512 M
    Maximum Memory     2,048           4,096
    maxThreads              200              900
    Thanks,
    Daya

  • Reporting Services R2 log entries have stopped generating on report execution.

    Hi -
    I have a new instance of a reporting server and the log files have quit generating on report execution. 
    When the services restart this is the log file:
    rshost!rshost!8e8!01/22/2014-17:08:33:: i INFO: CLR runtime is initialized.
    rshost!rshost!8e8!01/22/2014-17:08:33:: i INFO: Derived memory configuration based on physical memory as 3931704 KB
    rshost!rshost!8e8!01/22/2014-17:08:33:: w WARN: Failed to initialize performance counters: ffffffff. Possible setup issue.
    rshost!rshost!8e8!01/22/2014-17:08:33:: e ERROR: Failed to start service, error=1063.
    We have logging turned on on the server.  Report Server Mode is Native.  Dont see anything in the application log about failed service.
    Any ideas?

    Hi dwrco,
    Have you recently install any update such as MS12-070 (KB2716440)? If so, it is a known issue for some patches for SQL Server. The reason is as follows:
    When a .NET application starts up, the .NET Framework tries to check if the Microsoft assemblies are right and have not been modified, this is done through connecting to a server that has a revocation list in internet. When the framework tries to connect
    to the server to check if it has access to internet with an elevated timeout, this makes that any other .NET application that has less timeout setting fails (such as SSIS or SSRS) with timeout error.
    For example, the error message "The request failed or the service did not respond in a timely fashion." means that the SSRS timeout is lower than the timeout of the connection to the revoke list server established by .NET Framework.
    To work around the issue, we usually use two approaches:
    Increase the value of ServicesPipeTimeout registry key of Reporting Services
    Disable generatePublisherEvidence element of ReportingServicesService.exe.config file
    For the detailed steps, please see:
    http://blogs.msdn.com/b/mariae/archive/2012/11/12/reporting-services-service-doesn-t-start-after-the-installation-of-ms12-070-security-patch.aspx 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Store z-table (during an report execution) in a BW system

    Is there a way (and how- an example) to store z-table (during an report execution) in a BW system. We would not like Ztables to reside in R/3
    Thank you in advance

    Is there a way (and how- an example) to store z-table (during an report execution) in a BW system. We would not like Ztables to reside in R/3
    Thank you in advance

  • How to view execution history for any date in oracle SQL developer tool ?

    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.

    sb92075 wrote:
    943838 wrote:
    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
    To the OP, there is a forum for SQL Developer
    SQL Developer
    And there's also a sticky on the forum for product enhancement requests
    "Feature Requests, Extensions and General Collateral "
    Cheers,

  • Oracle Apps - How to create a table before report execution?

    Hi,
    I'm new to oracle apps, I created a procedure to get some values for a report and created a query to get the remaining values. Now I need to populate those values into a temporary table and after the report execution I have to delete the table. In apps there is no before parameter form. If any one can help me, that will great.
    Thanks in advance.

    Hi,
    Do you really need to create a table INSIDE the report? It doesn't look like a good idea to me. For instance, what happens if 2 users try to execute the report at the same time? I would create a global temporary table before any execution of the report, and then I would just populate the data in the table in the 'Before Report' trigger. The data in a global temporary table is only visible at session level, so you wouldn't have any problems with multiple users executing the report at the same time and the data disappears once you finish your session, so you don't need to take care of deleting the data.
    Hope it helps.

  • Standard report for history per purchasing document

    hello!
    Is there any standard report for history per purchasing document that displays also the delivery costs?
    Thank you!

    Dear Landra,
    I think this type of report is not available in SAP, may be you have to write program with ABAPer
    I  have small idea,try ME2N,ME2k throgh dynamic selection,if available its good
    Hope this may helps you
    Prem.

  • Report execution time should displayed in Local Time

    Hi,
    I have a query related to the Report execution time.
    Our SAP Servers are available in US.  The Servers are configured in US Time.
    We have developed a Z report and used SY-UZEIT to display the Report Run Time.
    we also have a plant in India.
    When we execute this report for India Plant we are getting the execution run time for US.
    But we need to get the run time in India Time.
    Please help ASAP.
    Regards,
    Shankar

    Hi Shankaran,
    In your Z report, give a condition to check if the Plant is in India. If it is in india, then get SY-UZEIT and add the time difference to get IST.
    Display this time on your report.
    For implementing this, you will have to convert the Date and Time into Timestamp (use FM "LXHME_TIMESTAMP_CONVERT_INTO"), add the Time to this Time stamp (use FM "TIMESTAMP_DURATION_ADD" and convert it back to Date and Time (use FM "LXHME_TIMESTAMP_CONVERT_FROM"). 
    Reward points if useful.
    regards,
    Raj
    Message was edited by: Rajagopal G

  • Report Execution time in NQQuery.log should be display in Milliseconds

    Report Execution time in NQQuery.log should be display in Milliseconds.
    For Example :
    --- Logical Query Summary Stats: Elapsed time 0, Response time 0, Compilation time 0 (seconds)
    Can we see the logical Query Summary Stats in milliseconds?
    If so Where should i cofigure to populate this.

    No. If you query comes in less that 1 second then you got nothing to worry about. I haven't seen a single DWH where users would worry about queries returning in milliseconds.

  • Need information on Reports execution Log..

    Hi All,
    Need help regarding SAP Report execution log. Here Client wants to develop a report, which displays the information about reports Usage (ABAP Report, ABAP Query and Report Painter).
    The report requires the following information.
    1. Users who has run the report
    2. T-codes of reports
    3. Type of report (ABAP Report, ABAP Query and Report Painter)
    4. Run times for each instance that the report was run
    5. Dates for each instance that the report was run.
    Requesting to share the information about the tables or function modules, where I can get the data.
    Thanks in advance.
    Chanda.

    Hi Chanda,
    The log can be seen using STAT transaction.
    TXN:STAT
    Give the date: The required date.
    Read Time: 23:59:59
    Start Time: 00:00:00 (or ur required time)
    User: username/      * (for all users)
    Transaction: SE38/      * (For all transactions)
    Program:      ztest/     
    In tools option:
    You have further options:
    there
    Wait time for collection of data (via RFC): 99999
    Maximum runtime: 23:59:59
    And Execute.
    It displays a log of all the details required.
    There are few sample programs in this link. Also check out them:
    http://www.kabai.com/abaps/q.htm
    Programs: 072, 065, 021, 015, 012
    http://www.kabai.com/abaps/z72.htm
    Best Regards,
    Anjali

  • Report execution terminated due to oversized report data.

    Hi
    We are trying to run the OOTB report Trend By Category-Spend Trend Analysis by category.We are getting the message
    "Report execution terminated due to oversized report data. Apply filters to narrow down result set." But we are not getting the link to Bex however the report is displayed in UI.
    We get Bex link for other large reports.
    Why is it not directing to Bex in this case?
    Regards
    Neel

    Hi Neel,
    You typically get a message (which can be customized in the 'Application Properties') when the size of a reports exceeds beyond a certain limit (which can also be customized in the 'Application Properties').  In the application properties you can turn on a check box that provides a Bex link.
    So if you receive this message along with the BEx link for other reports and not for specific reports, this tells me that there might be other errors in these reports thats preventing from displaying the message.  Please check under the UI application logs and also the portal logs to see if there are any additional messages, may be that will give you some clue as to what the problem might be.
    Regards,
    Rohit

  • Report Execution issues after cube comperssion

    Hi Everyone.
    We had performance issues with respect to report execution in SAP portal. After the analysis we have realised that the cube is growing in its size and reached 200 million already.
    As per SAP suggestion, we had compressed the cube and the reports started running faster than before.
    Now, after the release we have realised that some report executions with hierarchy expansion are caused exception in BEX web application.
    Below is the error that we receive
    When verified the query, we identified that  "Active" was set to "Suppress Zeros" query properties and when we modified it is " Active ( All values =0)" it was working fine.
    Could not figure out the reason behind this.
    Any quick response is much appreciated.

    Just wanted to help others on this issue if they face in future.
    We are basically in patch 3 and SAP recommended to upgrade the system to patch 10 to solve this issue.
    We are still in the process of doing this as it needs approvals, testing etc to be done.
    Hope this will be solved after this upgrade and I will post the result in this blog.
    Stay tuned .

  • Report execution time is in milliseconds

    My report execution time is in milliseconds.Where should i examine this time?

    If u have permisssions to see the log..(logging level >2) then you can see your execution time in the following path
    setting--->Administration------>Manage Sessions------>View Log
    In that you can find different sections which can give your the execution time
    -------------------- Physical query response time
    -------------------- Physical Query Summary Stats
    -------------------- Logical Query Summary Stats

  • COPA Report - Execution in Background

    Friends,
    We have a COPA report that takes very long time to execute. For this reason the user wants to schedule the report such that it executes in the background at month-end.
    In order to test the scheduling of the report execution in background in Development system, I followed the following steps:
    1) Selected the report to be executed using the t-code KE30.
    2) Clicked on Report - Execute in background.
    3) Filled in the execution parameters and since I did not want the print of the report, I ticked the checkbox 'Rebuild frozen report data' (I was getting the error message "Select either 'Print' or 'Save'".
    4) Executed the report by pressing F8. I got the message 'Report data for the report saved'.
    My question is how to view the report on screen when the report is executed in background?
    Please advise at the earliest.
    Thanks & Regards,
    Sameer S. Gupte
    Office: +91 22 66452730
    Cell: +91 93232747801

    Sameer
    You cannot see this data as it is.
    When you see the message 'Report data for the report saved'. It means that the system has performed a kind of summarization for the selection criteria you have entered. This is performance enhancement tool.
    So you have to run the report again to view this report; but  this time choose the option Read saved Data for the Read Mode under Status of Data. You can get to the see report output fairly quick.
    SAP documnetation reads thus " <b>You create report-specific frozen report data by executing the report in the background and by choosing the Rebuild frozen report data option in the selection.  When you call up the report again using the same selection, you have the option of displaying this frozen report data. If you would like more up-to-date frozen report data, you need to create this data again."</b>
    Good luck.
    Sridhar

Maybe you are looking for

  • Delivery Completed indicator is automatically set in MB31

    Dear SAP Gurus, I have an issue for which I need you help. In my scenario, we are manufacturing co-products. The actual produced qty of each of the co-products may vary from the ratio which is specified in the BOM. Hence, I have set the "unlimited ov

  • Acrobat won't install updates

    I have installed Adobe creative suite 3 and adobe acrobat 9 standard. Every time acrobat starts it tells me updates are available do you wish to install. I say yes and it tells me that it must shut down acrobat to do this. Do you want to continue or

  • Wont open to windows..diagnostic gives many error codes

    Won't open to windows, did diagnostic   hard disc error codes follow....u4wc59-62w7as-mfkt01-60qlo3  hard disc failure.  Does this mean hard drive is shot?  Or needs new software program?    Thanks!

  • Issue with XML target

    Dear All, In my interface I have a target, which is xml schema. In my interface I have selected Staging Area different from target. My Soures data is comming from a relational table (oracle) which is also a target for temp table creation (C$, I$ etc)

  • IBook osx 10.5.6 no finder, won't boot fully, can't boot from disk

    My iBook has worked fine ever since the upgrade to 10.5.6, no problems at all. I installed Safari 4, and whatever security updates it required for that a few days ago and everything still worked fine. Yesterday I awoke it from sleep and the colors of