Last execution date

Hi SAP Minds,
How can we find out the last execution date of a report? Is there any F.M available to serve this, or any system tables are there?
Please help me out.
Thanks in advance.

Vamsi,
check the below t codes and tables...
Table TRDIR
tcode SM22
ST03N Transaction
try this program RSSTAT20
Definetly u will find the info

Similar Messages

  • Function Module to find the Last Execution date of Back ground Job

    Hi,
    Is there any function module to find the <b>last execution date of back ground job</b>.
    So that I can transfer the data from SAP to Legacy system based on the document creation date should be in between last execution date and current date.
    thanks in advance.
    Eswar.

    Don't know of a function module, but you should be able to use the information in table TBTCO to get the last start date and time of the job you are interested in.

  • Last execution date and time of a transaction

    Hi,
    Could anyone let me know the procedure to find the last execution date and time of a transaction (for example MM01/MM02). We are currently working on ECC6.0
    Raja

    Hi Raja,
    Check table CDHDR, fetch data against T code MM01/MM02 and get MAX(UDATE) and MAX(UTIME).
    You will get last execution date and time.
    Please reqward ponits if it useful.
    Regards
    Krish

  • Last Execution Date at source

    Hi Guru Sankar
    Sometime back i had some requirement to get last update date of target tables .
    I had changed the IKM and added the step as per your suggestion
    i.e insert into xxsm_audit_table (SESS_NO, SESS_NAME,TARGET_TABLE_NAME, DATE_UPDATED) (SELECT <%=odiRef.getSession("SESS_NO")%>, '<%=odiRef.getSession("SESS_NAME")%>','<%=odiRef.getTargetTable("RES_NAME")%>',sysdate FROM dual)
    Now my requirement is similar but this time i want the same at source database and source tables
    I am using ODI 10.1.3.5.
    I have created a table at source DB.i.e xxsm_odi_audit_table and tried the modified query as below
    with the above step but at Command on Source
    insert into xxsm_audit_table (SESS_NO, SESS_NAME,TARGET_TABLE_NAME, DATE_UPDATED) (SELECT <%=odiRef.getSession("SESS_NO")%>, '<%=odiRef.getFrom("SESS_NAME")%>','<%=odiRef.getTargetTable("RES_NAME")%>',sysdate FROM dual)
    But i am getting error invalid SQL Statement.
    My source is having multiple source tables/views/synonyms
    can you tell me what i am doing wrong???
    regards
    Gourisankar

    Hi Gourisankar,
    If u need to capture SOURCE table list then ur customization should be at LKM level not at IKM level. For capturing source table list in spite of multiple tables (views, synonyms, tables etc) u can do it using a API called getSrcTablesList.
    Do the following steps.
    Step 1:
    Create a new step in ur LKM (LKM SQL To SQL) after Load Data Step.
    Step Name: Insert Audit Log
    Command On Source:
    Technology: Oracle
    Logical Schema : <whichever schema points to ur xxsm_audit_table table>
    Command:
    SELECT '<%=odiRef.getSrcTablesList("", "[RES_NAME]", ", ", "")%>' as SrcTable FROM dual
    Command On Target:
    Technology : Jython
    Command:
    import java.sql as sql
    import java.lang as lang
    #Get the log table connection information by using getJDBCConncetion("SRC")
    myCon =odiRef.getJDBCConnection("SRC")
    MyStmt=myCon.createStatement()
    #Assigning Source Table List to a Jython variable
    JSrcTable='#SrcTable'
    #Insert into xxsm_audit_table with the source table/tables list
    LogInsert= MyStmt.executeQuery("insert into xxsm_audit_table (SESS_NO, SESS_NAME,TARGET_TABLE_NAME, DATE_UPDATED) (SELECT <%=odiRef.getSession("SESS_NO")%>, '<%=odiRef.getSession("SESS_NAME")%>','"@JSrcTable@"',sysdate FROM dual)")
    P.S: Replace @ with plus sign the above line.
    That's it.
    Please note, if u have multiple source table used in ur interface then those will be inserted with comma (,) separated in to audit table.
    Also, make sure u need to add this in ALL the LKM wherever u require to capture the source table names.
    Let me know how it works.
    Thanks,
    Guru

  • Last Execution Date of a Query

    Hi Exparts
    Can any one tell me, how to see the execution of the BI Queries ? My problem is I want to check that when did my end user
    has last seen the report,This statstics will give me an insight on  BI reports usability. Top mangement is interested in this type of statstics
    Thanks
    Shivani

    Hi,
    Use  the standard SAP query USER STATS(Z0TCT_MC01_Q003) built on Multiprovider:0TCT_MC01.
    Here you will get a seperate record/row for each and every navigation of report i.e drilldown/remove drill down...etc,also for execution of report as a record/row in the out put.
    Hope this helps.
    thanks,
    rahul

  • How to track the Last Execution of a Custom Program

    Hi all,
    I want to know the last execution date of a Cutom Z program. Kindly tell me as where do we see the same. Is there any table where this is being saved.

    Hello Nikesh,
    EXIT_SAPLS38E_001 is related to the user exits for the ABAP editor (Please read the documentation for details)
    EXIT_SAPLSABE_010 is triggered everytime the report is started, i mean before INITIALIZATION (i laymans terms before selection-screen is displayed).
    Please have a look @ [How to find First Program run in the Current Month in Foreground?|How to find First Program run in the Current Month in Foreground?]. You can very well implement this methodology as well
    BR,
    Suhas
    Edited by: Suhas Saha on Jan 15, 2010 2:11 PM

  • Program execution date record or log

    Hi:
      We've been requested by Development team, to discover if there is any report or program or log that trace the date and/or time that a program has been executed.
      I guess that there is not exactly a report like these, but if anyone can give us an idea of how to get these information, we will apprecciate it.
              Thanks a lot, abrahamdelgadov

    Abraham,
    Certain information pertaining to your requirement are available in Table REPOSRC.
    Try REPOSRC in SE11.
    Other way is
    Check the system log. Use the transaction ST03 and click on Performance database (Push button). Hit the target system and select period (you want to analyse ...this is system log and you may not be able to read if the last execution date of the transaction is more than 90 days..not sure how it is configured in your system) and click on "Transaction Profile".
    This holds the complete list of Programs / transaction codes executed during last three months. Only painful thing is, we need to browse the list to nail down to the requirement.
    Vinodh Balakrishnan

  • Need to know how to find the last execution time for a function module

    HI all
    I need to know
    1) How to find out the last execution time of the function module ?
      say for eg. I have executed a func. module at 1:39pm. How to retrieve this time  (1:39pm)
    2) I have created 3 billing document in tcode VF01 i.e 3 billing doucment no. would be created in SAP TABLE "VBRP" b/w 12am to 12:30 am.
    How to capture the latest SAP database update b/w time intervals?
    3) Suppose I am downloading TXT file using "GUI_DOWNLOAD" and say in 20th record some error has happened. I can capture the error using the exception.
    Is it possible to run the program once again from 21st records ? All this will be running in background...
    Kindly clarify....
    Points will be rewarded
    Thanks in advance

    1.Use tcode STAT input as Tcode of Fm and execute .
    2. See the billing documents are created in table VBRk header and there will always be Creation date and time.
    VBRk-Erdat "date ., u can check the time field also
    So now if u talk the date and time we can filter then display the records in intervals.
    3. with an error exeption how is my txt download finished .
    once exception is raised there will not be a download .
    regards,
    vijay

  • Program for the last execution of a program or a TC

    Hello,
    DO you know a program or a TC (Transaction) to edit the date and the hour of the last execution of a program or a TC.
    Thank you for the help
    Denis Corminboeuf

    Hi Denis,
    I attached below parts of a program I created a couple of years ago to get use statistics on (customer) reports and transactions.
    Maybe you can reuse parts of it for your needs.
    Regards
    Ferdi
    <pre>
    internal tables for use counter
    data: begin of list occurs 5.
            include structure sapwlserv.
    data: end of list.
    data: begin of applicat occurs 0.
            include structure sapwlustcx.
    data: end of applicat.
    data: begin of applica_ occurs 0.
            include structure sapwlustcx.
    data: end of applica_.
    data: begin of applicau occurs 0,
            entry_id like sapwlustcx-entry_id,
            account  like sapwlustcx-account,
            count    like sapwlustcx-count,
        : end of applicau.
    data: wa_applicau like applicau.
    *&      Form  MONI
    form moni.
      data: l_host like  sapwlserv-hostshort.
      m_start = p_usedt.
    get server
      call function 'SAPWL_SERVLIST_GET_LIST'
           tables
                list = list.
      do.
        loop at list.
    loop on server
          check not list-instshort is initial.
          l_host = list-instshort.
    get statistics per month and server
          perform workload using m_start l_host.
        endloop.
        add 31 to m_start.
        if m_start > sy-datum.
          exit.
        endif.
      enddo.
      sort applica_ by entry_id.
      sort applicau by entry_id count descending.
    endform.                               " MONI
    *&      Form  WORKLOAD
    form workload using    p_start like sy-datum
                             p_host  like  sapwlserv-hostshort.
      refresh: applica_.
    read application statistic from MONI
      call function 'SAPWL_WORKLOAD_GET_STATISTIC'
           exporting
                periodtype                 = 'M'
                hostid                     = p_host
                startdate                  = p_start
                only_application_statistic = 'X'
           tables
                application_statistic      = applica_
           exceptions
                unknown_periodtype         = 1
                no_data_found              = 2
                others                     = 3.
      sort applica_ by entry_id account.
      loop at applica_  where entry_id(1) ge 'Y'.             "#EC PORTABLE
        clear wa_applicau-entry_id.
        wa_applicau-entry_id(25) = applica_-entry_id.
        wa_applicau-account      = applica_-account.
        wa_applicau-count        = applica_-count.
        collect wa_applicau into applicau.
      endloop.
      sort applicau by entry_id count descending.
      applica_-ttype    = space.
      applica_-account  = space.
      modify applica_ transporting ttype account
             where ttype ne space.
    collect only enhancements statistic
      if p_temp = 'X'.
        loop at applica_.
          applica_-entry_id+25(48) = space.
          collect applica_ into applicat.
        endloop.
      else.
        loop at applica_ where entry_id(1) ge 'Y'.            "#EC PORTABLE
          applica_-entry_id+25(48) = space.
          collect applica_ into applicat.
        endloop.
      endif.
    endform.                               " WORKLOAD
    </pre>

  • Hyperion Planning Last Login Date

    Hello Everyone,
    I have a requirement where in I need to track the usage of the Hyperion Planning application. I need to build a list of inactive or dormant users and clean them up from the application.
    In order for me to achieve this, I need the Last Login date into the Hyperion Planning application.
    I read about something called Usage Tracking that needed to be turned on. A records gets added into the hsp_audit_records table.
    Can someone throw some more light on this ? My requirement is to track the planning apps usage and clean up inactive users.
    Thanks
    RS

    Hi,
    we have the same issue: some new users every week and a lot of users not using planning anymore- depending on their always changing role in the company.
    only helpful logfile we use to identify inactive/old users is: hbrlaunch.log - it logs the username and the businessrules, they execute.
    maybe you regard this approach as a helpful workaround (provided your users run businessrules at all)
    users, who run only financial reporting or who open only planning forms to passively review budgets (we have that a lot) , we would delete accidentially by this approach, because if you never save data, you never execute a businessrule attached to a webform.
    but what about following approach:
    you create a very small webform called "Confirm my user access", add a very small businessrule named "Confirm user access", which calculates almost nothing and you attach the rule to the form, give access to all users AND use option: "run on load"
    by this, the rule get's executed on opening the webform already - you could even show a member in the webform with name "Thanks for confirming your user account - it will remain active"
    Only disadvantage: you need to write a mail to all users and explicitly ask them to open that webform and confirm the user access. (Maybe you like that approach)
    Alternative might me that you attach the businessrule to the/those webform(s) - especially read-only webforms, where people don't save data or execute businessrules and which are opened most often by all users and don't tell them about that method at all.
    You then should get a pretty complete overview of your active users (userid's only I am afraid ) in hbrlaunch.log
    in addition, financial reporting has a logfile as well, so you could combine the usage of financial reporting and planning (provided you use it)
    pls. note, that the early 9.3.1 financial reporting versions have a bug and the logfile is empty= useless
    Assuming you use shared services, you probably have to attach your users into several groups- it maybe helpful to first remove the user from one central group, which blocks their access to planning application or takes the right to open planning forms- you then start your forecast, wait for their complaints and delete them 3 months later completely from all security groups - could save you some work on re-creating their access.
    We use the apache http-webserver - you can modify it, so that it's logging all datatransfer - you get there the IP-Adress and the requested application (Hyperion Planning) and the requested webforms logged - but no username.
    In the eas console, we see the last logindate, which seems to show the last date, a user requested a financial report against essbase.
    We use that information in combination with hbrlaunch.log form businessrules.
    we have the hsp_audit_trail switched on for all options-
    data: it stores all member, user and time information for every single saved value in the database - so we have between 500.000 and 1 Mio entries - it's especially useful, when your essbase crashes and your backup is a few hours old- you then can use that information to upload the remaining data-entries via smartview/exceladdin - provided you have some hours time to prepare the values in excel.
    hspaudittrail useful as well when it comes to discussion, who entered which numbers when.
    tracking of businessrule execution: should deliver same results as hbrlaunch.log
    other changes being tracked should be meaningless for your requirement, as it tracks the work of the admin-person (Dimensions, Members, Usergroups, Webforms)
    regards
    Rodian
    Edited by: Rodian Abel on 01-Apr-2010 12:20
    Edited by: Rodian Abel on 01-Apr-2010 12:33

  • Execution date in Excel export from a query

    Dear all,
    I am wondering if it is possible to have the query execution date in an exported excel.
    Case: When working in a query it should be possible to export the query to excel. However I am missing the execution date of the query and the last successful data load (which is visible in the webquery).
    Anyone has an idea how to achieve that?
    Thank you in advance,
    Andreas

    Hey Guys,
    Just wanted to point out that I know how to do this with a webapplication but I would need that within an excel export from an ordinary web query.
    Could someone help out here?
    Thanks in advance,
    Andreas

  • How to find the last run date of the report..

    please any one one help me
    how to find last run date of the report...
    for example if my report is zgrir...if i am exuted in last week
    if want to find when it executed
    last run date is req
    please any one help me...

    The trasaction stat is limited because i want all the execution date even if it is 3 years ago.
    I have tryied the transaction st03 but it is limited to 3 months ago.
    check transaction STAT and it's report RSSTAT00.
    U can copy RSSTAT00 into ZRSSTAT00 and modify corresponding.
    *& Report ZDSAP *
    REPORT ZDSAP .
    DATA: d_ref TYPE REF TO data,
    d_ref2 TYPE REF TO data ,
    i_alv_cat TYPE TABLE OF lvc_s_fcat,
    ls_alv_cat LIKE LINE OF i_alv_cat.
    TYPES tabname LIKE dcobjdef-name .
    parameter: p_tablen type tabname.
    data: begin of itab occurs 0.
    INCLUDE STRUCTURE dntab.
    data: end of itab.
    FIELD-SYMBOLS : <F_FS> TYPE table,
    <F_FS1> TYPE TABLE,
    <F_FS2> TYPE ANY,
    <F_FS3> TYPE TABLE.
    REFRESH itab.
    CALL FUNCTION 'NAMETAB_GET'
    EXPORTING
    langu = sy-langu
    tabname = p_tablen
    TABLES
    nametab = itab
    EXCEPTIONS
    no_texts_found = 1.
    LOOP AT itab .
    ls_alv_cat-fieldname = itab-fieldname.
    ls_alv_cat-ref_table = p_tablen.
    ls_alv_cat-ref_field = itab-fieldname.
    APPEND ls_alv_cat TO i_alv_cat.
    ENDLOOP.
    internal table build
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING it_fieldcatalog = i_alv_cat
    IMPORTING ep_table = d_ref .
    ASSIGN d_ref->* TO <F_FS>.
    SELECT * FROM (p_tablen) INTO CORRESPONDING FIELDS OF TABLE <F_FS>.
    LOOP AT <F_FS> ASSIGNING <F_FS2>.
    *your code goes here.
    ENDLOOP.

  • How to post recurring postings in the GL period for the execution date?

    I have a customer who uses the alert to show recurring postings.  If they select to post the entry, the system date is used for the posting period.  Is there any way to have the system use the 'execution date' period?  The problem is that they might not see the posting until Oct (system date) when it should have been executed in Sept.  So, the recurring posting is posted into Oct instead of Sept.  Any information you have on this will be greatly appreciated.  Thanks.

    Gordon,
    The alert is running.  However, when the users selects a recurring posting to update, it uses the 'system' date and not the date of execution on the recurring trx.  So, if for example, the user was on vacation for the last week in Sept and he gets back on Oct 1.  There is a recurring posting with an execution date of 9/30/09 in the system.  The user gets the alert on Oct 1 when he returns to the office and then selects it for posting.  The posting date on the recurring posting would be OCT 1...they really want it to be 9/30/09.  Basically, is there a way or work around to select the 'posting' date of the recurring posting or will it always use the 'system' date?

  • Last execution query and last user

    Hello,
    I'd like to know last execution time of a query and last user - table RSZCOMPDIR provides the "Owner" and "Last changed by" only.
    I don't want to install the technical content.
    Have you any idea, which table contains this information (BW 3.1 used)?
    Besides, Can I have same information about a query executed by WebTemplate (therefor via WEB)?
    Regards,
    Claudia

    Hi,
    You can find this information in RSDDSTAT_OLAP table.
    Enter the query's technical name in OBJNAME field and a date in CALDAY one. It will be returned a list of all users (UNAME field) that executed the query in that day (sort the list by UTIME field to get to know who was the last user).
    The logs in this table are generated regardless the way through which the queries are executed - WAD, Analyser etc.
    Regards,
    Tiago
    Edited by: Tiago Santos on Feb 8, 2010 2:00 PM

  • Voice Memos older than last Sync date not copying from iPhone to PC after sync, even though "Include voice memos" is checked

    I am trying to copy over my voice memos from my iPhone to my PC. I have "Include voice memos" checked under the Music tab.
    I had an issue with voice memos being duplicated on my iPhone after a sync (I got two versions of each memo on my phone for some reason), so after deleting the extra copies on my phone I deleted all voice memos from within iTunes and chose the option to move the files to the Recycle Bin. So the Music\iTunes\Itunes Music\Voice Memos folder is empty, and there are no voice memos showing up in iTunes.
    But now when I sync, it isn't copying over the older memos that are on my iPhone to my computer. If I record a new voice memo then that memo transfers successfully, but any voice memos with a recording date older than my last sync date do not transfer.
    How can I get these older voice memos (with dates older than my last sync date) transferred over from my phone onto my PC?

    Does anyone know of a way that I can access the voice memos with dates older than my last sync date...?

Maybe you are looking for

  • I would like to see flagged emails on my iPhone

    I flag emails on my Macbook Pro in various folders but I can not see them on my iphone.  Is there a way to have flagged folders appear on the iPhone please?

  • Extra White space after an inserted table

    Between a table I inserted into my document and the first line of text after my table I have almost a full page of blank space. There is no paragraph marker shown when I click "hide/show" and I cannot do anything with the document within the blank sp

  • Adobe Setup has stopped working

    "Adobe Setup has stopped working" Everytime I try to run Adobe installer or uninstaller the setup crashes! video example: http://www.screencast-o-matic.com/watch/cjXUiIntb

  • Purchase order number  and there in voice number

    Hi    can Any buddy help me to find the PO number and its corresponding Invoice document number from table LFB1. LFB1->PO->Invoice num. thanks imran

  • Logic Studio on new IMAC ?

    I bought Logic Studio 08 three years ago for 499 Euro (which is approximately 700 US dollar) and upgraded my IMAC 24 (bought at the same time) to a new IMAC 27 recently. I also bought the USB Drive to install my Apple Products that i bought earlier (