How to check the query, which had run how many times in a year?

<Moderator Message: ok, subject is better now but you didn't search at all. Therefore thread is locked again>
Hi All,
I want to check the Query statistics like it had run how many times in a year?
Regards,
Kiran
Edited by: Siegfried Szameitat on Dec 9, 2008 11:55 AM

Hi Kiran,
please follow the below steps
1. Create a query for that purpose
2. Make use of BW Statistic InfoProvider 0BWTC_C02
3. in Col: Key Figure:0TCTNAVCTR
4. in Row: 0TCTQUERY (select a variable 0TCTQUYS)
5. in Filter: BW System( 0TCTSYSID) [give yr source system name whether its production/quality)
6. in Free char you can give calmonth/year  or user if want to do so.
save and execute the query
you will be asked for input the query name
As output you will be getting count (as many times query is hit by all users since the time it was created)
if you give date and user name then it will display the count accordingly.
Hope it Clarifies you.
Thanks & Regards
Nagaraju.V

Similar Messages

  • How to stop the TR which has run a long time

    Hi,
    I released a TR, but the system import it a long time. I think maybe have a problem with it.
    I want to stop the import job of the TR. How can I do for that?
    jk

    hi,
    Q: How to kill a long running job in SAP.
    Answer
    You can 'kill' your own long running jobs by doing the following.
    Open a new SAP session.
    In the new session, from the SAP R/3 screen, follow the menu path: Tools>>Administration
    (new screen) Monitoring >>System monitoring>>User overview
    Fastpath:  /nsm04
    Result: the "Overview of Users" screen appears. This is a list of the jobs currently running.
    Find your username in the list and click on it
    Click on the Sessions button .
    Result: the Overview of Sessions screen appears.
    Click on the End session button .
    hi, ask your BASIS people for killing the job..
    regards
    vijay

  • How to find out which query run how many times using ST03?

    Hi experts,
    I am trying to clean up all the junk queries in BWP. my questions is, How to find out that the particular query ran how my times in a year and by which user using ST03, How to do it step by step?
    I don't like to use statistic reports for this. How to do it using ST03?
    Please let me know. Thanks in advance.
    Sharat.

    Hi,
    Please find the below links which would help you solving you problem,
    SAP BW performance tunning : Includes screen shots
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/68fbb490-0201-0010-8eb5-f7e0adaff5bd
    SAP BW Query Performance Tuning with Aggregates:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    With Regards,
    PCR

  • Query which the Reports which not run more than 15 days

    Hello,
    I need I query to show all the Concurrent Programs which are attached in Application but not run more than 15 days. Also filter will segregate concurrent Reports and concurrent processes.
    regards,

    Please clarify are you interested in conc programs/reports which has not been run in last 15 days or the ones which were run only in the first 15 days from creation date.
    I am pasting the base query which gives you the details like concurrent program name, executable name, executable type, and execuation file name ( you may add condition like fcp.enabled_flag = 'Y' for all active programs etc)
    SELECT  fe.executable_name,
            fe.execution_file_name,
            fl.meaning,
            fcp.concurrent_program_name,
            fcpt.USER_CONCURRENT_PROGRAM_NAME
    FROM    apps.fnd_executables fe,
            apps.fnd_lookups     fl,
            apps.fnd_concurrent_programs fcp,
            apps.fnd_concurrent_programs_tl fcpt
    WHERE  fcp.executable_id = fe.executable_id
    AND    fe.execution_method_code = fl.lookup_code
    AND    fl.lookup_type =  'CP_EXECUTION_METHOD_CODE'
    AND    fcp.concurrent_program_id = fcpt.concurrent_program_idEdited by: 936671 on Sep 4, 2012 5:58 AM

  • How identify the query which cause a SERVERERROR?

    Hi,
    Can I identify the query which called the trigger SERVERERROR?
    I need this because we have a error in our log, and we can not identify the cause.
    Thanks,
    Everson

    Michaeles,
    The problem is here:
    for i in 1 .. ora_sql_txt (v_sql_text)
    Take a look in my trigger code.
    CREATE OR REPLACE TRIGGER "LOG_ERRORS" AFTER SERVERERROR ON DATABASE
    declare
    v_osuser VARCHAR2(30);
    v_machine VARCHAR2(64);
    v_username VARCHAR2(30);
    v_program VARCHAR2(64);
    v_error VARCHAR2(1000);
    v_sql_text ora_name_list_t;
    v_sql CLOB;
    v_test varchar2(4000) := 'A';
    BEGIN
    select osuser, machine, program, username into v_osuser, v_machine, v_program, v_username
    from v$session
    where audsid = userenv('SESSIONID') and rownum =1;
    v_test := v_test||'B';
    begin
    for i in 1 .. ora_sql_txt (v_sql_text)
    loop
    v_test := v_test||'C';
    v_sql := v_sql || v_sql_text (i);
    end loop;
    v_test := v_test||'D';
    exception
    when others then
    v_test := v_test||'E';
    v_test := v_test||'F'||substr(sqlerrm,1,100);
    end;
    v_test := v_test||'G';
    v_error := DBMS_UTILITY.FORMAT_ERROR_STACK;
    insert into everson.log_erros_bd(data,osuser,machine,username,program,erro,sql)
    values(sysdate,v_osuser,v_machine,v_username,v_program,v_error||'-'||v_test,v_sql);
    exception
    when others then -- null;
    insert into everson.log_erros_bd(data,osuser,machine,username,program,erro,sql)
    values(sysdate,'ERRO '||v_osuser,v_machine,v_username,v_program,DBMS_UTILITY.FORMAT_ERROR_STACK,v_test);
    END;
    The v_test variable is only for debug, and after the error it contains:
    ORA-04043: object mensagem does not exist
    -ABEFORA-06502: PL/SQL: numeric or value error
    ORA-04043: object mensagem does not existG
    How you can see, the v_test jump to 'B' to 'E', jumping the debugs in loop, 'C' and 'D', and in exception I get the message 'ORA-06502: PL/SQL: numeric or value error'.
    Any idea?

  • In ST03 , how can i see the Query name, user id,how many times executed the

    HI Experts,
    In ST03 , how can i see the Query name, user id,how many times executed the query.
    these details how do i get from the above transaction.
    EX:-if there is one report name X,I want to know how many users had executed X report today,weekly,monthly.
    ex:-query userid total number of execution
    sales order 0000555 5 times
    custmer 05855 2 times
    fast reply will be appreciated,

    Hi,
    Look here:
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/54df4204892a78e10000000a155106/frameset.htm
    Also check these:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b8be3befaefc75e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/25/ece73a39e74d27e10000000a114084/frameset.htm
    Hope this helps..
    Bye
    Dinesh

  • In ST03 , how can i see the Query name, user id,how many times .

    HI Experts,
    In ST03 , how can i see the Query name, user id,how many times executed the query.
    these details how do i get from the above transaction.
    Points will be awarded.
    BR
    sivs

    Hi Siva,
    Reporting statistics data is only written to the database table if BW statistics have been manually activated for the corresponding InfoProvider first. If this has not been done, it is therefore not possible to display any reporting statistics in transaction ST03.
    Therefore activate the reporting statistics for all relevant InfoProviders. To do this, set the OLAP flag in the BW Administrator Workbench (transaction RSA1) in the area Tools ® BW Statistics for InfoProvider.
                    Check here...........
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/86df4254d81e1fe10000000a155106/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c8c4d794-0501-0010-a693-918a17e663cc
    Hope this will help you shiva.........
    Regrads,
    Vijay

  • Request for help in tuning the server which is running opmn process.

    Hi Folks,
    I request for an help in tuning the server which is running oracle app server opmn process , It is chewing arround 40% of the CPU resource,and our sysadmin is back of me to resolve this issues.
    any feedback on this is highly appriciated...
    Thanks in advance

    Re: How to Achieve Performance Tuning
    I hope you may find answers here..
    Sharma

  • Server does not return query metadata check the query

    hi,
    i want know how to  use bex query designer,
    when i  insert a data provider,the message is appear "server does not return query metadata check the query",
    who can help me ?
    thanks a lot !
    addition: my current entironment is: gui710 with sp4,bi710 with sp2.

    Hi,
    All the yellow and red lights will have an effect on query performance or execution.  Read up on them as there are too many to explain via this forum.
    There is a document on SDN on query performance.  Some useful links:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a]
    [http://help.sap.com/saphelp_nw70/helpdata/en/41/b987eb1443534ba78a793f4beed9d5/frameset.htm]
    [http://help.sap.com/saphelp_nw70/helpdata/en/d9/31363dc992752de10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/2e/caceae8dd08e48a63c2da60c8ffa5e/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0501cb9-d51c-2a10-239c-c141a22c45a6]
    Cheers...

  • Apple recently made me change my password which was fine but now it keeps telling me the security code on my visa is incorrect now matter how many times i  re-enter it.  I can no longer download or update my phone.  Please help!!!!

    Apple recently made me change my password which was fine but now it keeps telling me the security code on my visa is incorrect now matter how many times i  re-enter it.  I can no longer download or update my phone.  Please help!!!!

    Did you go on-line and fix your billing information? You probably need to do this from iTunes on your computer, not your phone.
    If you've double checked your credit card info and it still won't take it, contact your card issuer.

  • Can the database which is running in linux 32 bit can be migrated to 64 bit

    can the database which is running in linux 32 bit can be migrated to 64 bit,while converting oracle ebs R12.1.1 in linux 32 bit to linux 64 bit

    Hi ,
    it seems like duplicate of the post:migrating database from 32 bit to 64 bit
    Your query is already answered by hussein in that post.
    -Rk

  • How Many times the report has run

    Dear All,
    I am trying to find out if there is any standard report which shows me as to how many times the Z or Y repor has been used.
    This is really needed for me decide.
    with regards
    Ranjith Singh

    we created a solution that reads the information from STAT and stores it in a custom table for later retreival. we can then more closely monitor the amount of statistics kept without basis involvement. the function module to read the STAT information is:
      call function 'SAPWL_STATREC_READ_FILE'
           destination servers-rfcdest
           exporting
                read_client                 = sy-mandt
                read_end_date               = pstop
                read_end_time               = pstopt
                read_exclude_username       = 'SAPSYS'
                read_start_date             = pstart
                read_start_time             = pstartt
           tables
                v2_normal_records           = stats
           exceptions
                wrong_parameter_combination = 1
                others                      = 2.
    it takes some time to develop history, but we can now go back over a year to look at run time and execution trends by program, both ours and SAPs.
    HTH

  • How many times should I run the APPLE TEST HARDRIVE/DRIVE on my macbook?

    how many times should I run the APPLE TEST HARDRIVE/DRIVE on my macbook?

    Do you mean your hardware tester or Disk Utility?
    -Bmer
    Mac Owners Support Group - Join us @ MacOSG.com
      Mac611 Mobile Mac Support - about.Mac611.com
       iTunes:MacOSG Podcast | YouTube.MacOSG.com
                       An Apple User Group 
    Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.'

  • Server does not return metadata, check the query.

    Hi,
    I need your help in using report designer of Bex, The issue is when we try to open a query in the report designer we get a Error Server does not return metadata, check the query.
    Thanks in Advance
    Kind Regards
    Phutane

    Hi,
    All the yellow and red lights will have an effect on query performance or execution.  Read up on them as there are too many to explain via this forum.
    There is a document on SDN on query performance.  Some useful links:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a]
    [http://help.sap.com/saphelp_nw70/helpdata/en/41/b987eb1443534ba78a793f4beed9d5/frameset.htm]
    [http://help.sap.com/saphelp_nw70/helpdata/en/d9/31363dc992752de10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/2e/caceae8dd08e48a63c2da60c8ffa5e/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0501cb9-d51c-2a10-239c-c141a22c45a6]
    Cheers...

  • Kindly check the query

    The following fields are to be taken from the tables as mentioned below:
    Meter Reading Unit (MRU)       – (EANLH-ABLEINH)
    MRU Description           – (TE422-TERMTEXT)
    Meter Reading Center           – (TE422-ABL_Z)
    Meter Reading Center Description – (TE426T-TEXT40)
    End Of Meter Reading Period      – (TE425-TERMERST)
    Main Meter Reading Unit      – (TE422-ZUSMIT)
    Number Of Installations Allocated – (EANLH-ANLAGE)
    These values as shown has to taken from the 4 tables
    a.     EANLH
    b.     TE422
    c.     TE426T
    d.     TE425
    The query which I have written is
    SELECT AABLEINH COUNT (AANLAGE) BTERMTEXT BABL_Z BZUSMIT CTEXT40 D~TERMERST
    INTO CORRESPONDING FIELDS OF TABLE ITAB
    FROM ( ( (EANLH AS A INNER JOIN TE422 AS B ON AABLEINH = BTERMSCHL )
          INNER JOIN TE426 AS C ON CABL_Z = BABL_Z )
             INNER JOIN TE425 AS D ON DABLEINH = AABLEINH)
    WHERE A~ABLEINH = 'input MRU' AND
    SY-DATUM > A~AB AND
    SY-DATUM < A~BIS
    GROUP BY A ~ ABLEINH
    Is it correct ??? If not, kindly modify.
    Thx..

    Hi,
    There is no restriction in using the Joins as the above reply. U can join 6 and more tables also. I have done teh same.
    See this sample code
    TABLES: SCUSTOM, SBOOK.
    DATA:   COUNT TYPE I.
    SELECT SCUSTOM~NAME SCUSTOM~POSTCODE SCUSTOM~CITY
             <b>COUNT( DISTINCT</b> SBOOK~LOCCURAM )
           INTO (SCUSTOM-NAME, SCUSTOM-POSTCODE,
         SCUSTOM-CITY, COUNT)
           FROM SCUSTOM INNER JOIN SBOOK
           ON SCUSTOM~ID = SBOOK~CUSTOMID
           WHERE SBOOK~FLDATE BETWEEN '19950101'
           AND '19951231' AND
           SBOOK~CARRID = 'LH ' AND
           SBOOK~CONNID   = '0400'
           <b>GROUP BY</b> SCUSTOM~NAME
           SCUSTOM~POSTCODE SCUSTOM~CITY
           <b>ORDER BY</b> SCUSTOM~NAME.
      WRITE: / SCUSTOM-NAME,
        SCUSTOM-POSTCODE,
        SCUSTOM-CITY, COUNT.
    ENDSELECT.
    Message was edited by: Judith Jessie Selvi

Maybe you are looking for

  • Inserting dates in mm/dd/yyyy format in excel sheet

    I am reading data from sql server 2005 which returns dates in the yyyy/mm/dd format. Now I have to insert this data into an excel sheet and it is supposed to be in the mm/dd/yyyy format. I tried converting the date formats in java but when I insert t

  • Assigning a LOGICAL to a REAL var

    Trying to port to solaris and I get this error: xchem= .false. ---------^ "Fortran/dwfi.f", Line = 2800, Column = 12: ERROR: Info Assignment of a LOGICAL expression to a REAL variable is not allowed. Can I just set xchem to 0?

  • Third party export sale

    Hello,             Can anyone elaborate on the definition of third party export sale....... It is where an exporter exports on behalf of another third party exporter........here who is the seller and who is the vendor...???how to go about with this s

  • What authorization object is required for MIME repository objects?

    Hello Can someone tell me what authorization object is required for displaying MIME repository objects? Thanks, József.

  • MDM Connection API

    Hi friends, I am new to MDM, i just want to connect to standalone MDM. Can anyone please send me some Java API to connect to MDM. I have a jar file named MDM5J.jar. Please help...