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

Similar Messages

  • Pre-calculated webtemplate problem

    Hi All,
    I've pre-calculated a webtemplate and am able to see the html pages containing data in Reporting agent by choosing the option 'Document Overview'. But when i execute the webtemplate in the browser, i get the following error
    "No precalculated data found for data provider DATAPROVIDER_1".
    The job for pre-calculation has beensuccessful. The URL looks something like this:-
    <b><i>http://ipaddress:port/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=WEBTEMPLATE_NAME&DATA_MODE=STORED</i></b>
    Could some one please help me out with this problem ? I want to use the pre-calculated webtemplate from the browser.
    Best Regards,
    Sanjay

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

  • Refresh Workbook on Pre-Calculation Server .

    Hi,
    I am using Pre-Calculation server to broadcast the workbook  through Email.
    But the workbook is not getting Automatically refresh on Pre-Calculation server.
    I had also done the setting for 'Refresh Workbook On Open' in workbook setting.
    Please help me to solve this issue.
    Thanks in Advance.
    Vaibhav

    Hi,
    Please check following notes.
    1027807 Workbook not refreshed properly, during precalculation
    1074272 Error in the precalculation server (read long text first)
    Regards,
    Amit

  • SAP BW Pre-calculation Server Not Working as Expected

    Hi All,
    It has already been 2 months since we have installed our pre-calculation servers. We have been bumping to issue with our server showing as "At Capacity" after a few runs of workbooks. Then we need to restart the service in order to resume the pre-calculation. Something really dumb is that any workbooks that failed during that time will not get pre-calculated again.
    This is really bugging me as every morning when I know, there is some broadcasting, then I need to start monitoring the queue, to see if the symptoms of only a few workbooks (usually 10 workbooks) being able to calculate before I need to restart the service.
    Please help as I am really in a dire situation.
    David Yee

    dk00111 wrote:
    Ah, I forgot to cast the correctAnswer as a double. Thanks, it works now! (disregard the username change)I sense you're still misunderstanding, so I decided to follow up.
    The issue isn't that you weren't casting your expression to a double before assigning to correctAnswer. That cast is implicit as an integer is automatically promoted to a double, since it is a widening conversion (see here).
    What you had before was like this:
    double d = 1 / 5;
    System.out.println(d); //0.0In this case, we have an integer divided by an integer, and so the result is (naturally!) an integer. Since 1 / 5 is truncated to 0, that's the result of the expression.
    "Casting to a double" would be this:
    d = (double)(1 / 5);
    System.out.println(d); //0.0But that's no different! The cast is pointless, as it happens anyway when you assign the result of the expression to d. 1 / 5 is still occurring with integer operands.
    Instead, based on the fact that it worked, I'm guessing what you did was this:
    d = (double)1 / 5;
    System.out.println(d); //0.2 That's not casting the result of (1 / 5), it's casting 1 to a double, and then dividing by 5. It's equivalent to this:
    d = ( (double) 1 ) / 5;Since now one of the operands is a double, the result of the expression is a double, so you get the expected 0.2.
    You could get the same result by doing this in your code:
    double correctAnswer = 1.0 / x;As the literal 1.0 is obviously not an integer, but a double, so x is promoted to a double and the division occurs on two doubles instead.

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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