Wrong/unexpected query runtimes from 0TCT_MC01

Hello,
We have activated Technical Content to get query runtimes.
In specific we want to know the duration between the moment you double-click on the query and the final appearance of the result-screen in e.g. BEx Analyzer.
I opened a query and manually stopped time and I get about 10 seconds. But the KeyFigure u201CTotal Timeu201D of the cube 0TCT_C01 shows the value 2,438. But I expected something around 10 seconds.
ThenI noticed that there are two identical timestamps. For one timestamp there exists a name for the BI Application Object and for the other timestamp the BI App Object is u201CNameOfMySystem/not assignedu201D. When you sum up these two values yout get about 10 seconds.
Is there something wrong with my data loading? Can anyone please guide me? I have no idea.
Thanks and Regards,
Kathi

Yes, I'm totally confused!
On help.sap-sites the description of the Total Time (0TCTTIMEALL) is as follows:
Contains the total time to successfully execute a BI application or BI application object. It includes the time for OLAP, frontend, data manager, planning, as well as the time to execute the BI application or BI application object.
So for me that looks like the wanted time, but it isn't.
Where do I think wrong? Can you explain it to me?
Regards,
Kathi
Edited by: Katharina Ploderer on Oct 21, 2011 3:39 PM

Similar Messages

  • Query runtime vs Query execution time

    Hi,
    I am trying to find the most executed queries (how often queries are executed) in our BI system.
    I got query runtime from Hitlist in st03 Reporting analysis.
    could someone tell me if its same as query execution time or where can I check most executed queries or how often are queries executed.
    thanks

    hi,
    I hope you already installed the statistics.
    You can get lot of details like  which quereis are being used and their history and how many times they executed and by whom , when  and also tells  DB, OLPA, and Frontend times in ST03N in Expert mode
    refer below thread
    Re: BEx Query is executed how many times???
    also refer help - navigate to  BW Statistics MultiProvider Queries
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/10cb9a8f345cf9e10000000a155369/frameset.htm
    hope it helps u
    Thanks
    Edited by: Srinivas on Oct 30, 2008 9:42 PM

  • Many different user authorisation while query runtime

    Hello experts,
    I've got a request for a query authorization where about 100 people needs to have a different view of a query result and I'm not sure what way I have to go.
    There is Bex Query (SAP BW3.5) which contains the IO 0bp_respper and a key figure which gives you the number of activities back.
    The requirement is that about 100 users can have access but they are not allowed to see all 0bp_respper.
    One user can see the details of 0bp_respper (1,2,3), the next user is allowed see the details of 0bp_respper (30,76,55,60) and so on. And some are allowed to see all 0bp_respper.
    You see that I actually would need in worst case 100 roles. Within the query I would use the authorisation variable to read the athorisation at runtime from each user profile.
    It seems, and pls correct me if I'm wrong,  that the authorisation variable is only feasible as long as the different combinations behind the authorisation check is manageable. (less than 10)
    There is also the option to use exit variable at runtime. Should I rather use that one and do some coding. But in this case I would need a seperate table to define each users rights for 0bp_respper, or not?!
    Or do u have another idea to implement the requirement?
    thanks for ur help
    Michael

    A good way to check this out would be to do a 10053 trace.
    Try this:
    connect user1/pwd@whateverdb
    alter session set events '10053 trace name context forever, level 1';
    <run query here>
    connect user1/pwd@whateverdb
    alter session set events '10053 trace name context forever, level 1';
    <run query here>
    exit;
    Now compare the trace files to see what the CBO is doing differently. Pay particular attention to the optimizer parameters at the beginning of the trace file. Are all the values the same?
    -Mark

  • Get value of formula variable during query runtime into a text variable

    Hi all,
    I wanna get the value of the formula variables during the query runtime into a text variable.
    My scenario is like this: First I defined a formula variable Z_DATE_3 which is processing by replacement. It will get the day of a characteristcs(Startdate).
    Then I defined a text variable and in the function module related to this text variable, I used the parameter I_T_VAR_RANGE which can store the value of formula variable during the query runtime.So I can read the value from this table in my function module.
    But I have a issue, when I run the query which used the defined text variable, it seems that it doesn't call the corresponding function module. Because I set a breadpoint in hte code and it never reach this breakpoint.
    If I removed the parameter I_T_VAR_RANGE , it can enter the function module.
    So could you please give some advice?
    Is my solution correct or not?
    And what's wrong with the parameter I_T_VAR_RANGE? Did I use it correctly?
    And My code is:
    DATA:  l_s_range_v TYPE rrrangeexit,
                 l_day type sy-datum.
    if i_step <> 2.
    raise no_processing.
    endif.
      READ TABLE i_t_var_range INTO l_s_range_v
         WITH KEY  vnam = 'Z_DATE_3'.
    if sy-subrc = 0.
         l_day = l_s_range_v-low.
    endif.
    Thanks in advance!
    Best regards
    Fanchest

    Hi, Fanchest,
    I'm having just the same issue.  Did you find a solution?
    I wrote a short routine in CMOD to derive the value of a formula variable to a text variable, but it's not working (I don't get any value).  Can you share your solution?
    Thanks in advance,
    LL

  • Delete WorkBook and Query file from Server .

    Dear All Experts .
    I dun know i posted in correct places or not .. (correct me if i m wrong) .. i want to ask about the BW Workbook and query.
    How we going to remove the remove the workbook or query files from Server ? bc i tried to delete from Analyzer(excel 2007), the file is deleted from the view , but havent delete from the server... So how i going to remove the file from server ?
    Thank.

    Hello I have the same problem. Can you please tell me how you finaly manage to delete the workbook.
    thank's you for advance,
    Akiba

  • How to look at a query string from Nav Bar Find Mode

    I would like to view the resultant query string from the Navigavtion Bar's Find Mode. I am using a Master/Detail and am querying with the selection criteria from the detail only.
    I am getting unexpected results, and would just like to SEE what the query string IS.
    Thanks

    I am getting unexpected results, and would just like to SEE what the query string IS.Run your app with diagnostic output turned on. Here's the instructions for that.
    To turn on diagnostic, go to the IDE,
    1. Select the project.
    2. Do right mouse click and select "Project Settings..."
    3. On the Settings dialog, select Configurations/Runner.
    4. In the righthand side pane, you should see a textbox for "Java
    Options". Please add the following JVM switch:
    -Djbo.debugoutput=console
    Then, rerun. The run command should include
    -Djbo.debugoutput=console as in
    "D:\JDev9i\jdk\bin\javaw.exe" -Djbo.debugoutput=console -classpath ...
    You should now see a lot more output on the IDE's message window.
    This should also include the findmode query that gets built after you hit the execute button from a findmode panel.

  • Dynamic calculation of values at query runtime

    Hello, Everybody,
    I have situation in which I have calculate the value for characteristic at query runtime.
    Query is based on Infoset SEMPLDATA. In Infoset I have fields u201CEmployee IDu201D, u201CBirth dateu201D, u201CAgeu201D dedicated as virtual variable, u201CNumber of Employeesu201D.
    Then I execute query I enter a value for variable u201CDateu201D. After that query should calculate age for employee: for example ( variable u201CDateu201D u2013 u201CBirth dateu201D )/365. And query result is listed like this: u201CAgeu201D, u201CNumber of Employeesu201D.u201D Ageu201D is dynamic it depends on variable u201CDateu201D.
    Iu2019m doubting will virtual characteristic help me. Could you give your suggestions?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Hey.  You can do this with a virtual characteristic.  I'm not fond of them because of performance, but it should work.  I am also assuming you have date of birth as an available field to do the calculation.
    So, you could implement code in the variable user exit.  After "Date" has been entered and the exit code is invoked you can pass that date to memory.  Something like export "date" to memory ID xxxxx.  I would create the memory ID object based on user ID running the query and date, or something like that.  Then when you are processing in the virtual characteristic user exit, just do an import from memory, referencing the same memory ID as when you exported.  Then you should be able to just do the date of birth - "date."  
    I have done this in the past to be able to retain user selection information for use in the virtual object calculations.
    Just thought I would add a bit more here.  You could also use formula variables based on your "Date" variable and "Date of birth" and do the calculation in a formula.  Not completely sure about your situation, but that's another idea.
    Hope this helps.
    Thanks
    Edited by: Siboda_Eric on May 12, 2010 4:21 PM

  • Long Query Runtime/Web-template Loading time

    Hi,
    We are having a very critical performance issue, i.e. long query runtime, which is certainly not acceptable by client as well.
    <b>Background Information</b>
    We are using web application designer (WAD) 2004s release to design front end of our reports built in BI 7.0 system.
    <b>Problem Area</b>
    Loading of web template on browser
    <b>Problem Analysis</b>
    Query taking so long time to run, whenever we load it through portal or even directly through web application designer. Current runtime for query is more than a min. And I have noticed that 95% of runtime is taken for loading variable screen. FYI – if I run query through Query Designer or BEx Analyzer, it takes 3-5 seconds to execute.
    We have taken all the statistics and everything proves that query is not taking any time to execute but it’s the loading time which creates bottle neck.
    <b>Possible Cause</b>
    Web template holding 11 data providers, 5 of which are based on queries and rest are on query views. These data providers load into memory in parallel which could cause delay.
    These data providers expose detailed variable screens. Out of 21 input fields, exposed by web template, 8 fields are based on hierarchy node variables and 1 on hierarchy variable. And to my knowledge each time hierarchy/hierarchy node variable loads complete hierarchy into memory whenever they are called (in other words, its not performance efficient to use hierarchies).
    I request you to please consider this as matter of high priority and provide me with suggestions to remove bottle necks and make the application performance efficient. Please let me know, if you need any further information.
    Thanks.
    Shabbar

    I would recommend you see how long the query execution actually takes without running from the web template. If actually the individual query takes long time then you need to do some performance improvement on back-end side (aggregates, indexing,... and so on).
    But the performance issue is only with web templates, then you need to find some notes on it, because, I remember we had to apply some notes in relations  of browser taking too long time to load the selection screen in web reports.
    After exhausting all the option, then I will implement precalculating the query result before hand using broadcaster.
    thanks.
    Wond

  • Detailed Query Runtime Statistics - Substeps of Data manager Event

    Dear All,
    I am using the report for 0TCT_MC02_Q0200 to analyse the Detailed Query Runtime Statistics.
    The report shows that the Event 9000 (Data manager Event) took a time of 109 seconds.
    I would like to know as to what does the 9000 Data Manager Event that takes 109 seconds do for me.
    What is it doing for 109 seconds ????
    Can I have more details about the substeps of Data manager Event and time taken by them ???  Any Table or a report would suffice my requriement.
    Thanks
    Regards
    Shalabh

    Hi Jain,
    Execute the query in RSRT or in RRMX. To Check how much time it is taking to execute this querry?? To get this information, Goto SE11> Give table name RSDDSTAT_DM in BI7.0 or RSDDSTAT in BW3.x> Display -> Contents-> Give from date and to date values as today, user name as Ur user name, and give the query name--> execute.
    Now u'll get a list with fields like Object name(Report name), Time read, Infoprovider name(Multiprovider), Partprovider name (Cube), Aggregate name... etc. If the time read is less than 100,000,000 (100 sec) is acceptable. If the time read is more than 100 sec then it is recommended to create Aggregates for that query to increase performance.
    Here in this table u'll find detailed Query Runtime Statistics.
    Hope thsi helps you..
    Regards,
    Ramki.

  • Regarding Variable entry at the query runtime

    Hi
    In the Query Designer they have taken many variables which are user entry but when I run query I am getting only few options where I can enter values and other variables are not displayed for entry and they are taking some value as default though thay do not have default value. When I check it in Query Properties all Variables are displayed but at the Query Runtime very few are displayed.
    Please suggest me how to get all options at the Query Runtime  to enter the values. It is very urgent Plz send ur suggestions soon.
    Points will be assigned.
    Regards
    Balaji

    Balaji,
    I suspect some of your variables have been personalized. Run the query, when it's run then select Change query - Change variables values from the Bex toolbar. Have any variables little yellow smiley faces on the right hand side of the input area?  If so you may want to remove the personalization by selecting each face and select reset personalization.
    Regards
    Gill

  • QUERY RUNTIME

    I have a query which is based on the ODS.The query is taking a lot of time to run.What parameters should i check and how should i make sure that the query will run quickly.Is it something to do with indexes in the ODS.

    I saw this information which might be useful
    As stated by several people, primary indices are supplied with the ODS objects. With regard to to query performance on ODS objects, the best approach is to trace (st05) the execution of a poorly performance access. When the trace is read, normally the system will spend a long time on one access (it can vary, but this is most common). A secondary index can then be created on the selective fields in the long running WHERE clause. For example, I recently improved the performance of a query which was hanging for 32 seconds to 2 seconds. The SQL looked similar to this:-
    SELECT
    FROM
    "/BI0/APU_O3200" T_00 , "/BI0/SCURRENCY" T_01 , "/BI0/SCMMT_ITEM" T_02 , "/BI0/SFUNDS_CTR" T_03 ,
    "/BI0/SPU_MEASURE" T_04 , "/BI0/SAC_DOC_TYP" T_05 , "/BI0/SDATE" T_06 , "/BI0/SAC_DOC_NO" T_07 ,
    "/BI0/SPSTNG_SEQ" T_08 , "/BIC/SZTXTLG" T_09
    WHERE
    ( T_00 . "FM_CURR" = T_01 . "CURRENCY" ) AND ( T_00 . "CMMT_ITEM" = T_02 . "CMMT_ITEM" AND T_00 .
    "FM_AREA" = T_02 . "FM_AREA" ) AND ( T_00 . "FUNDS_CTR" = T_03 . "FUNDS_CTR" AND T_00 . "FM_AREA"
    = T_03 . "FM_AREA" ) AND ( T_00 . "PU_MEASURE" = T_04 . "PU_MEASURE" AND T_00 . "FM_AREA" = T_04
    . "FM_AREA" ) AND ( T_00 . "AC_DOC_TYP" = T_05 . "AC_DOC_TYP" ) AND ( T_00 . "PSTNG_DATE" = T_06
    . "DATE0" ) AND ( T_00 . "ACDOC_NO_F" = T_07 . "AC_DOC_NO" ) AND ( T_00 . "PSTNG_SEQ" = T_08 .
    "PSTNG_SEQ" ) AND ( T_00 . "/BIC/ZTXTLG" = T_09 . "/BIC/ZTXTLG" ) AND T_00 . "FISCPER3" = '004'
    AND T_00 . "FISCYEAR" = '2005' AND ( T_00 . "FM_ACTDETL" = '000' OR T_00 . "FM_ACTDETL" <> '000' )
    AND NOT ( T_00 . "FM_ACTDETL" = '010' ) AND T_00 . "FM_AREA" = 'F1' AND T_03 . "SID" = 2684 AND
    T_04 . "SID" = 1281
    GROUP BY
    T_01 . "SID" , T_02 . "SID" , T_03 . "SID" , T_04 . "SID" , T_05 . "SID" , T_06 . "SID" ,
    T_07 . "SID" , T_08 . "SID" , T_09 . "SID" , T_00 . "FISCPER3" , T_00 . "FM_VTYPE"
    6 TABLE ACCESS FULL /BI0/APU_O3200
    ( Estim. Costs = 20,821 , Estim. #Rows = 1 )
    Don't be put off, the only imporatnt parts are the ODS table name (in the FROM clause) - "/BI0/APU_O3200" in this case and the end of the WHERE clause. The start of the WHERE clause specifies the join conditions (which we NOT interested in) and the end gives us the (hopefully)selective fields which access the ODS object ("/BI0/APU_O3200"). Here the selective fields are:-
    FISCYEAR
    FM_ACTDETL
    FM_AREA
    A secondary index should be created on these fields to improve performance and avoid the full table scan seen above. If query runtime is still unacceptably high, then more selective fields will have to be added, which of course is also a functional issue.

  • Fieldpoint write.vi error - 33816 (Unexpected character received from Optomux response)

    Hi, I have been running a program for a few months now and yesterday I got an error at the fieldpoint write.vi error - 33816 (Unexpected character received from Optomux response). The program will run fine for approx. 5 minutes and then the error occurs, if I click continue the program will run fine again for another 5-10 minutes before occuring again. The field point module that is being affected is a digital output which is controlling a relay connected to a heating element. When the error occurs it freezes the program and if the relay happens to be on it can cause a potentially dangerous over temperature event. Luckily I happened to be in the room when it first occured but the program is supposed to rund 24-7. I tried taking off automatic error handling but that caused the program to run incorrectly.
    What is causing this error ?? Why did it just materialize ? How can prevent it from happening again ?
    Any insight would be greatly appreciated !

    beaster wrote:
    Hi, I have been running a program for a few months now and yesterday I got an error at the fieldpoint write.vi error - 33816 (Unexpected character received from Optomux response). The program will run fine for approx. 5 minutes and then the error occurs, if I click continue the program will run fine again for another 5-10 minutes before occuring again. The field point module that is being affected is a digital output which is controlling a relay connected to a heating element. When the error occurs it freezes the program and if the relay happens to be on it can cause a potentially dangerous over temperature event. Luckily I happened to be in the room when it first occured but the program is supposed to rund 24-7. I tried taking off automatic error handling but that caused the program to run incorrectly.
    What is causing this error ?? Why did it just materialize ? How can prevent it from happening again ?
    Any insight would be greatly appreciated !
    I believe Optomux was used for the serial connection scheme (please correct me if I'm wrong) so we are looking for something that could corruprt the serial comm.
    Quick Test:
    Try disconnecting the relay and run the program without the heater and external circuitry to rule out glitches etc.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Query Runtime Statistics - Delta Load Errors

    Good Morning,
    We recently upgraded our BI system to 7.0.  One of the consultants who was here activated some standard business content, as the title of my subject shows, Query Runtime Statistics.  The Infocube that is being loaded in the process chain he activated is: 0TCT_C01.   This load utilizes 4 individual delta loads, coming from Datasources: 0TCT_DSA1, 0TCT_DSO1, 0TCT_DSO2, and 0TCT_DSO3.
    The problem we're having is that at least 2 of these frequently fail ( 0TCT_DSO2 and 0TCT_DSO3 ).
    The failure messages we get is that some of the data coming in for object 0TCTSTATOBJ (Query Runtime Object) is always bad.   Some example values of the data that it is trying to load include:
    FILTER(1)
    TABELLE(1)
    GENERISCHER NAVIGATIONSBLOCK(1
    I'm not seeing anything in particular that would indicate these as being invalid values.  The ()'s I wouldn't think would be causing it, given that those are in our system as acceptable characters (checked RSKC to verify) and there's nothing else that looks out of place (aside from the values coming in as German). Has anyone else come across an error like this for this particular statistics load?  Manually changing these erroneous in the PSA is not an option given the frequency of the failures.
    Any help would be greatly appreciated.  If I need to clarify or relay any additional information, please let me know as well.  Thanks

    Sita,
    I greatly appreciate your response.  However, I probably should have provided some additional technical information regarding the issue.
    The values I posted actually are from the PSA.  These values that are given are telling the person what Java object the report being used, has had an issue (may not just be reporting issues, but general statistics for the use of these java objects, not sure yet).
    I am aware that when BI gets an invalid character, it replaces it (in the display screen) with a #.  Unfortunately, we do have # in our permitted characters and the reason why that doesn't work to qualify what was entered is because while it shows up in your display screen as a #, in the background it still sees it as the invalid char.   Subsequently, you won't always be able to see what that invalid char is.  We've encountered this many times over the years with our Sales Orders when a Rep (or someone within the company) enters invalid characters (typically they do a copy and paste from Excel using a different Font, or are using arabic or other foreign characters).
    Given that the values we're recieving are in German, my only conclusion is that the words themselves contain german characters often used in certain letters.  For example, the letter U can sometimes have what they call an umlout (spelling may be off on that).  An umlout almost looks like a quotation mark that is placed directly above the letter itself.   Another common letter in German is the ß symbol.
    We may be able to bypass our problem by entering in these german characters, but I guess I was looking for more than just a "hack" solution and was curious if anyone else out there has had a similar issue on their system and if they were able to come up with a solution other than trying to guess and add in "special characters" that are not normally used in the english language.
    Again, my appologies for not being more descriptive and thank you again for replying.

  • Use evdre to query data from a SQL View

    Hi all
    I believe that it is possible to use evdre to query data from a SQL View. If this is possible then how does one go about setting it up in the evdre options (assuming that the view has already been created)?
    Regards,
    Byron

    Byron,  perhaps this is no longer supported, it might be worth opening up a case at service.sap.com on this.  However, I did find the following on Page 11 of the "Usages and Considerations of EVDRE" pdf file.  This doc is imbedded in the helpfile for BPC 7 SP5 (which was released in August of 2009, well after note 1315011 was last updated.
    It looks like you are limited to one custom view per application, since you have to name the view in a parameter at the APPLICATION level.  Go into BPC Administration, login to the application related to the custom view, choose "Set Application Parameters" and enter the name of the view to the Application Parameter called "EVDRE_QUERYVIEWNAME"  If it is not listed, go ahead and create it at the bottom of the Application parameter screen.
    Also:  I interpreted the following info from Page 10 of the same doc:
    In your EVDRE, set the following options:
    QueryEngine: MANUAL
    QueryType:  enter either NEXJ  OR TUPLE  see below:
    NEXJ  - Use two-dimensional queries using the nonemptycrossjoin function
    TUPLE  - Use two-dimensional queries using tuples"
    And I'm assuming you'd enter a Y for the following two parameters:
    QueryViewName
    "..to enforce the query engine to use a used-defined SQL view of the fact tables, when trying to read the values using SQL queries. This option is typically used in conjunction with the SQLOnly option (see below). "
    Option SQLOnly
    "..to enforce the query engine to only execute SQL queries, when reading data. This can be achieved using this option."

  • Not able insert ,query data from forms

    hi,
    I am not able to insert data or query data from forms(10g devsuite).getting error frm-40505,frm 40508 .i am able to insert and select record from sql plus.the block ihave created is control block .it is connected to the table using the properties.
    should i do anything to insert record.please help

    the block ihave created is control block .it is connected to the table using the properties.A Control Block, by definition, is a non-database block. This means the block is not directly connected to a table so you have to manually display data in the block and any DML you want to perform on data in this block you must do manually as well.
    There are four database objects you can base your database block on; 1) a Table, 2) a View, 3) From Clause Query (basically an In-line View), and 4) a database stored procedure. I recommend you use one of these four methods rather than manually display your data.
    Craig...

Maybe you are looking for

  • Triggering of service order from contract-Reg

    Dear All, My client requirement is, they want to trigger service orders from service contract.They want to have the TL from OISD setting with respect to material.Is it possible in std way? pl through some light. Regards KRISHNAN

  • ITunes 11.1.3 wont sync with iPad mini 7.0.4

    Okay so I just recently tried to sync my iPad mini with my windows 7 laptop and it simply wont work. I have tried to uninstall the apple driver and reinstall it (didn't work). I reset all the settings on my iPad (didn't work). I tried to unselect "en

  • In game purchase not showing up

    I tried to make an ingame purchase in Modern War. The purchase didn't show up but I was charged. MW told me to use the report a problem in iTunes, but every time I try that it says my browser is out of date. I have the most recent internet explorer f

  • Binary file format

    Hello! What is the binary file format for files created by Labview's example High Speed Data Logger? The header information comes first, but how is the actual logged data written in the file? I have logged two channels. Thanks in advance for advice.

  • How well  does SAP cope with a manufacturing environment ....?

    Hi all, I wanted to check about how well SAP copes with a manufacturing environment where there are many parts for many product lines, with small production quantities being the norm. In this case, you would see many BOMs, High quantity of POs, Suppl