Pre-calculated query?

Hello BW Experts,
how can we do a pre-calculated query? Not a pre-calculated web-template. Not broadcasting after the data is loaded into cube. Just, pre-calculated query. When the user clicks the query in bex. it should show the results immedietly..
Thanks,
BWer

Your best way is to use cache.  You can use the reporting agent background printing to act like you are going to print the query, but it will run it and if the users run the query for the same selection, they will receive the query that accesses the cache.  You can also setup the variables to be changeable during navigation and if they are in the resultset, the users will be able to use cache.  There is a document about this on BW Expert.  Search the forum and there is a post with a link. 
Thanks,
Jeff

Similar Messages

  • The item Hierarchical Context Menu does not support pre-calculation

    Hello,
    Trying to download pre-calculated web templates via RepAgent, using the Hierarchical Context Menu feature within the template (populated via control query with Hierarchy) the system returned the following message upon file download:
    "The item Hierarchical Context Menu does not support pre-calculation"
    As a result the Hierarchical Context Menu is not displayed on the downloaded html-files. Navigation not possible.
    Could not find any constraints documented in the online help, at this point.
    Question: is there something missing on our setup or is this really out of scope for precalculation with navigation?
    Any other experiences on that or shall we open OSS-message?
    Best regards,
    Markus
    (We are on BW3.1)

    Hi,
    we have the same problem. Does anybody have any hint or workaround? Is there a solution for this in 3.5 or any upcoming version.
    Any input is appreciated.
    Thanks,
    Stefan

  • Using pre-calculated web template

    I have a query that takes 20 seconds to load on our web portal.  I've done everything imaginable to optimize performance.  Finally I'm experimenting with pre-calculating the query.  I've created the reporting agent setting, set the calculate parameter to 'HTML for Web Browser', added this to a schedule and successfully ran the schedule.
    Now when I run the corresponding web template on the web it still seems to take the same 20 seconds.  I would think all it has to load now is a static HTML page so it should take 1 or 2 seconds.  How do I know if it's really loading the pre-calculated version or the normal one?  I'm not sure anything is really happening.  Maybe I missed something?  Anybody have experience with this?
    Thanks,
    -Patrick

    I think I figured it out.  I had to add a parameter to my url that was UPDATE_MODE=STORED

  • Pre-calculated webtemplate issue

    Hi All,
    I've pre-calculated a webtemplate with the DATA_MODE = STORED.
    When i execute the webtemplate the first time in the browser,
    data is displayed very fast. But when i click on the next button
    to view the next set of records, it takes a very long time.
    Looks like when the query is executed the first time, precalculated
    data is retrieved. But, when the next set of records are requested,
    the current data is being retrieved.
    Can some please suggest how to tackle this problem ?
    In the webtemplate i have the setting <param name="DATA_MODE" value="STORED"/>
    Thanks in advance,
    sanjay

    Hi,
    I am having the same problem...
    Any help would be appreciated...
    Thanks

  • Pre calculated value set

    Hi experts,
    pre-calculated value sets can improve query performance, if yes pls send me if there is any document to create precalculated value set.
    points will assing.
    regards
    manoj

    Hi,
    check the below link.
    http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm
    hope it helps...
    regards,
    raju

  • Pre Calculation web template in BI7 very urgest

    Hi Experts
    Could you please let me know how to do pre calculation queries/web template from bex query designer,WAD, to PORTAL.
    Please provide me step by step details as i do not know anything about pre calculation.
    Thanks & Regards
    Satya

    Hi Satya,
    I think everything you need is captured in the following location:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/bf/220c40ac368f5ce10000000a155106/frameset.htm
    Check, play, build and run your desired broadcast scenario.
    Regards, Patrick Rieken.

  • Web Template Pre Calculation

    Hi,
    We have six chart items in one web template. Out of these six charts we want to run pre calculation for only two Charts as these are quite slow. Is there any way to achieve this.
    can control query or variable help us in this matter?
    Please advise.
    regards,
    Jeet

    You cannot select individual data providers to be pre-calculated, the whole template will have to be cached.
    Work around is to have the slow charts in a seperate frame and use iFrames to integrate it with the main template which has the rest 4 charts.
    The best soltn is to pre-calculate the whole template..

  • How to delete the pre calculation queues

    Hi All,
    There are so many Pre Calculation queues in RSPRECADMIN ->Display Current queue. But there are no corresponding jobs running in SM37. Please suggest me how to clear these queues all at once.
    Also in the OS of the corresponding Pre Calulation Server, I could see lot of workbook excel running in Task Manager.
    Please also suggest how to end these excels.
    Thanks and Regards,
    Subashree

    On RSPRECADMIN transaction, you will see the button Display Current Queue.
    Then, you will see the following:
    > Queue Overview of Open Precalculations
    > Queue Overview of Current Precalculations
    > Queue Overview of Proccessed Error-Free Precalculations
    To clear all queues, press  F7.
    B.R.
    Edwarde John

  • Send email with pre-calculated Excel

    Hello everybody.
    I'm trying to send an email with a pre-calculated Excel worksheet, generated by an Agent Reporting job.
    But, I don't know how to attach the last generated XLS file, using ABAP.
    We have BW vers. 3.1 so I can't use Information Broadcasting (it would be the perfect solution).
    I've tried to send the pre-calculated results as HTML (following a very good document found in this forum), but the results didn't satisfied the users. I've already read the document about sending a workbook as attachment, but my problem is I don't know where to get the Excel generated by Agent Reporting.
    Can someone help me?
    Thanks in advance.
    Gabriele
    P.S.: This is my first post. I hope my next posts will be for helping someone, not only asking for help...

    Check this link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7f601a65-0a01-0010-16a5-c369f2a9fa87
    Save it as a PDF file before opening it.
    Hope it helps.
    Regards

  • Key figure with pre-calculated aggregation

    Hello,
    I have to model a key figure with a pre-calculated aggregation, that is, soruce flat files contain explicit values for months, quarters, halfyears and years. The key figure is a percentage (service quality) and the corresponding company department provides me with results for all aggregation levels.
    I think that this case can be modeled with one InfoCube for each aggregation level and a Multicube but I have to create a high number of InfoCubes (aprox. 180).
    I can get the formula that department uses, but it's possible on BW to change standard aggregation (SUM, MAX, MIN)?
    Thanks in advance and regards,
    Alberto Garcia.

    Hi Alberto,
    One of the ways of doing it could be -
    add another field (char) to your cube called at "value Type" & assign different values to it depending upon the time value.
    say Monthly  - value type 1
        Querter  - value type 2
    & so on ...
    keep filling the same key figure.
    at the time of reporting restrict your key figure accordingly with the value type. ( say need only montly key figure value restrict value type to "1")
    hope it helps.
    VC

  • Validate signature with pre-calculated digest

    Hello to all!
    I'm trying to build a system that signs and validates signatures on large files.
    To get a signature i used a pre-calculated digest and was easy, but for validating the same signature i can't discover how to give the pre-calculated digest.
    I can't use the normal validate because the java api uses the "JavaUtils.getBytesFromStream" method and try to get all the file to memory.
    can someone indicate the solution to this (or explain why don't had a solution, if it is the case)?

    Hello!
    smullan wrote:
    I assume you have tried returning an OctetStreamData wrapped around an InputStream? Yes. I let here the code of the URIDereferencer i'm using.
    public class ConstrulinkURIDereferencer implements URIDereferencer {
         private String filesPath;
         private URIDereferencer defaultDereferencer = null;
         public ConstrulinkURIDereferencer(String filesPath) {
              this.filesPath = filesPath;
         public void setURIDereferencer(URIDereferencer defaultDereferencer) {
              this.defaultDereferencer = defaultDereferencer;
         @Override
         public Data dereference(URIReference uriReference, XMLCryptoContext context)
                   throws URIReferenceException {
              try {
                   String filename = uriReference.getURI();
                   File f = new File(filesPath+filename);
                   if (!f.exists() && defaultDereferencer!=null) {
                        return defaultDereferencer.dereference(uriReference, context);
                   } else {
                        return new OctetStreamData(new FileInputStream(filesPath+filename));
              } catch (FileNotFoundException e) {
                   throw new URIReferenceException(e);
    }I try to get a file, if that fails i send the request for dereference to the deafult URIDereferencer (the one that was there before).
    What i got from seeing the code at Koders the problem was that when we call the method JavaUtils.getBytesFromStream (you can see the stacktrace above) it will read all the bytes of the stream. I didn't see if these bytes are used for something else than the digest.
    >
    It sounds like it could be a bug. I will try coming up with a sample and debug it further. If you are able to, please also post your code here or send it to [email protected].
    I'll try monday to send you a executable code.
    Thanks

  • Difference between Pre-Calculated Queries in BI 7.0 and BW 3.5

    Hi
    Can somebody tell me the difference between pre-calculated queries (web templates) in BI 7.0 and BW 3.5? Is there any difference in Reporting Agent functionality in creating or scheduling the queries?
    Thanks in advance.

    hi kashi
    u could have searched forum with u r question
    anyway go thru following links
    <b>/community [original link is broken]
    Difference in Delta between BW 3.5 and BI 7.0
    /message/2927917#2927917 [original link is broken]
    How much difference between BW 3.5 and BI 7.0?

  • How to get pre-calculated tax detail before order entry.

    Hello,
    Is there any API to get TAX detail that applied on order before order book.
    We need pre-calculated TAX amount before order entry and that we have to pass to customer when they search for item on website.
    Please advice if have any script available.
    Regards,
    Akil.

    Hi Akil,
    no, we have not found a "standard" solution. We have made some customization that calculates some "estimated Tax" and prints in on the Order Acknowledgment. But nothing within the system itself, unfortunately.
    Do you get an estimated Tax calculated when you book your order? If yes, then perhaps you should think about changing your process and get the orders booked?
    regards,
    David.

  • Where can we get the data for pre calculated reports

    Hi,
    i want to see the data for pre calculated reports (Reporting agent)
    where can we get the data for pre calculated reports
    Thanks & Regards,
    Shaliny. M

    Dear,
    This feature of precalculating reports is to enhance the report performance. You will need to schedule this periodically, so that the report is fetched and cached. This allows faster retrieval of report data. Plz. understand that, this scheduling needs to run after every data load in the corresponding cube, so that, the latest data is cached, else the report data will be obsolete.
    Thanks

  • CS5: 16 Bit, File - Save As JPEG - No Size Pre-Calculation

    I just want to say thanks again to the engineers at Adobe for finally adding the ability to save a 16 bit per channel file as a JPEG without first converting to 8 bit mode.  It will save me a bunch of future "aw dang" moments when I realize I've forgotten to go back in the history after saving to restore my file to 16 bits per channel.
    I've noticed the pre-calculation of the JPEG file size estimate, however, is not correct when saving from a 16 bit file...  Usually it just shows "--" though I believe I've seen it say 0 kb at one time or another (could be wrong)...  I assume this is because the size estimate algorithm doesn't know about 16 bit data.  It seems to work as usual for 8 bit data.
    Is this a well-known glitch and can we expect a fix (Chris)?  It's a minor annoyance but as I often save JPEGs for forums that have size limitations it would be nice to have back.
    -Noel

    Yep, known bug

Maybe you are looking for

  • How can I disable an email that is no longer in use in ical

    Firstly, I do not have it on my card or on my previous recipients list and I can't find it anywhere in my system. (its an email from an old workplace). It is no where to be found. I keep getting a failed email message every time I try to set up a not

  • SSL problems with "non-secure elements"

    hello all We have made a WEB application based on Tomcat and Apache Struts. We have setup with SSL. SSL goes to Apache HTTP server, which speaks with Tomcat via apj13. The problem is that IE sometimes shows error message "This page contains both secu

  • How to shorten the combobox filling time - 12 seconds

    I have a user defined form with 20 comboboxes whose valid values are filled from different tables via Recordset. Recordset queries are quite simple, they just list the code and description of the values in each table. But it takes approximately 12 se

  • Can I make a bootable DVD from the Mavericks download. I would like to wipe my iMac and start over.

    Can I make a bootable DVD from the app store download of Mavericks. I wish to wipe my iMac clean and start over thanks in anticipation

  • Editer le nom des axes d'un graphe

    Bonjours, J'aimerais laisser la possibilité à un utilisateur de changer manuellement le nom des axes d'un graphe XY sous labview. En effet j'ai remarquer qu'il étais possible de changer les échelle (min et max) simplement en cliquant dessus et en tap