SAP BW 3.5 Query Cache - no data for queries

Dear experts,
we do have a problem with the SAP BW Query Cache (BW 3.5). Sometimes the
problem arise that after the queries have been pre-calculated using web templates there are no figures available when running a web-report, or when doing a drilldown or filter navigation. A solution to solve that issue is to delete the cache for that query, however this solution is not reasonable or passable. The problem occurs non-reproducible for different queries.
Is this a "normal" error of the SAP BW we have to live with, or are there any solutions for it? Any hints are greatly appreciated.
Thanks in advance & kind regards,
daniel

HI Daniel
Try to wirk without cache for those queries.
Anyway, you should check how the cache option is configured for those queries .
You can see that, in RSRV tx
Hope this help

Similar Messages

  • Abap query : retrieve max date for the each unique material

    Hi
    I am facing problem formulating an ABAP query to retrieve records of table1 - material , table2 - doc no , table2 - doc date.
    I need records having maximum doc date for each material.
    I have used inner join on doc no on both tables.
    Please help.
    Thanks in advance
    Ash R

    Hello Mr.Ravi,
    I have used descending for "date" but i want single record for each material.
    it is like this:
    SELECT AMATNR EMBLNR E~BUDAT
             INTO CORRESPONDING FIELDS OF TABLE IT_FSN
             FROM MSEG AS A INNER JOIN MKPF AS E ON EMBLNR = AMBLNR
          UP TO 1 ROWS
             WHERE AWERKS = P_PLANT AND ABWART IN S_MTYPE AND E~BUDAT IN S_DATE
             GROUP BY AMATNR EBUDAT E~MBLNR
             ORDER BY E~BUDAT DESCENDING.
    I'm not able to get what i'm missing.
    please help.
    Regards,
    Ash R

  • Query Not displaying data for a particluar Cost centre code(urgent) !!!!!!

    Hi Folks,
    I have an infoset which is on top of two ODSs.
    Data for a particular cost center code present in both the ODSs.
    There is no data prsent in RSISET for that CC.
    Also the query is not showing any data for that CC.
    Data is not showin in RSRT for that CC ,but the SQL stament is getting generated  for that CC.
    Already Checked the infoset key fileds settings and all....
    Y its happening like this any ideas???
    Need your help buddies urgent issue.

    Please check weather the links are established between the info objects properly in the infoset.

  • Querying cache with data that is large enough to fit into available memory

    Query on a cache would be applicable on the data that can fit into the cache storage as per the link http://coherence.oracle.com/display/COH35UG/Query+the+Cache. However there is also a mention about restricting the cache content along a specific dimension, so that the query actually knows what to expect from the cache.
    Generally any enterprise application would generate huge amount of data and practically it would be difficult to set the fix up the limit to a specific dimension. Fixing the limit is to decide on what else has to be taken from the persistent store.
    Please let me know if there are best practices defined in this regard?
    Edited by: Mahesh Kamath on Feb 5, 2010 3:16 AM

    Hi,
    Thanks for the clarification.
    Okay. So in a nutshell it sounds like you have data spanning a memory cache and living in a database and
    you want to be able to query the entire dataset, so you need someway to figure out what
    is in the cache and what is in the database?
    In general queries in Coherence only work against the cached data, and because of the LRU characteristics
    of memory caches its going to be really difficult to know at a point in time what set of information is living
    in memory and which has been evicted and persisted in the underlying database. If the dataset that spills
    over into a database is fringe (i.e. a small percentage of your total data), then the simplest solution is to
    add new cache servers to get you out of this problem (i.e. avoid databases). If the cache is just the tip
    of the iceberg of all your data than you probably want to have either a write-through or write-behind
    configuration and query the database directly (write-through will get you everything you put into a cache,
    while write-behind will get everything except for the most recent puts which are working their way to being written in batch).
    My guess is that retrieval of keys out of the database, and then retrieval of data through the cache using
    the keys would not be a good idea. For one thing if the database is substantially larger than the cache,
    the entire cache will get evicted by the query activity, which generally is a bad idea. More importantly the
    code path to get the data will be much longer and would result in N number of invocations of SQL as opposed
    to a single invocation of SQL with a cursor.
    Regards,
    Bob

  • Need efficient SQL query to retrieve data for MLM website

    Table cd_members
    MemberID LeftID RightID
    1 2 3
    2 4 5
    3 6 7
    4 8 -
    5 - -
    6 - -
    7 - -
    8 9 10
    9 - -
    10 - -
    i want to execute a query to retrieve downline of a member say MemberID 2
    o/p should be Records with MemberID 4,5,8,9,10
    i am using this query but don't know how to start from MembeID=2
    select a.memberid, a.tradingid, a.refid, a.parentid, a.node, a.leftid, a.rightid, b.memberid from cd_members a, cd_members b
    where (a.leftid=b.memberid or a.rightid=b.memberid)

    Again, assuming that the number of levels is known, you can just do N self joins (note that I intentionally go one level further than necessary in this case
    SQL> ed
    Wrote file afiedt.buf
      1  with t
      2    as
      3   (
      4      select 1 person, 2 left, 3 right from dual union all
      5      select 2, 4, 5 from dual union all
      6      select 3, 6, 7 from dual union all
      7      select 4, 8, null from dual union all
      8      select 5, null, null from dual union all
      9      select 6, null, null from dual union all
    10      select 7, null, null from dual union all
    11      select 8, 9, 10 from dual union all
    12      select 9, null, null from dual union all
    13      select 10, null, null from dual
    14   )
    15   select t1.left, t1.right, t2.left, t2.right, t3.left, t3.right, t4.left, t
    4.right
    16     from t t1,
    17          t t2,
    18          t t3,
    19          t t4
    20    where t1.person = 2
    21      and t1.left = t2.person(+)
    22      and t2.left = t3.person(+)
    23*     and t3.left = t4.person(+)
    SQL> /
          LEFT      RIGHT       LEFT      RIGHT       LEFT      RIGHT       LEFT
         RIGHT
             4          5          8                     9         10Justin

  • Query to get data for current week+13

    Hi Friends,
    I have two tables
    BACKLOG_WEEK_AFTER_ATP (LE)
    BACKLOG_ATP_GT_CW (RE)
    ** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
    columns in table BACKLOG_WEEK_AFTER_ATP are:
    ITEM_NUMBER      QUANTITY
    1N5418                 20
    1N5614                 30
    1N5806SM               10
    1N5811                  0
    2PFF6                  60columns in table BACKLOG_ATP_GT_CW are:
    ITEM_NUMBER     QUANTITY        YEAR_WEEK
    1N5418                30        2011-WK30
    1N5418                 5        2011-WK31
    1N5614                30        2011-WK32
    1N5806SM              30        2011-WK33
    1N5811                20        2011-WK32
    3EX473K1              20        2011-WK30My report should look like
    ITEM_NUMBER    2011-WK30  2011-WK31  2011-WK32  2011-WK33  ...............till 13th week
    1N5418                10         -5         -5         -5  ...............till 13t week
    1N5614                30         30          0          0  ................till 13th week
    1N5806SM              10         10         10         20  ................till 13th week
    1N5811                 0          0         20         20  ................till 13th week
    2PFF6                 60         60         60         60  ................till 13th week
    3EX473K1              20         20         20         20  ................till 13th weekTo get this report i have these conditions to keep in mind.
    1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
    2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
    3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
    4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_number
    Thanks in advance.
    Regards

    Hello,
    If you don't need the PIVOT display, then this may help you :
    with le as
    (select '1N5418' item_number, 20 quantity from dual union all
    select '1N5614' item_number, 30 quantity from dual union all
    select '1N5806SM' item_number, 10 quantity from dual union all
    select '1N5811' item_number, 0 quantity from dual union all
    select '2PFF6' item_number, 60 quantity from dual ),
    re as
    (select '1N5418' item_number, 30 quantity, '2011-WK30' year_week from dual union all
    select '1N5418' item_number, 5 quantity, '2011-WK31' year_week from dual union all
    select '1N5614' item_number, 30 quantity, '2011-WK32' year_week from dual union all
    select '1N5806SM' item_number, 30 quantity, '2011-WK33' year_week from dual union all
    select '1N5811' item_number, 20 quantity, '2011-WK32' year_week from dual union all
    select '3EX473K1' item_number, 20 quantity, '2011-WK30' year_week from dual
    row_gen as (
    select item_number, calc_year_week,
           row_number() over(partition by item_number order by calc_year_week) rn
    from
        (select le.item_number from le union select item_number from re) item,
        (select to_char(level*7+sysdate,'YYYY-"WK"WW') calc_year_week from dual connect by level<=13) week)
    select item_number, calc_year_week, calc_qty
    from row_gen, le, re
    where row_gen.item_number=le.item_number(+)
    and row_gen.item_number=re.item_number(+)
    and row_gen.calc_year_week=re.year_week(+)
    model
    partition by (row_gen.item_number)
    dimension by (rn)
    measures (calc_year_week, year_week, le.quantity le_qty,re.quantity re_qty,0 calc_qty )
    rules  (
    calc_qty[1]  =
        case when re_qty[cv()] is null then le_qty[cv()]
        when le_qty[cv()] is null then re_qty[cv()]
        else  re_qty[cv()]-le_qty[cv()]
    end,     
    calc_qty[rn>1] order by rn =
        case when re_qty[cv()] is null then calc_qty[cv()-1]
        else re_qty[cv()] - calc_qty[cv()-1]
        end           )
    order by 1,2;I am not sure this is the simplest way to do it, but the results seem to match your example.
    Regards,
    Sylvie
    Edited by: Troll35 on Jul 19, 2011 3:08 PM

  • Query - to calculate data for previous year

    Hi forum,
    I have a requirement to calculate
    ' Total number of complaints received current month last year / total number of complaints last year)*current year total complaints target.'
    I have no of complaints as key figure.
    Any ideas how to do it in query designer.
    Thanks in advance.
    Regards,

    Hi,
    The requirement is user will select the month he wants to see the records.
    Based on input I have to calculate
    1. Records from same month previous year.
    2. Total records last year and
    3. Total records this year.
    I just need 1 input variable. Please explain in detail.
    Should i create 2 RKF for records of previous year and for records of this year.
    regards

  • Getting data in a query on last date of all previous months

    Dear Experts,
    I need your help with a query.
    I am trying to create a query which when run should pick the number of Open Sales Order on the last date of all the previous months from the start of company.
    I could create the query for fetching the required data on last day of the previous month, say today is 25th June 2014, so my query only fetches data for May 31st 2014 but I need data for all previous month, May 31st 2014, April 30th 2014, March 31st 2014 & so on.
    Please advise how to achieve this is SQL query.
    Thanks & regards,
    Nitin

    Hi,
    Try this:
    Select *
    from(
    SELECT T0.[DocNum] as #,t0.cardcode as C, t0.docdate
    FROM ORDR T0
    WHERE T0.[DocStatus] = 'o' and T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-1,0)),10) OR T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-2,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-3,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-4,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-5,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-6,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-7,0)),10)
    group by t0.cardcode,docdate,T0.[DocNum]) S
    pivot
    (count(#) for c in([cvt01],[cvt02],[cvt03],[cvt04],[cvt05],[cvt06],[cvt07],[cvt08],[cvt12])) P
    Note: Replace Cvt01,02...with your customer code.
    Thanks & Regards,
    Nagarajan

  • Getting all data for ESS Pers, Address, Bank & Family screen from SAP 4.7

    Hi,
    I need suggestions on a weird situation that we have in one of the ESS/MSS project.
    Following are the systems that client has: -
          1. Enterprise Portal 7.0
          2. SAP ECC 6.0  -
    > (all JCOs in ESS/MSS DCs point to this system.. so in short this system is mapped to Portal)
          3. SAP 4.7            -
    > (they are maintaining all data for Pers, Address, Bank & Family here)
          4. Infotype data for some infotypes (such as 0105) are synched between these two SAP systems.
    Now, there are some standard + Z fields added in infotypes in SAP4.7 system.
    To display Z- fields on Portal, here is what is already done: -
           - Z - RFC is written in SAP ECC6.0 that calls SAP 4.7 to get the data.
           - Standard ESS WD DCs (pers, addr, fam & bank)  are edited to call above RFC to display Z - fields.
    Now, Client wants : -
          - to display all data from SAP4.7 system on portal (standard as well as Z fields).
          - use ECC6.0 system as a middle box between EP & SAP4.7.. There will be RFCs written in SAP ECC6.0 system that will call FMs in SAP 4.7 and return the data
    Now, I don't understand how do I change standard WD DCs that has some standard ARFC models (HRXSS_PER*) written in them.
    Any ideas on how to proceed on these objectives?
    Please help.
    Thanks & Regards,
    Amey

    Hi Siddarth,
    Thanks for reply.
    So I have following alternatives ? : -
    Option-1 : Sync data between ECC6.0 and SAP4.7 for these Infotypes at regular intervals.
                        (No changes @ ABAP & WD code)
    Option-2 : Enhance standard RFCs (such as HRXSS_PER_READ_P0006_FR) in ECC6.0 system to get data from SAP4.7.
                        (Changes @ ABAP side only)
    Option-3 : Create custom RFCs in ECC6.0 and import them at WD side and set data in 'SelectedInfotype' node?
                        Then what do we do about standard RFC calls that are already present in these DCs?
                        I am a bit skeptical about this approach.
                        (lot of work in both ABAP & WD side)
    Can you please comment?

  • Query not displaying data

    Hello BW experts,
    I am having an issue where in my query is not displaying data even though there is data in the cube in production.
    But the same query is displaying data for the same selection in QA system.
    I have executed the tests in RSRT, but am not able to find anything.
    Please give your valuable inputs.
    Thanks in Advance
    BW learner

    Hi,
    Check the filters of your query, Is there any selection made where you are going to get only march data which is present in your production system.
    Check the info cube data by giving the same filter values as in the query definitation. If you didnt find any data, then your query is working fine.
    check this and let me know...
    if you find some data in the cube with the same filter selection, then give me the data flow of your query, which means, whether the query is executed on Multiprovider or cube?
    Regards,
    Patil.

  • Report to get data for current_week+1 till 13th week

    Hi Friends,
    I have two tables
    BACKLOG_WEEK_AFTER_ATP (LE)
    BACKLOG_ATP_GT_CW (RE)
    ** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
    columns in table BACKLOG_WEEK_AFTER_ATP are:
    ITEM_NUMBER      QUANTITY
    1N5418                 20
    1N5614                 30
    1N5806SM               10
    1N5811                  0
    2PFF6                  60columns in table BACKLOG_ATP_GT_CW are:
    ITEM_NUMBER     QUANTITY        YEAR_WEEK
    1N5418                30        2011-WK30
    1N5418                 5        2011-WK31
    1N5614                30        2011-WK32
    1N5806SM              30        2011-WK33
    1N5811                20        2011-WK32
    3EX473K1              20        2011-WK30My report should look like
    ITEM_NUMBER    2011-WK30  2011-WK31  2011-WK32  2011-WK33  ...............till 13th week
    1N5418                10         -5         -5         -5  ...............till 13t week
    1N5614                30         30          0          0  ................till 13th week
    1N5806SM              10         10         10         20  ................till 13th week
    1N5811                 0          0         20         20  ................till 13th week
    2PFF6                 60         60         60         60  ................till 13th week
    3EX473K1              20         20         20         20  ................till 13th weekTo get this report i have these conditions to keep in mind.
    1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
    2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
    3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
    4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_number
    Thanks in advance.
    Regards

    User_Apex wrote:
    Hi Friends,
    I have two tables
    BACKLOG_WEEK_AFTER_ATP (LE)
    BACKLOG_ATP_GT_CW (RE)
    ** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
    columns in table BACKLOG_WEEK_AFTER_ATP are:
    ITEM_NUMBER     QUANTITY
    1N5418                     20
    1N5614                     30
    1N5806SM                 10
    1N5811                       0
    2PFF6                        60columns in table BACKLOG_ATP_GT_CW are:
    ITEM_NUMBER     QUANTITY        YEAR_WEEK
    1N5418                     30                2011-WK30
    1N5418                     5                 2011-WK31
    1N5614                     30                2011-WK32
    1N5806SM                 30                2011-WK33
    1N5811                      20                2011-WK32
    3EX473K1                   20               2011-WK30My report should look like
    ITEM_NUMBER    2011-WK30  2011-WK31  2011-WK32  2011-WK33 ------ till 13th week
    1N5418                 10             -5                -5              -5     ...............till 13t week
    1N5614                 30             30               0                0     ................till 13th week
    1N5806SM              10            10              10              20    ................till 13th week
    1N5811                   0              0               20              20   ................till 13th week
    2PFF6                     60            60              60               60  ................till 13th week
    3EX473K1                20             20              20              20  ................till 13th weekTo get this report i have these conditions to keep in mind.
    1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
    2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
    3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
    4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_numberNot an APEX question: use {forum:id=75} forum.
    Query to get data for current week+13

  • Report of expiry dates for framework purchase orders

    Hi,
    In Standard SAP is there any report of expiry dates for framework purchase orders?
    Thanks & Br,
    Sandeep

    Hi
    There is no standard report available to display the expiry dates for frame work orders.You can get the details from table EKKO and field is KDATE or U have to go for development.
    regards
    Ramakrishna

  • Report to pull next call date for all equipment

    Hello,
    Is there a report in SAP to get all the next call date for all of our equipment within our company?
    Thanks

    hi
    in IP24 use the multiple selection to select all the equipment and in the selection screen under maintenance dates select maintenance status as W/ and execute system will display the next planned date for the equipment selected -But with all the call object which are on hold
    regards
    thyagarajan

  • I need a sample excel data for practicing Dashboards

    Hi Experts ,
                        I am new to SAP  BO  Dashboards. i need sample excel data for practicing and designing a dash boards . kindly help me to get sample excel files from any where .Please suggest me where i can get sample excel files.
    Regards
    Abhi

    Hi,
    open the samples in the dashboard which come with source data as excel.or search on google you will get the dashboard files with sample excel data.or try to create own sample data and use in dashboard for learning.
    Amit

  • Aggregated data for quatrter and year

    Hi,
         I have created a input schedule by using any by any template, I have account on row and time dimension on column, I input some test data for each month for some accounts, it work ok and I send the data successfully.
        I create another report using Evdre with the  row and column structure, I set both member set as "SELF AND DEP", however, when I run the report, I notice that the Quarter data and the year data is not correct, For example, Q1 data should the  summary of Jan,FEB and MAR, instead it show the same data as MAR, while the year data show the same data as Q4.
       Anybody know hot to fix this?
    Thanks

    I did another test as following:
    I copy a appshell from SAP standard AppShell, I generated some test data for each month using input schedule, then I build a evdre report, it work perfect,if i  choose PERIODIC, I get the quarter and year data summary the month or quarter, if I choose YTD, I get the year to date data,
    then I copy the my master data to  replace the orginal master data, I generated some test data, this time the report only show the YTD data no mater I choose PERIODC OR YTD for measure in CV.   This is verystrange.

Maybe you are looking for

  • How do I play movie in iTunes on my TV?

    I don't have Apple TV but in the past, I've been able to play a movie I made myself on my monitor that also is a TV (i.e., my Sony Trinitron TV). I tried out the video rental thing in iTunes and I canNOT get it to display on my TV monitor. Yes, I hav

  • Check Box checked

    I am developing a small program in VB 2008. In my application there is one MDI form its child forms. On MDI form ToolStrip there is one button "Save". In child Form "Child1" there one Panel "Panel1" in which 20 check box are there from "cb1 to cb20".

  • Where can I download Color Finesse and how I can install them with Premier Pro or After Affect ?

    I recently purchased master collection 5 DVD version. On DVD box I have three serial numbers: Master collection, Ppro/AE CS4 32 Bit and Color Finesse. I used Master collection serial to activate my product. I am having 64 bit os, so I did not use Ppr

  • Creation & Assignment of Cost Center?

    Hello Experts, I have done all the configuration in SAP HCM but I don't have any knowledge about Cost center. So please guide me how to create Cost Center? and with whom it should be assigned? Because at the time of hiring employee cost center is req

  • BBM Icon missing from my phone desktop

    Can somebody help me out. I cant find my BBM icon on my phone, I have made attempts to reinstal it but I will always get the response "application installed" I tried to uninstall but could not, as a result I have not been able to access BBM. Pls can