Pre-calculating results of queries

Hello Gurus:
Please confirm if I use precalc of queries, then I guess the end user CANNOT drill down on the data right ?
I am planning to get the pre-calc results in Bex Analyzer (excel). We r still using BW 3.1.
Please suggest.
Thanks & Have a nice day ahead.

Hi,
i think if we can just have authorization for the query it will take care of security.
I too am not expert with portal so cant guide expertly.
What i will suggest is execute the report with particular selection -> save as bookmark -> copy the link and sent to users.
now if user is not authorized to the query he will not be able to execute the bookmark.
You need to try this option thou.
Regds,
Shashank

Similar Messages

  • 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

  • Incorrect workbook results using pre-calculation server

    Hi,
    I encounter problem running BW 3.5 workbook (Excel 2007) using pre-calculation server.  The results show incomplete data, mostly of the time missing characteristic values.  However, it works for one of the report.
    Appreciate sharing of experiences. Thanks.
    Regards,
    Chen

    Hi,
    Thanks for the suggestions.  I have tested with new workbooks inserted with new queries, and those are running OK manually. The workbook does not exceed 65k rows or 255 columns.
    I discovered one of the workbook showing correct results except for calculation using function %A, so I suspect there is missing setting in Excel 2007 that has caused the macro not working properly.
    Anything to share ?
    Regards,
    Chen

  • 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?

  • Is there a way to trace results of queries in components?

    This is loosely related to my unanswered question in this thread: Can I use multiline SQL commands in a query (within a component)?
    I am trying to run a sequence of queries in a component where results of one query are used as the entry parameters for the other query. However, the system does not behave as I expect, so I would like to trace it to find the flaw.
    I will post my queries here as well, even though I think they are not relevant to the reason of the query - but perhaps, there is a workaround.
    Q1:
    <tr>
         <td>QGetParentLevel</td>
         <td> WITH tree AS (select dCollectionId, CASE WHEN level > 1 then dCollectionQuota END AS EFFECTIVE_QUOTA, dParentCollectionId from collections start with dCollectionId = ? connect by nocycle dCollectionId = prior dParentCollectionId) SELECT max(level) AS PARENTLEVEL from tree t start with dCollectionId = ? connect by dCollectionId = prior dParentCollectionId and prior EFFECTIVE_QUOTA IS NULL
         </td>
         <td>dCollectionIdStored varchar
              dCollectionIdStored varchar</td>
    </tr>
    I added a new column to the table Collections. This column is called dCollectionQuota.
    This query takes one entry parameter, dCollectionId of a folder, and returns LEVEL of the parent folder whose quota is not NULL
    Q2:
    <tr>
         <td>QGetParentId</td>
         <td> WITH tree AS (select dCollectionId, dCollectionQuota, CASE WHEN level > 1 then dCollectionQuota END AS EFFECTIVE_QUOTA, dParentCollectionId from collections start with dCollectionId = ? connect by nocycle dCollectionId = prior dParentCollectionId) SELECT dCollectionId AS FOUNDPARENTID, dCollectionQuota as PARENTQUOTA from tree t where level = ? start with dCollectionId = ? connect by dCollectionId = prior dParentCollectionId and prior EFFECTIVE_QUOTA IS NULL
         </td>
         <td>dCollectionIdStored varchar
              PARENTLEVEL int
              dCollectionIdStored varchar</td>
    </tr>
    This query searches the same recursive tree as Q1. Only this time it returns dCollectionId and dCollectionQuota of the parent item - it will be the root or the first parent with a set quota.
    I use the PARENTLEVEL parameter found in the first query - I believe these two queries could be united into one - I just need the node with max level
    Q3:
    <tr>
         <td>QParentFolderUsedSpace</td>
         <td>WITH tree AS (select dCollectionId, case when level>1 then dCollectionQuota end as effective_quota from collections start with dCollectionId = ? connect by dParentCollectionId = prior dCollectionId and (prior dCollectionQuota IS NULL or level = 2)) SELECT SUM(NVL(t.effective_quota, NVL(docs.dFileSize, 0))) as PARENTQUOTABLOCKED from tree t LEFT OUTER JOIN DOCMETA meta ON t.dCollectionId = meta.xCollectionId and t.effective_quota IS NULL LEFT OUTER JOIN DOCUMENTS docs ON meta.dId = docs.dId and docs.dIsPrimary = 1 LEFT OUTER JOIN REVISIONS rev ON rev.dId = docs.dId</td>
         <td>FOUNDPARENTID int</td>
    </tr>
    This is a quite complex query which takes the parameter FOUNDPARENTID from the query 2. Its logic is to calculate portion of the quota already used (either by assignment of quotas to subfolders or storing documents to folders with no quota assigned).
    Q4:
    <tr>
         <td>QFolderQuota</td>
         <td>WITH tree AS (select dCollectionId, case when level>1 then dCollectionQuota end as effective_quota from collections start with dCollectionId = ? connect by dParentCollectionId = prior dCollectionId and (prior dCollectionQuota IS NULL or level = 2)) SELECT SUM(NVL(t.effective_quota, NVL(docs.dFileSize, 0))) as TOTALDOCUMENTSIZE from tree t LEFT OUTER JOIN DOCMETA meta ON t.dCollectionId = meta.xCollectionId and t.effective_quota IS NULL LEFT OUTER JOIN DOCUMENTS docs ON meta.dId = docs.dId and docs.dIsPrimary = 1 LEFT OUTER JOIN REVISIONS rev ON rev.dId = docs.dId</td>
         <td>dCollectionId int</td>
    </tr>
    This is the same query as Q3, only for the starting folder.
    Q5:
    <tr>
         <td>QGetMaxPossibleQuota</td>
         <td>select ? - ? + ? as MAXPOSSIBLEQUOTA from DUAL</td>
         <td>PARENTQUOTA int
              PARENTQUOTABLOCKED int
              TOTALDOCUMENTSIZE int
         </td>
    </tr>
    This query combines results from Q2, Q3 and Q4, so all the parameters PARENTQUOTA, PARENTQUOTABLOCKED, and TOTALDOCUMENTSIZE are used.
    Q6:
    <tr>
         <td>QValidateMaxQuota</td>
         <td>select * from dual where ? - ? < 0</td>
         <td>MAXPOSSIBLEQUOTA int
              dCollectionQuotaEntry varchar
         </td>
    </tr>
    The final query is the check if entered new quota is below the calculated maximum.

    Jason,
    I was thinking about something similar - though, do it in Java. However, both ways seems to me a bit overkill. Fortunately, I was advised another way on a different forum:
    turn on "systemdatabase" tracing from the System Audit Information page (http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/troubleshooting_10en.pdf manual for more details)
    This tracks all the queries, so I'm able to see results of queries in entries of the succeeding ones.
    I prefer this way, because it requires no changes in the component.
    Yet, thanks for your effort.
    J.

  • 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

  • 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

  • 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

  • Broadcasting and pre-calculated Excel workbook

    Hello,
    Is it possible to pre-calculate an Excel workbook using the Broadcast functionality of BW 3.5 and save the calculated workbook on the BW server itself. We don't want to send the workbook via e-mail or publish it on the portal. We just want the users to open the pre-calculated workbook from the BW server itself.
    Many thanks.
    François.

    hi,
    Using the BEx Broadcaster, you can precalculate and distribute Web templates, queries and workbooks. You can distribute these reporting objects either in precalculated form or as an online link. Your distribution options include sending by e-mail or exporting into the Enterprise Portal.
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/220c40ac368f5ce10000000a155106/frameset.htm
    We just want the users to open the pre-calculated workbook from the BW server itself.
    As far as i know,it's not possible(not sure), i haven't done that.. let's see a reply from other BW experts
    if it helps assign points
    thanks,
    senthil kumar

  • 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.

  • 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.

  • Pre-Calculation

    Hi,
    We are on BI7, SP-17. Can you please let me know the latest version of Pre-Calculation server. We need to broadcast the workbooks and we are still using BW3.5 queries/workbooks, even though we are on BI7. Do we have different Pre-Calculation servers in BI7 for BW3.X front end and BI7 front end objects!
    Please suggest.
    Thanks,
    Ram.

    Hi Ram,
    The precalculation server remains same either for 3.X or 7.x queries/workbooks.Check whether pre-calculation server is installed in ur server using RSPRECADMIN.If its green it is installed.In BI7.0 using Bex Broaadcaster u can precaluclate queries,web templates and workbooks.
    Chandu

  • 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

  • Warning 'Calculating result as....' was not executed

    Hi all,
    At the time of executing a report, after giving the inputs for variables I am getting an warning messager: Warning 'Calculating result as....' was not executed'.
    Kindly advise.
    Thank you,
    Praveen

    Hi
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9794b990-0201-0010-2cb4-962bff1f0d19
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ceb827-e6c1-2b10-4b94-de298fccade3
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    www.scribd.com/doc/6412427/How-Tobuild-BEx-Analyzer-Workbooks-for-Planning-With-Excel-Design-Objects

  • 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

Maybe you are looking for