Query Results are having inconsistency

Hi,
I found the report is giving wrong values recently which was working fine earlier.  I performed RSRV test run on the Objects and found the below error message.  I tried to correct error but no result.
The referential integrity is checked for 9 characteristics
Too many missing specifications for InfoObject ZXXX
The SID values are missing for 8,980,471 specifications for characteristic ZXXXX
Too many missing specifications for InfoObject ZXXXX
The SID values are missing for 7,678,305 specifications for characteristic ZXXXX
Too many missing specifications for InfoObject ZXXX
The SID values are missing for 5,100,973 specifications for characteristic ZXXXX
The SID values are missing for 1 specifications for characteristic 0PXXXX
The SID values are missing for 9 specifications for characteristic ZXXXXX
The interval for number range object BIM0001252 does not exist,
I am not sure it will be having any impact at the update rules because we have a update routine.
could any one please suggest the solution to the above problem.
Regards,
Venkat

Hello,
Run the report in se38 RSDMD_CHECKPRG_ALL for every object you're encounter the error.
This will fix your errors.
Diogo.

Similar Messages

  • Retrieving BEx Query Results Area for use in Excel formulas

    Hello,
    I run BEx queries in workbooks and then use Excel formulas ( mostly VLOOKUP(LookupValue, ResultsArea, ColumnReturned,) ) to retrieve certain information from the query ResultsArea.
    ****Problem:
    Depending on the query parameters, the query "Results Area" is larger or smaller.
    ****Non-optimal solution:
    One way to define the  ever changing Excel range occupied by the Results Area is to create an Excel name as:
    QueryRange = OFFSET(QueryFirstCell,,,COUNTA(OFFSET(Sheet1!$A:$A,,COLUMN(QueryFirstCell)-1,,)),COUNTA(OFFSET(Sheet1!$1:$1,ROW(QueryFirstCell)-1,,,)))
    Then, the only input required is the top-left cell of the Results Area, which stays the same (unless the query definition changes).
    ****Question
    What is the best way to refer to an ever-changing query Results Area in an Excel formula?
    Thank you!
    Louis

    It is actually much easier than that.
    Use a VBA statement like the following:
    Set RptRng = ActiveCell.CurrentRegion
    This will retrieve the data in the Results Area, no matter what the size is.
    Hope this helps...
    Bob

  • Query result area on the first row instead of last row

    Hi BI experts,
    I want to display the result of  the BI query at the first row instead of last row.Could somebody help me how to accomplish this.
    I tried with the layout->move result area but could not be possible.
    I need your kind suggetion.
    Thanks.

    hi jyuoti,
    Further, open your query in query designer, look at the query property,  under the tab "rows/columns"
    change the result position of rows to "Below", you can see the preview there itself.
    This should solve your problem.
    Best Regards,
    *Assign points if you find the answer useful.

  • Coldfusion Oracle query results are inaccurate

    I have run the exact same query in toad and in oci8 php and get the same results. In coldfusion the results are different. I made sure the query is not being cached. What could be the reason for this?

    DB version 11
    CF version 9
    CF driver oracle
    CF query 
    <cfquery name="getUser_ac" datasource="oracle">
            SELECT sibinst_pidm as pidm
            FROM sibinst a
            WHERE a.sibinst_fcst_code = 'AC'
    </cfquery>
    <cfoutput>
        <cfloop query = "getUser_ac">
            #getUser_ac.pidm#<br>
          </cfloop>
    </cfoutput> 
    TOAD query 
    SELECT sibinst_pidm as pidm
    FROM sibinst a
    WHERE a.sibinst_fcst_code = 'AC' 
    CF results Records=5845
    TOAD results Records=5912 
    If you need more information let me know.

  • Query results are not highlighted ?

    Hi
    I have made CO query "Cost Center", when i expand hierachy i my sumary results are not highlighted.
    I have the same query for "Cost Elements" an everything is ok, summary results are highlighted.
    Any idea what is wrong ?
    Regards

    On each level of hierarchy there are results, but no highlight on them.
    see this print screens http://picasaweb.google.pl/w.lukasz/Costs?authkey=Gv1sRgCJ3JxOH_h6f2_QE#
    in "cost elements" on screens there is "yellow" highlight
    but in "cost center" there is NO highlight.
    That is the problem, any idea ?
    THX
    Regards

  • How to ensure that the query results are fetched from the BW acclerator.

    Hi Experts,
    Suppose if i want to execute the query with BIA option, I can achieve it in RSRT .
    1)But is there some query settings or properties where we can make sure that whenever a query(say Q1) is executed, always the data should be fetched from the BIA index.
    2)Suppose the BIA indexing has failed due  to some reasons, will the data be fetched from the previously updated BIA index??
    regards
    akshay

    Hi man,
    1)But is there some query settings or properties where we can make sure that whenever a query(say Q1) is executed, always the data should be fetched from the BIA index.
    If you have built up BIA index on a cube, then every query on the cube or MultiProvider will automatically use BIA index. No additional settings required. You can use the following way to test whether a query is using BIA or not:
    Go to RSRT, input query name, click 'execute and debug' and check 'Display Statistics Data' and 'Do Not Use Cache'. Execute. After the query result press F3, now you should be able to see statistics. There's a tab 'BIA Access'. If you see something there then it means BIA index is used.
    2)Suppose the BIA indexing has failed due to some reasons, will the data be fetched from the previously updated BIA index??
    If BIA rollup is failed, then the last request(s) would not available in reporting and query will use BIA index for earlier requests. You can consider it like aggregate. But if initial fill of BIA failed then you would not be able to use BIA index.
    Regards,
    Frank
    Edited by: Frank Lee on Jul 14, 2009 2:22 PM

  • Straight SQL query results are considerably faster than a FUNCTION...

    Hey all,
    First time new poster, long time reader.
    I have a function that calls a specific query with 2 variables. When I execute the query and hardcode the values, it executes <strong>much </strong>quicker than when the function is called, and the values are passed. I'll give some examples below... here's the full function:
    FUNCTION get_golf_gameplay_completed (
    p_cabinet_id_in NUMBER,
    p_days_back_in NUMBER
    RETURN ref_cursor
    IS
    cu_ref_cur ref_cursor;
    BEGIN
    OPEN cu_ref_cur FOR
    SELECT golf_game_data.cabinet_id, golf_game_data.player_num,
    TO_CHAR
    (global_utility_pkg.cnvrt_gmt_to_local_time_by_cab
    (golf_game_data.cabinet_id,
    golf_game_data.server_start_time,
    golf_game_data.server_start_time
    'MM/DD/YYYY HH:MI:SS AM'
    ) cab_local_event_timestamp,
    TO_CHAR
    (global_utility_pkg.cnvrt_gmt_to_local_time_by_cab
    (golf_game_data.cabinet_id,
    golf_game_data_end_time.server_end_time,
    golf_game_data_end_time.server_end_time
    'MM/DD/YYYY HH:MI:SS AM'
    ) cab_local_session_end,
    TO_CHAR
    (global_utility_pkg.cnvrt_gmt_to_local_time_by_cab
    (golf_game_data.cabinet_id,
    golf_game_data_end_time.server_end_time,
    golf_game_data_end_time.server_end_time
    'HH:MI:SS AM'
    ) cab_local_session_end_time,
    TO_CHAR
    (global_utility_pkg.cnvrt_gmt_to_local_time_by_cab
    (golf_game_data.cabinet_id,
    golf_game_data_end_time.server_end_time,
    golf_game_data_end_time.server_end_time
    'MM/DD/YYYY'
    ) cab_local_server_end_date
    FROM golf_game_data INNER JOIN golf_game_data_end_time
    ON golf_game_data.cabinet_id =
    golf_game_data_end_time.cabinet_id
    AND golf_game_data.player_num =
    golf_game_data_end_time.player_num
    AND golf_game_data.session_id =
    golf_game_data_end_time.session_id
    WHERE golf_game_data.cabinet_id = {color:#ff0000}<strong>p_cabinet_id_in</strong>{color}
    AND golf_game_data_end_time.cabinet_id = {color:#ff0000}<strong>p_cabinet_id_in</strong>{color}
    AND golf_game_data_end_time.server_end_time IS NOT NULL
    AND golf_game_data.server_start_time &gt;= SYSDATE - {color:#ff0000}<strong>p_days_back_in</strong>{color}
    ORDER BY golf_game_data_end_time.server_end_time;
    RETURN cu_ref_cur;
    END get_golf_gameplay_completed;
    I've highlighted the variables for readability.
    This is how I've been executing the function from the SQL*Plus command line:
    select tech_report_package.get_golf_gameplay_completed(122477,10) from dual;
    The speed differences between running the raw query versus the function as a whole have been driving me nuts. For the cabinet IDs (the first variable inserted - in the case above, it would be 122477) that have a high amount of activity on the GOLF_GAME_DATA table, the query itself returns results within a few seconds (usually under 10 seconds even for the most bloated data). However, the function, when called with the same IDs, takes minutes - as long as 3 or 4 minutes in some cases.
    I've run various tests in a cloned production environment, and we've isolated any possible issues with networking, data contention, and partitioning (the GOLF_GAME_DATA table is not partitioned) - the issue is simply the query speed versus function speed, with no external influences.
    What baffles me is the fact that the function is very basic - all it does it executes the query and returns the results, just like the query... the only difference being the cursor that's opened.
    So, getting back to square one; my question was: <u>why would any query run much quicker than a function that does nothing but call the same query?</u>
    Any thoughts?
    Thanks
    -Bob

    No change after using that parameter in the session.
    Any other ideas? I was playing with results with one of my coworkers and my manager, and we were unable to produce any results that were, well, reproducable. Even after <strong>shutting the database down</strong>, and starting it back up, it seems that the results from some of the example queries that we were running were being cached on the SAN which hosts the database's files, or cached and restored after the instance was started up.
    FYI - we test on an instance that mimics production. It's a clone that's produced once a day against the production database, and has no user contention. We bring it up, and are able to test things like we would in production with no other users on the instance at the same time. We are still seeing slow results.

  • BW 3.5 Webtemplates with BI 7.0 Query, Results are showing as Junk Page

    Hi All,
    I have created a BI 7.0 Queries with, RKF, CKF and Charactesttics. And i have created a BW 3.5 Webtemplates and added that BI 7.0 Query as data provider for the Table and Chart in the webtemplates. When i execute the webtemplates in the browser i am getting the result properly, But when i excute the Webtemplate in browser Next time it is providing me the Page with Junk characters. I am not getting any proper results after the execution of first time, once the webtemplets is created.
    Can any one face this issue? if So can you please help me to resolve this issue?.
    Regards,
    Muruganand.K

    Hi Arun,
    Thanks, After i have changed the Charset to "utf-8", and now I am gettinng the result properly. But is there any permenanat fix available now to fix this issue?. Also is this issue is happing only when viewing the reault in IE? or this issue will occur during the precalculation of the webtemplates also?
    Thanks,
    Regards,

  • Select * from v$asm_disk query results are not displayed in developer

    Hi, executing select * from v$asm_disk query returns below error messages whereas select * from v$asm_diskgroup works fine.
    SEVERE     40     18579     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:ORA-01219: database not open: queries allowed on fixed tables/views only
    SEVERE     38     0     oracle.dbtools.raptor.utils.Connections     
    SEVERE     37     15     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-15021: parameter "plsql_debug" is not valid in asm instance
    SEVERE     36     0     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-15021: parameter "plsql_optimize_level" is not valid in asm instance
    SEVERE     35     0     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-15021: parameter "plscope_settings" is not valid in asm instance
    Is there any way to get around this issue?
    Thanks
    Pramod

    What product are you using? What version, what database? What user is the query being run by? (It may be a privileges issue)
    This forum is for the product SQL Developer Data Modeler.
    Sue

  • Getting Inconsistent Query Results

    I am getting inconsistent results when trying to filter data based on the DATETIME stamp. Any help will be appreciated.
    Here is my table information.
    TableA:
    SR DATE
    15     8/30/2007 9:34:41 AM
    16     9/4/2007 1:03:38 PM
    17     9/4/2007 2:50:48 PM
    18     9/4/2007 3:04:03 PM
    19     9/5/2007 11:47:58 AM
    20     9/5/2007 12:16:23 PM
    21     9/6/2007 3:34:38 PM
    22     9/6/2007 3:43:27 PM
    23     9/6/2007 3:46:27 PM
    24     9/7/2007 10:14:26 AM
    25     9/7/2007 10:16:11 AM
    26     9/18/2007 1:03:47 PM
    27     9/19/2007 9:31:14 AM
    28     9/19/2007 9:44:36 AM
    29     9/19/2007 4:18:05 PM
    30     9/21/2007 10:44:52 AM
    Now if I execute this query,
    SELECT * FROM TableA WHERE DATE >= '9/3/2007 9:34:41 AM'
    Result (Missing all 2 digit dates:
    16     9/4/2007 1:03:38 PM
    17     9/4/2007 2:50:48 PM
    18     9/4/2007 3:04:03 PM
    19     9/5/2007 11:47:58 AM
    20     9/5/2007 12:16:23 PM
    21     9/6/2007 3:34:38 PM
    22     9/6/2007 3:43:27 PM
    23     9/6/2007 3:46:27 PM
    24     9/7/2007 10:14:26 AM
    25     9/7/2007 10:16:11 AM
    If I change the day in query to 2 digit then I am getting correct results.
    SELECT * FROM TableA WHERE DATE >= '9/03/2007 9:34:41 AM'
    But If I run this query:
    SELECT * FROM TableA WHERE DATE >= '9/05/2007 9:34:41 AM'
    Results (Getting all the dates even less than '9/5/2007':
    16     9/4/2007 1:03:38 PM
    17     9/4/2007 2:50:48 PM
    18     9/4/2007 3:04:03 PM
    19     9/5/2007 11:47:58 AM
    20     9/5/2007 12:16:23 PM
    21     9/6/2007 3:34:38 PM
    22     9/6/2007 3:43:27 PM
    23     9/6/2007 3:46:27 PM
    24     9/7/2007 10:14:26 AM
    25     9/7/2007 10:16:11 AM
    26     9/18/2007 1:03:47 PM
    27     9/19/2007 9:31:14 AM
    28     9/19/2007 9:44:36 AM
    29     9/19/2007 4:18:05 PM
    30     9/21/2007 10:44:52 AM
    The results are so inconsistent with different combination, I could not figure out the main reason behind this.
    The datatype for this field in database is "VARCHAR2(250)" and because of some restrictions, I could not change datatype of this field in the table.

    SQL> DESC t;
    Name                                      Null?    Type
    COL                                                VARCHAR2(50)
    SQL> SELECT col FROM t ORDER BY col;
    COL
    8/30/2007 9:34:41 AM
    9/03/2007 9:34:41 AM
    9/05/2007 9:34:41 AM
    9/18/2007 1:03:47 PM
    9/19/2007 4:18:05 PM
    9/19/2007 9:31:14 AM
    9/19/2007 9:44:36 AM
    9/21/2007 10:44:52 AM
    9/3/2007 9:34:41 AM
    9/4/2007 1:03:38 PM
    9/4/2007 2:50:48 PM
    9/4/2007 3:04:03 PM
    9/5/2007 11:47:58 AM
    9/5/2007 12:16:23 PM
    9/6/2007 3:34:38 PM
    9/6/2007 3:43:27 PM
    9/6/2007 3:46:27 PM
    9/7/2007 10:14:26 AM
    9/7/2007 10:16:11 AMThe ones in bold are your predicate "dates". Do you see why it doesn't work as you expect?
    John

  • Getting range of query result in 2004s

    Hi,
    I'm trying to determine range of a result area in a 2004s query using the following code :
    Dim myrange As Range
    Set myrange = Run("BEXAnalyzer.xla!SAPBEXgetResultRangeByID", "ZSKMILESTONESTEST")
    I have also tried this using the technical ID of the query as in RZSCOMPDIR.
    This causes a VB error and stops inside the SAPBEXgetResultRangeByID function and says "Object Variable or with block not set" on this line :
    Set SAPBEXgetResultRangeByID = pAddin.SAPBEXgetResultRangeByID(ActiveWorkbook.Name, queryID, charName)
    Can anyone help ?
    Cheers
    Sue

    Hi Sue,
    I know nothing about 2004s.  But, I know something about SAPBEXgetResultRangeByID.
    The function's definition (from Object Browser) is:
    Function SAPBEXgetResultRangeByID(ByVal queryID As String, Optional ByVal charName As String) As Range
    Here are two examples that work for me ...
    'This example locates query result Area using local query ID
    Sub testResultRangeByID1()
    Dim resultArea As Range, queryID As String
        queryID = "SAPBEXq0001"
        Set resultArea = Run("SAPBEX.xla!SAPBEXgetResultRangeByID", queryID)
        Application.Goto reference:=resultArea
    End Sub
    'This example locates a characteristic's filter cell
    'using local query ID and technical name of characteristic
    Sub testResultRangeByID2()
    Dim resultArea As Range, queryID As String
        queryID = "SAPBEXq0001"
        Set resultArea = Run("SAPBEX.xla!SAPBEXgetResultRangeByID", queryID, "0SHIP_TO")
        Application.Goto reference:=resultArea
    End Sub
    Hope this helps.
    - Pete

  • How to put variable selection and the query result the same screen

    Dear all,
       how can I put the variable selection and the query result in the same screen? Please advise. Thanks.
    Jin Ming

    Not sure if you are saying you want the prompts on the same page as the results... however in 7.0 with BEx Analyzer, you can insert a text object from the design toolbar and assign it to the variable.... this way, lets say you run query for period 6, then the text object will display "6" on the same area where the query results are.

  • Scroll to bottom of query results

    SQL Developer 1.2
    DB 9.2.0.7
    Is there any way to quickly get to the bottom of the query results? I'm transitioning off from SQL Navigator and use this feature all the time. Most query results are many many screens long so this is a very useful feature.

    Although encouraged to filter and/or order your result set to conserve I/O and memory, you can always scroll to bottom with ctrl-end or ctrl-pgdown.
    Regards,
    K.

  • BEx Query results not getting updated

    Hi,
    I am using a BEx Query based on a multiprovider which is fetching data from a multiple remote cubes and multiple regular cubes.
    Now when data in the source system is getting changed the corresponding remote cubes are getting update but query result are not getting re-fresh for at least 2 hours.
    We have already tried doing logging out and and logging into the bex system.
    Is there some cache setting which is required?
    Default cache mode in query is  'Main memory cache without swapping'.
    Kindly advice.
    Regards
    Vivek

    Hi,
    Just generate your query once with program RSR_GEN_DIRECT_ALL_QUERIES.
    By selecting your multiprovider .
    Thanks,
    Ranjan

  • SSMS Addin - How To Access Query Results Grid

    Hi,
    I want to access Query Result Grid(Results) in SSMS addin but I did'nt found anything.
    How can I access Query Result Grid, Rows, Columns and Cells when I executed a script?
    Thanks.

    SQL Server Management Studio currently supports query execution results to be displayed in three different ways: Results to Grid,
    Results to Text and Results to File.
    By default SQL Server Management Studio is configured to display query results in
    Grid format.  If you want to change the default to some other option follow these steps.
    1. In SQL Server Management Studio, under Tools menu, click
    Options as shown in the snippet below.
    2. In the Options dialog box, expand Query Results, expand
    SQL Server and then select General as shown in the snippet below. In the right side panel choose one of the three options shown below in the
    Default Destination for results drop down list and click
    OK to save the changes as shown in the snippet below. The changes will go into effect once you open a New Query window.
    Query Result Options for Results to Text
    In this format you have the option to display the results in a different tab as well as setting different output options.
    In the Options dialog box, expand Query Results, expand
    SQL Server and then select Results to Text tab as shown in the snippet below. In the right side panel first select the checkbox for
    Display results in a separate tab and then select the checkbox for
    Switch to results tab after the query executes and then click
    OK. If you would like to also display the column name in the result set then choose the option Include column headers in the result set
    as shown in the snippet below.
    The options you can use in the Text format are:
    Output format: - In the above snippet you could see that by default the output is displayed as columns aligned. Some of the other options that are available are Comma Delimited,
    Tab Delimited, Space Delimited and Custom Delimited. If you choose the Custom Delimited option in the Output format drop down list then you need to specify a character of your choice for the delimiter in the
    Custom delimiter text box.
    Include column headers when copying or saving the results: - If this option is selected, then whenever the results are copied to clipboard or it is saved to a file the column headers are also copied along with the results.
    Include the query in the result set: - The text of the query is displayed as part of query output under the messages tab.
    Scroll as results are received: - If this option is selected, then the display focuses on the most recently returned records at the end of the results set.
    Right align numeric values: - If this option is selected, then numeric values will be aligned to the right of the column.
    Discard results after query executes: - If this option is selected, then the query results are not displayed in the reviewing pane.
    Display results in a separate tab: - If this option is selected, then the result set after query execution will be displayed in a new tab instead of at the bottom of the query window.
    Switch to results tab after the query executes: - If this option is selected, then after the query execution the screen focus will be set to the results tab.
    Maximum number of characters displayed in each column: - This sets the maximum characters to display for any one column.  So if you have a column that is 500 characters this will only show the first 256 if you keep the default setting.
    Ref link :http://www.mssqltips.com/sqlservertip/2346/different-options-for-query-results-in-sql-server-management-studio/
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

Maybe you are looking for

  • Can open .pdf files in Chrome but cannot open the same file after saving it.

    Description:   A problem caused this program to stop interacting with Windows. Problem signature:   Problem Event Name:          AppHangB1   Application Name:          AcroRd32.exe   Application Version:          11.0.3.37   Application Timestamp:   

  • Bootcamp OSX partition keeps corrupting

    I have a client that I have set up a Bootcamp system for with Mountain Lion/Win7.  This is a mid 2011 MB Pro 13", Core 2duo, 8GB RAM, 720 GB HD.  I set it up for him and the first night switching from Windows to OSX with the "option" key method at re

  • Regarding downloading data into excel from internal table

    hi all , i'm using the function module  SAP_CONVERT_TO_XLS_FORMAT to download data of internal table into excel . now i need to know . when user presses the button for downlading it should download after downloading if he again tries to download it i

  • 72 Hour hold was supposed to be suspended but was not.

    I went to a Verizon store today tried to open up 2 lines one was a LG G3, and a LG G Pad 8.3.  Was told there was a 72 hour hold on my credit placed by the fraud department.  Called the fraud department they said they suspended the hold, went back to

  • Query: Accessing super class

    hi friends , i have a small doubt on accessing super class using super keyword. does the use of super as super(super(super(i))); work properly and what would be the result. kindly guide me.......... jay