Query on Stat Cube

Hi,
I am trying to get query list based on last used date.
I ran query on stat cube 0BWTC_...
Also, i got list of queries from the view v_compdir_compic in bw backend.
But the query list i get from stat cube query is less than what i get from View table.
there are aprox 300 less queries.
can u please tell me why the list is different ?
thanks,
KS
Edited by: Keral Smith on Nov 4, 2008 10:04 AM

Hi Abhijit,
We have all BW statistic cubes loaded on november 1st.
which are 0bwtc_c01,.......they are for aggregate, for OLAP, for OLAP navigation etc.
so how come the list of queries are different than V_COMPDIR_COMPIC ?
any clue ?
thanks,
KS

Similar Messages

  • Stats Cube -- Frequency of a query run.

    Hi All,
    I have been given a certain set of queries and the user wants to know how frequently these reports run and the user name who runs the reports. I know these can be done by working upon stats cube. Can someone please help me in lil details on the cube name and wat all do i need to do in making a new report that would fetch the infromation mentioned above.
    Your help would be appreciated.

    Hi,
    I used 0TCT_MC01  as all my reports are based on multiproviders.
    I included the following fields in rows
    0TCTUSERNM -- USER
    0TCTBIOBJCT -- BI REPORT
    0CALWEEK -- CALENDER YEAR/WEEK
    Now you need to check if statistics is enabled for the infoproviders that you are looking for stats.
    You can check it in RSA1--> Tools --> Maintainance of statistics properties.
    When you run the report you get
    BI Report   User Name Cal year/week( or whatever date field you are taking)
    Z*******         XYZ     12/2010
    You can use the excel function subtotals, ( its in Data--> Subtotals)
    Here for every change of BI report it gives the total number of users as a subtotal count for a particular time frame
    There might be an easier way to get your result, but I followed the above mentioned method.
    El.

  • Adding a Descendents Query to a Cube

    Hi,
    I have the following MDX query that I wish to add to a cube:
    with member [measures].[descendents test] as
    sum
        Descendants ([Date].[Calendar Year],, LEAVES) *
        Descendants ([Date].[Calendar Quarter of Year],, LEAVES) *
        Descendants ([Date].[Calendar Week of Year],, LEAVES) *
        Descendants ([Product].[Category],, LEAVES) *
        Descendants ([Product].[Subcategory],, LEAVES) *
        Descendants ([Product].[Product],, LEAVES)
                ([Measures].[Internet Sales Amount] * [Measures].[Internet Tax Amount])
    ) / [Measures].[Internet Freight Cost]
    select [measures].[descendents test] on columns,
    [Date].[Calendar Year].children on rows
    from [Adventure Works]
    What's the best way to add a descendents query to a cube? I don't think I should include the Calendar Dimension as the cube has multiple Calendar Hierarchies that I want the calculation to use if selected. Essentially the calculation should do the calculation
    at the lowest level even when it's rolled up to a higher level.
    Any help and direction would be greatly appreciated.

    Hi Silverarrows,
    What do you mean by "Add query to a cube"? If you want to add the calculation to the cube, then we can add it in the Calculations tab in the cube designer in BIDS. A calculation is nothing but an MDX expression or script which is used to define
    a calculated member, a named set, or a scoped assignment in a cube. For the detail information about how to do it, please refer to the links below.
    http://www.sqlservergeeks.com/blogs/AmitK/sql-server-bi/65/sql-server-implementing-calculations-in-ssas-using-mdx-part1
    http://www.purplefrogsystems.com/blog/2011/01/how-to-add-calculations-in-ssas-cubes/
    http://msdn.microsoft.com/en-IN/library/ms145492.aspx
    If I have anything misunderstand, please point it out and elaborate your requirement, so that you can get more help.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Problem with a query on Remote Cube

    Hi,
    We are working on Remote cube, which has a source from a view built on R/3 base table. I need to extract the data to BW based on a current date due to huge volume of data(performance reasons) in the table. I have used an exit on R/3 to restrict to current date but the extract checker was showing the valid data ie only for current date when i had built a query on Remote cube, the Report was showing complete data(restriction not working). We have even tried using an inversion routine in transfer rules to pass the selections to the Source system even then it doesn't work. Could you help if you have come across same kind of situation or you can suggest an alternate solution on the same but we have to use Remote cube.
    Any suggestions asap would be highly appreciated and rewarded with full points.
    Regards,
    Raj

    Could you check the BLOB really contains UTF-8 encoded XML?
    What's your database character set?The BLOB contains UTF-8 Encoded
    and the database where i am connectes have AL32UTF8 character set, but my internal instance have "AMERICAN_AMERICA.WE8ISO8859P1"
    that is a problem?
    How could I change the character set of the oracle local client to the character set of the remote oracle data base?

  • How to set Query SQL Statement parameter dynamically in Sender JDBCAdpter

    Hi All,
    I have one scenario in which we are using JDBC Sender Adapter.
    Now in this case,we need to set Query SQL Statement with a SELECT statement based on some fields.
    This SQL statement is not constant, it would need to be changed.
    Means sometimes receiver will want to execute SQL statement with these fields and sometimes they will want to execute it with different fields.
    We can create separate channels for each SQL statement but again that is not an optimum solution.
    So ,I am looking out for a way to set these parameters dynamically or set SQL statement at Runtime.
    Can you all please help me to get this?

    Shweta ,
    <i>Sometimes receiver will want to execute SQL statement dynamically</i>....
    How you will get the query dynamically? Ok Let me assume, consider they are sending the query through file, then its definitely possible. But u need BPM and also not sender JDBC receiver adapter instead, receiver JDBC adapter.
    SQL Query File ->BPM>Synchronous send [Fetch data from DB]--->Response -
    >...............
    Do u think the above design will suit's ur case!!!!
    Best regards,
    raj.

  • Xi JDBC Adapter - Query SQL Statement & Update SQL Statement

    Hi!
    I configure the JDBC adapter sender (XI) to take data from Oracle database.
    I set the Query and Update SQL Statement in the Processing parameters of the communication channel in this way:
    Query SQL Statement :
    SELECT * FROM XI_TABLE WHERE STATUS = 'WAIT' ORDER BY ROW_NUM
    Update SQL Statement :
    UPDATE XI_TABLE SET STATUS = 'DONE', DATE = SYSDATE WHERE STATUS = 'WAIT'
    My question is :
    If a new record with the field STATUS = 'WAIT' is added to the table (xi_table) during the time between the execution of the query statement and the start of the update statement, what will happen to that record during the update?
    There is a way to avoid the update of that record? or to pass to the update statement only the record selected in the query statement?
    Please, may you give me some example?
    Thanks,
    Francesco

    hi,
    did you check "Isolation Level for Transaction"
    for the sender jdbc adapter?
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Regards,
    michal

  • Performance of my query based on cube ? and ods?

    hi all,
    how to identify the performance of my query based on a cube nor ods. I have requirement which enables to do flat file extraction and the extraction is only once and the records are less too. I need to sort whether my query will be faster based upon cube nor on ods.
    Can anyone let me know how to measure the performance of my query based upon cube and ods and how to find out which one will be faster. bcos i need to explain them the entire process of going to load the data directly to ods and do reporting from there nor data loaded directly to cube and do reporting from cube.
    thanxs
    haritha

    Hi,
    ODS is 2 Dimensional  so avoid reporting on ODS,
    Cube is MultiDim, for analysis perpose we can go reporting on Cube only
    Records in ODS are Overwritten whereas in Cube records are Aggregated
    and can also do compression on Cube, which will increase the query performance and so data retrieval in cube is faster
    Thanks

  • Query on Inventory Cube 0IC_C03

    Hi All
    When running a query on Inventory Cube, I get some of the values like this "[2,000]" and the value is not taken into account in the total row.
    Any Idea about the "[Value]"?
    Thanks
    Dror Golani

    Hi,
    Probably it could be a NUMC data type.Just check.
    venkat

  • Query SQL Statement & Update SQL Statement

    Hi!
    I configure the JDBC adapter sender (XI) to take data from MSSQL database.
    I have to run select like this:
    SELECT
    tblMilestone.Site,
    tblMilestone.Revision,
    tblMilestone.MilestoneNameID,
    tblMilestone.ApprovedDate,
    tblMilestoneName.MilestoneName
    FROM
    tblMilestoneName
    INNER JOIN tblMilestone ON tblMilestoneName.MilestoneNameID = tblMilestone.MilestoneNameID
    WHERE tblMilestone.StatusCode = 1;
    My question is what "Update SQL Statement" I should use in communication channel definition? I only need to update tblMilestone or this two tables?
    Maybe you give me some example.

    Check this from SAP help...
    Update SQL Statement
    You have the following options:
    &#9679;     Enter a valid SQL statement that is to be applied to the database once the data (determined from the Query SQL Statement) has been successfully sent to the Integration Server/PCK.
    It must be an INSERT, UPDATE, or DELETE statement.
    &#9679;     In place of the SQL statement, you can also enter <TEST>. Once the data determined from Query SQL Statement has been successfully sent, the data in the database remains unaltered.
    This is recommended if the data has not only been read, but also changed by a stored procedure entered under Query SQL Statement.

  • Query of the cube # is getting displaced

    Hi All,
           In the query of the cube for characteristics whereever it is blank from the cube it is getting displayed by a '#".I want it to display a blank. how to overcome this problem.
    thanks

    Hi Pavan,
    Please try to seach thr forums before posting a question. See this thread:
    Replace the default u0091#u0092 in BEx
    Re: replacing '#'-sign for 'not assigned' in queries
    Hope this helps...

  • Error Message on query of the cube 0PUR_C01

    Hi Gurus,
    I am executing the standard query 0PUR_C01_Q0004 on cube 0PUR_C01 (Purchasing).
    For some results lines I see the following message "No calc possible" on key figures values. Has anybody seen this error before??
    I will really appreciate any help.
    thanks
    Ricardo Okazaawa

    Perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • Should Fiscal Year be derived from posting date for sales stat cube

    Greetings,
    Is it common to derive FY from posting date of the invoice for the sales stat cube.  We have the standard SAP datasource 0UC_SALES_STATS_02 to extract billing information from ECC.  On the BI side, the FY is derived from posting date in the transformation before it reaches the target (i.e. cube).  Is this derivation common
    Thank you in advance for your response.
    Behnaz

    Hi,
    You can derive the Fiscal Year from the posting period and it not uncommon to see this.
    Reg,
    Rahul

  • To install BI Stats cube in 7.0 - BI Admin Cockpit necessary?

    Hi Guys,
    Just curious to know, to install BI Stats cube (0TCT*) in BI 7.0, is installation of BI Administration Cockpit necessary? We would like to install BI Stats cube from Business content and start collecting Stats.
    Did anybody face problems activating BI stats cube in BI 7.0?
    Abhijit
    Edited by: ABHIJIT TEMBHEKAR on Nov 12, 2008 1:44 PM

    Its the reverse, To have BI Admin Cockpit, BI Stats cubes (0TCT*) are necessary!!
    VJ

  • Query Manager Statement

    Dear all,
      Which database table store the query manager statement??
    How can i transfer it from one company Db to another??
    Regards,
    Kit

    Hi Chun,
    As far as I know, they are stored in two tables, one for some registration in SBO and one where the actual query is. (one of those tables is OUQR)
    However, SAP does not like it when you fool around in the company database. So you'd better use the DI-API.
    In the DI-API you find the <b>UserQueries Object</b>. What you can do, is create two company objects (through the DI-Server?) and connect to both companies. Now you can transfer the UserQuery objects between the two databases.
    Hope this helps,
    Rowdy

  • If I execute the query on a cube now my OLAP processor where will come

    hi can any body help regarding this
    If I execute the query on a cube now my OLAP processor where will come first(SID table or Fact Tbl or Dimension Tbl)

    hi,
    i think first is coming to fact table, then dim and sid tables.
    regards
    harikrishna N

Maybe you are looking for

  • How do I print out an email -- just the email?

    With the change in recent email format, my ability to printout the email has disappeared. No problems before this rcent change. The 2 options available: the "File" option on the menu at top left of page, and the 3 horizontal bars indicating "menu" on

  • Do you have to upgrade to Windows 8.1 or is this a squeeze chute with no option?

    I have finally got my computer to operate without any problems and all my programs work fine, the last time I upgraded to Windows 8.1 I had all kind of issues. So my question is; do you have to upgrade to Windows 8.1 or is this a squeeze chute with n

  • Are Selects from ( two or more ) Virtual Tables Possible?

    Hello. This is what I mean by a virtual table - and this works in OBIEE - select     saw_0, saw_2, saw_3 from      SELECT         "- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Number saw_0,         "- Nx_CSDG0_Repair_Orders (Depot Repair Vie

  • How do I skip the sign in?

    I just purchased Photoshop Elements. To use editor it is telling me I have to sign in with an adobe account and register or the program will stop working in 7 days. I paid for the software... as far as I'm concerned my contact with Adobe is over. I h

  • JDeveloper 10.1.2.0.0 (build 1811) Bug?!?

    Hi I'm facing the strangest thing. I have a piece of code that insert a new row in table, this code in JDeveloper 9052 works fine (inserts one row) but when I migrated to JDeveloper 10.1.2, the same code insert two rows instead of only one row!!! How