Inconsistent Query Result in SEM-BCS using Virtual Info Provider

We have just upgraded to BW 7.0 and SEM-BCS 6.0. When we run an existing 3.5 BW query for BCS through the Virtual Info Provider against the basic consolidation cube, we are getting inconsistent results. Sometimes we get the correct result, and other times our results are not rolling up correctly causing an out of balance on our balance sheet query. We did not make any hierarchy changes between the query executions. Has anyone else experienced this? We cannot see the cause of the inconsistency. Everything looks good when running through RSRT DEBUG. Any help on pushing us in the right direction to solve this would be appreciated. 
Thanks,
Rob

Hi Rob,
Could you please let me know how you have resolved this issue? Thanks.
Regards,
Ashok

Similar Messages

  • BI Statistics NW2004S Content - Virtual Info Provider 0TCT_VC01

    Hi
    We implemented BI NW2004S statistics for front end OLAP analysis  which consists of info providers 0TCT_C01, 0TCT_C02. However, when we activated the queries, we are not seeing enough data in queries even though the info providers are loaded correctly. SAP has provided content for 0TCT_VC01 & 02 as virtual info providers which are used in multi providers -0TCT_M01 & M02 along with the base info providers mentioned above. All content queries are built on these multi providers and currently in our multi provider we have just base info providers but not virtual info providers.
    Now my question is, on virtual info providers - These virtual info providers are based on DTP and am just wondering which data source I should use to maintain transformation as info provider based on DTP would require transformations to load the cube. I have used data sources 0TCT_DS01 & 02 to map transformations to base info providers 0TCT_C01 & C02 respectively.
    Pls confirm on how I should use these virtual info providers as part of multi providers and which data source should I use to maintain transformation.
    I am hoping that by including virtual info providers into the above multi providers, I would be able to see the data to analyze query performance during user navigations.
    Appreciate your response.
    Thanks

    RSDDSTAT_OLAP->0TCT_DS01(data source)->InfoPackage->0TCT_C01(0TCT_MC01)->0TCT_MC01_Q*(queries)
    The cube 0TCT_C01 gets filled from data source 0TCT_DS01 which is again gets data from the view RSDDSTAT_OLAP.
    So whenever you run queries (3.x or 7.0) or templates (3.x or 7.0) or workbook (3.x or 7.0), this view gets filled.
    So, you please schedule the releavant process chain or infopackage which will fill the cube 0TCT_DS01, then you will be able to use the queries built on this cube.These process chains are starting with 0TCT*.The installation steps and scheduling steps are very well explained in the note 934848.
    P.S. SAP delivered queries are based on multicube 0TCT_MC01 (built on 0TCT_C01 and 0TCT_VC01) and not on 0TCT_C01
    0TCT_VC01 Usage -
    The purpose of virtual cube 0TCT_VC01 is to give delta data.
    For ex, you would've scheduled the process chain for loading 0TCT_C01 every day in the mid-night. If you are running the query built on 0TCT_MC01 cube in the morning, you will miss the data from yesterday mid-night till today morning. To give this delta data, the virtul cube is used in the multi cube.
    Hope it Helps
    Chetan
    @CP..

  • Error in Query Result on ADF Table using "ROLLUP"

    Hi, I use Jdeveloper 11.1.2.3.0
    My problem is whenever i run and test my query (on SQL Developer 3.2 release) which has a "Rollup" command, it shows the accurate result with the total and subtotals in the right place as i want it..... But after configuring it on my ADF application via ADF Table, whenever i run it, the subtotals are scattered and misplaced (not being at the position they are meant to be like in SQL Developer)..........
    Please is there a possible way to correct this or is there something im not getting right?
    Please i await any good suggestions or corrections...
    Thank you.
    OBYYS.

    Hi,
    maybe you want to share how from ADF you access your query. Do you use ADF BC, EJB, POJO (with JDBC) to issue the call? If you use ADF BC, how is the value displayed in the tester? Note that SQL Developer just prints the result of a query wheras a table requires you to provide row/column values even for rows that define totals. I assume this to be your problem.
    Frank

  • 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

  • Send query results to a file using Toad

    Hello,
    I have a select statement that generates xml rows, and I need to send the results to a file. I am using TOAD VI. The rows generate ok but when I right click and choose the save as option all I end up with is an empty file.
    Is there a way I can just send the results directly to a file instead of to the screen?
    Thanks.

    user11293056 wrote:
    Would you happen to know of a website that shows how to create an xml file using SQL*Plus?
    Thanks.A search of asktom.oracle.com for the following phrase found a couple interesting pages:
    table(xmlsequence(cursor
    On such page is this one:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:1074646661177911::::P11_QUESTION_ID:4061080732051
    As an experiment, you might take a look at the output of the following (replace SELECT * FROM MY_TABLE_HERE with your SQL statement):
    SELECT
    FROM
      TABLE(XMLSEQUENCE(CURSOR(
        SELECT
        FROM
          MY_TABLE_HERE
       )));Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Source system in Virtual Info provider

    Hi!!
    I am creating an application which is based on virtual infoprovider and which read data from website and produce data for reporting but i am confused about logical system name as cube is not executing in listcube transaction.!!!
    Regds,
    Pooja

    hi Pooja,
    Logical System name is your BW System ie BWDCLNTXXX where XXX is your client ID, for more information you can contact your basis person,
    as far as listcube is concern, you have to check few thing before extracting data from website.
    1. your system must be able to connect to Net.
    2. check proxy configuration and port entry in Network (ur network guy helps u)
    3. check RFC "Http_Get", if it works fine then your infocube configuration may be wrong.
    I hope it will helps you..
    Regards,
    Gourav Khare

  • Using CTRL + F not working to find any text within the query result

    Hi friends,
    I am trying to use find option to find any text within the result section of a query but when I do CTRL+F  the find window appears and I can input the text that I wanted. But when I press Enter it is not giving me any result though the entered text
    is in the query result. I am using Sql Server 2012 Management studio. Any Body please help me. There is a job that I have to search certain things after running a script and now I am doing copy paste to excel and doing searching from there. 

    Prashant,
    Looks like you are trying to do in SSMS, and it is because the result set is in Grid view , if you want to use CTL + F then your result should be in Text format, try to do using CTL + T ( To get result in Text) and then use CTL + F to find any
    text.
    Thanks
    Manish
    Please click Mark as Answer if my post solved your problem and click
    Vote as Helpful if this post was useful.

  • Query Result Filtered using User Roles SCSM 2012 R2 RU2

    Hi,
    I have a Query Result setup in a Request Offering that shows the list of Printers using the Printer CI. We have different sites with printers that start with the site location like MTL. There are no filters in the Query Result. What i did is create a Group
    for each site that has the rule "start with" MTL (other groups have other 3 letter prefix). Then i created a user role for each group and only selected the Printer group for the site and i associated the User Role with our AD Site group called MTL-User.
    i did this for each site. Now when i checked the Request Offering at first, with a user that is part of MTL-User group, it showed only the list of printers that started with MTL. Now today i came to check again and the same user is seeing all the printers
    and not just the ones that start with MTL.
    The User Role i made was based on the Read-Only Operator. I just dont know what the problem is

    Thanks for that link. I had thought of something like that but i found it came to the same thing as just using the filter field that is already available when using a Query Result. I retried using User Roles and figured out that the problem is that my test
    user is only part of the MTL-USER group so when i logged in with him into the portal (cireson Portal btw) i would see the proper result. If i logged in with a actual user that is also part of other groups besides MTL-Users, they see all the printers no matter
    which AD group i define in the User Role. 
    So what i figured was that my group is not getting applied as the filter to the query Result and that the Member section in the User role is only to say who can see the Query result list. But then i have my test user for which this setup works...so im confused
    on what exactly is overriding the results.

  • Query Results: Retrieve All Rows?

    I was looking for a feature that will allow me to choose to return "all records" to the Query Results window. The current behavior is to fetch 50 records at a time (e.g. fetch 50 records as you scroll through the results = s-l-o-w). What I'd like to do is "Retrieve All Rows" then use to the scroll bar to "smoothly" scroll to the last record. For example, the 8.0.6 version of Query Builder had this functionality and in SQL Developer 3.0, if I right-click on the results. I can choose to "Count Rows...", seems like this would be a perfect place to put a "Retrieve All Rows" option.

    Hi,
    My advice: do something only if there is a business case for it; satisfying your curiosity can get surprisingly expensive.
    You have already read about using Run Statement to execute a SQL statement, then Ctrl-End to auto-scroll to the end. You can try the same for Run Script, but first you will probably need to increase the value of Tools|Preferences|Database|Worksheet|Max rows to print in a script. Of course, taking either of these approaches slows things down due to displaying output and scrolling. Same with SQL*Plus. And, as mentioned previously, Java memory management in SQL Developer can cause slow downs and hangs if the result set is large enough.
    Here is a way to minimize that delay, avoid hangs, and get a more repeatable result:
    1) Save some query to, say, C:\Temp\AllCustomers.sql. For example, "select * from customers;" or "select id from customers;".
    2) Run it from a SQL Developer worksheet using Run Script (F5), or from the SQL*Plus command line, with a script like this:
    set timing on
    set termout off
    spool C:\Temp\AllCustomers.lst
    @C:\Temp\AllCustomers.sql
    spool offEven then you will see that the timing results will vary. Maybe "select *" runs much slower than "select id" because the logical output lines are long and get wrapped into multiple physical output lines in the file. Minimize that by setting linesize to a longer value (but only in SQL*Plus -- it isn't supported in SQL Developer) and repeat the test to see. Maybe SQL*Plus runs it much faster than SQL Developer because one is a command line environment and the other a GUI tool with more overhead. Or maybe the SQL Developer JVM is near its size limit and lots of Java garbage collection is slowing it down. Simple question, complicated answer.
    Regards,
    Gary
    SQL Developer Team
    P.S.: And if by chance you are using a version of SQL Developer so old it does not include the output time in the query result tab's toolbar, using Run Script with set timing on is your only recourse.
    Edited by: gggraham on Oct 27, 2011 4:54 PM

  • SQL*Developer 'Query Results' Not Displaying

    I have just recently installed SQL*Developer v3.2.2 and after I run a SQL query the tab 'Query Result' tab is not displayed. I have tried to show this tab and to use the arrow keys at the bottom of the screen to display this screen but I cannot view the query results. I have used v1.5.1 in the past and know that it should display when after running a query and can be resized if required but I cannot seem to show it is v3.2.2

    Hi,
    Yes, I did install to a clean directory. I have even deleted all contents of the directory and re downloaded
    the software again to the same directory but this did not work either it still remembered the original settings.Keep in mind there are two locations that an installation updates:
    1. The SQL Developer installation directory (which you deleted).
    2. The User-Related Information (in your "user home" directory), which is updated by the settings migration
    Perhaps Jim meant you should also remove the user settings for the last SQL Developer version installed and possibly even avoid migrating the old 1.5.x settings when you first start SQL Developer after that. See the following forum thread, probably unrelated to your situation, but containing where to find the location of user-related information in the Help:
    Re: IDE issue - Query Result grid is not selectable or scrollable
    Hope this helps,
    Gary
    SQL Developer Team

  • Sending email using PL/SQL based on a query result

    Hello all,
    I want to create a procedure using PL/SQL, based on a query result.Here is the scenario:
    I have multiple tables in Target and Source databases that I want to compare(not the whole table but queries on these tables) and if they differ, I want to shoot an email. I have some ideas how to implement this but not sure whether it is the best approach.
    select Acct_id, total from SourceTableA
    minus
    select Acct_id, total from TargetTableA
    select Acct_id, sum from SourceTableB
    minus
    select Acct_id, sum from TargetTableB
    If the result of any of above queries > 0 then I want to shoot an email and want to repeat this procedure in the morning every day.
    I know how to implement send_mail procedure using UTL_SMTP package and how to schedule tha job by dbms_job package. But I am not sure how to implement the result of minus query. In case if minus > 0 then I also want to send the name of tables in the email message where source and target tables are not same. Should i use cursor, variable or insert the result in a new table? any help would be highly appreciated. Thanks in advance.
    Khan

    Actually these queries are the part of our daily testing that we run everyday manually(after the scheduled ETL load) to see if there are any discrepencies between our datawarehouse tables and source tables. So instead of running these queries manually everyday we want to schedula a procedure that will shoot an email in case of any discrepency and indicate which tables have problems.

  • How to use one query results in another query

    hi,
    in help.sap I have founded that using variable type replacement path I can use one query results in another query. It is wrote there that I have to choose query name results I want to get in variable definition but I do not know where.
    How I can do this?
    Result I want to get is:
    In one query I have material prices in another material quantities. I want to calculate inventory value (price * quantity). Moreover prices are on plant level, quantities on storage type level. Plant is atribute of storage type.
    Can I do this?
    Regards,
    Andrzej

    Hi Andrzej,
    please check out this thread: Set parameters values depending on other parameters
    I had a discussion about query results as input for another query in there.
    For creating a workbook, just click on the save button after you ran your query in the bex.
    Siggi
    Message was edited by: Siegfried Szameitat

  • How to get the query result of improvement (Before and After ) using sql de

    how to get the query result of improvement (Before and After ) using sql developer.

    Check
    http://www.oracle.com/technetwork/articles/sql/exploring-sql-developer-1637307.html

  • How to use SQL query result in DOS commands

    Hi
    Currently i am runnig below DOS commands manually
    d:\apps\bin>TrueGridsCalc period="Aug 2010"
    Now I want to write one batch file and schedule job on windows and make value of "period" to be dynamic. So to get that value i need to fetch it from DB
    Steps which i am taking are
    1. connect DB from command line (using SQLPLUS)
    2. run query to fetch result
    3.How to use query result in "period" parameter ?
    I am good at step 1 and 2. Dnt know how to use query result in command to make it dynamic
    Thank you
    Sachin
    Edited by: sachin.mali on Oct 26, 2010 4:39 PM
    Edited by: sachin.mali on Oct 26, 2010 4:43 PM

    sachin.mali wrote:
    Hi
    Currently i am runnig below DOS commands manually
    d:\apps\bin>TrueGridsCalc period="Aug 2010"
    Now I want to write one batch file and schedule job on windows and make value of "period" to be dynamic. So to get that value i need to fetch it from DB
    Steps which i am taking are
    1. connect DB from command line (using SQLPLUS)
    2. run query to fetch result
    3.How to use query result in "period" parameter ?
    I am good at step 1 and 2. Dnt know how to use query result in command to make it dynamic
    Thank you
    Sachin
    Edited by: sachin.mali on Oct 26, 2010 4:39 PM
    Edited by: sachin.mali on Oct 26, 2010 4:43 PMYOu'll have to have sqlplus spool the output to a file, then figure out some way of parsing that file. Too bad you're stuck with Windows. With any *nix you could do the file parsing with one line of code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to use query-result as a new query-fiter

    HI, All
    Is it possible to execute sub-query filtererd by the pre-query-reslted lists ?
    As far as I investigated, only way to do is that I combine two suject-areas by using set operations like "Union" or around.
    But in this way, there is an impractical restriction to define these datatype and column in common. (namely, "Union" conditions)
    I just want to query filtered by ex-query-results at anytime; for example, I extract a customer lists by one query and use various analysis in the group of customer list.
    Please give me some advise.
    Regards

    First create a Request with your FilterQuerey. Secund Create a Request und create a Filter. Under Advanced you will find the path to the first Requst. Than you can select the columns.
    Thats it :-)
    Stefan

Maybe you are looking for

  • Text Annotation Options

    I am making slides with text annotations and I am hoping I am not limited to the cartoon-like boxes that are in the text options. I am looking for something alittle more professional, hopefully with some arrows. Please let me know! :) TYIA

  • Question about upgrading CS3

    We have Adobe Creative Suite 3 and want to know if there is a way to update it so we can open and edit files from newer versions of Creative Suite, specifically InDesign and Photoshop.  We keep getting missing plug in errors and such.

  • Can I view slideshows via an USB cable on my television

    I would like to watch my slideshows on my television, can I do this via a USN cable between the Apple Mac Pro and the televison's USB port

  • Cant search US street s or cities ( quite urgent -...

    I have downloaded the us maps I have all the map data on the phone , when I do a search for say san fransisco nothing comes up , let alone a street in san fransisco , basically I cant find anything using the search function which makes it bordering o

  • Container class

    please anybody tell me the functionality of these classes.it will be better if u give a brief. CL_GUI_CUSTOM_CONTAINER , CL_GUI_ALV_GRID , CL_GUI_ALV_GRID , CL_GUI_DIALOGBOX_CONTAINER .