Precalculated Web Templates - Variants and Control Queries!!

Hi,
We are having some problems with precalculating a web template. 
Within the template there are multiple queries that need to be precalculated.  All of these queries are using a variable and control query to select a currency.  However, whenever we schedule it to precalculate it always cancels!! When we take the variant out we have no problems and it runs. 
Do you know if there are any problems running multipul queries from the same variant, or what the problem may be?
We are running on version 3b.
Any help would be gratfully received.

Hi Ashish,
Yes all of the variants have been maintained in the Reporting Agent.  Even if we just try it with one variant it still doesnt want to precalculate!!!
Any more help would be great.
Thanks
Abi

Similar Messages

  • Precalculated web templates,Its scheduling time&Routines built on Queries??

    Hi ALL,
    <b>In the same way, I want the way to find out the list of Precalculated web templates, its scheduling time & Routines built on the Queries using RSRT T-code.
    Can anyone let me know to find out the Query properties using RSRT if we dont have access to BEX Analyser etc.,</b>
    (As we have in RSRT for seeing List of Objects in Free Characteristics, Filters, Rows, Columns and also the exceptions, variables, conditions built etc.,)
    Will be waiting for Answers on this.
    Points will be rewarded for sure.

    If it is 3.X Web Templates you can use function module RZX2_OBJECT_DELETE
    populating I_T_PARAMS table with
    first OBJID field as the technical name of your template and
    second OBJTYPE field as constant 'HT'.
    you can add as many rows as you want.
    If it is 7.X Web templates you can use function module RSOBJS_DELETE
    populating I_S_PARAMS with
    first field OBJ_TYPE as 'BTMP',
    second filed OBJ_KEY as the technical name of your template
    this function module allows only one template to be deleted at a time
    If you are comfortable with ABAP, and if you have a list of all your 100 web template technical names,
    you can just write a program with a internal table containing the names of these templates and calling the above function modules in a loop.y passing one value at a time.
    Hope it helps!

  • Diff between Precalculated Value set and Precalculated web template

    Hi Friends
    Can any one tell the Diff between Precalculated Value set and Precalculated web template
    Where we will use these
    Thanks

    Hi,
    The Reporting Agent is a tool used to schedule reporting functions in the background.
    The following functions are available:
    &#9679;      Evaluating exceptions
    &#9679;      Printing queries
    &#9679;      Pre-calculating Web templates
    &#9679;      Pre-calculating characteristic variables of type pre-calculated value sets
    &#9679;      Pre-calculation of queries for Crystal reports
    go through,
    pre-calculated value sets
    [http://help.sap.com/saphelp_nw04s/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm]
    Pre calculating Web template:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/frameset.htm
    Basically when you have a Precalculated Template, the system first run a report (which has been scheduled) and read the data from there when you run your template. This can imrpove the performance respect to online read data.
    [http://help.sap.com/saphelp_nw04s/helpdata/en/6e/b5663a5fb46752e10000000a11402f/frameset.htm]
    [Pre calculated web template;
    Hope this helps...

  • Precalculated web template w/control query

    I create a precalculated web template with settings:
    1. Data
    2. HTML web pages
    3. Control query
    I scheduled the package. How do I access the views from control query in Web Template URL?

    Hi Raynald,
    1. When you marked "HTML web pages" then "Data" are calculated automatically.
    2. the html-pages can you see in RSRAPS.
    3. To started this page in IE:
    - see the index.htm
    - http://ipaddress:prot/sap/bw/BEx?sap-language=%20&bsplanguage=%20&CMD=LDOC&TEMPLATE_ID=ZQUERY&DATA_MODE=STATIC&filter=...
    Sven

  • Precalculated web template - how to use it

    Hello everybody,
    i need your advice on how to correctly use the feature of precalculated webtemplate.
    I have following situation:
    we have created a pretty compliacted web template, which must be optimized on performance.
    The rule should be: current month data should be available as precalculated webtemplate. people will access the web template with borwser (it will be not send via emial)
    Below my questions:
    1) How to call the precalclauted web template (if variable is part of report)
    I was playing around with this prcealculation fueature and got to the result that the only way to call a precalculated web template if we use variables, is to include the variable and variable value into the URL string
    Is this true?
    Any other ideas how to call a precalculated web template
    2) How to define flexibly the precalculation variant
    Right now I have define up to 22 variants for each month (for eachworking day of the month).
    For new month i have to define new variants.
    My idea is to have it flexible: define one variant for each day of the month. As the month changes, the variants should consist of new dates (for the new month). This should happen automatically. Maybe with ABAP program.
    Any idea how to do it?
    Maybe anyone has batter idea how to mange the precalculation for given dates
    TIA
    pawel

    hi Kavi,
    precalculated webtemplate can be said 'produce' query result first in the background, the 'calcuated' result stored in HTML format (statis), so will speed up report access without execute olap query/accessing database.
    the 'disadvantage' is no olap navigation.
    use via 'reporting agent'.
    there is specific pdf doc for precalculate webtempate in sdn forum, point you later.
    http://help.sap.com/saphelp_nw04s/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    simply wad can be said is editor for webtemplate.
    The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps.
    http://help.sap.com/saphelp_nw04s/helpdata/en/16/a6fe41b227096fe10000000a155106/frameset.htm 
    http://help.sap.com/saphelp_nw04s/helpdata/en/a9/71563c3f65b318e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm

  • PreCalculated  Web Templates

    Hallo,
    I recently had to setup some precalculated web templates to improve query response time for users. But I have some doubts which could not be addressed even after I referred to course materials which I used when attending BW course a year back.
    I'm not sure if you guys can answer these:
    1.How are web templates created by Reporting Agent assigned to users? Where is it stored? Is data displayed in HTML or in Excel but only if exported?
    2.Is it a must that all precalc webtemplates be run in backgnd?
    3.Does a Query Value in parameter Data_mode mean the various modes like 'STORED', 'HYBRID' etc? Are these also termed as Reserve variables?
    4.What is meant by the 'javascript functions' used in precalc web templates?
    5.What is a ‘New’ Data Mode Parameter? Can it be specified in the URL like 'STORED'?
    6.When Stored mode, where is the precalc data stored? Where is a Rep Agent storage? What format?
    7.Are all data_mode except new mode accessing precalc data in html option?
    8.What does a precalc batch run mean? A Scheduled run of Reporting Agent?
    9.How is control query defined?
    10. Is 'stored' mode precalc data stored in HTML option? Does this mean HTML format? Or every precalc is stored in html option? Can I say html option = html format?
    sincerely,
    Adette

    Let me try to answer some (answers next to questions).
    cheers,
    Ajay
    > 1.How are web templates created by Reporting Agent
    > assigned to users? Where is it stored? Is data
    > displayed in HTML or in Excel but only if exported?
    --: These are calculated by background jobs that you schedule as packages. These are stored in Reporting Agent Storage. You can think of it something akin to SPOOL. It is not a DB table or structured data store that you can access independently. Data is available in HTML.
    >            
    > 2.Is it a must that all precalc webtemplates be run
    > in backgnd?
    --: If you use data_mode = NEW, it will run online (ie read data in realtime). The purpose of precalc is to run it in background, that is why it is 'PreCalc'.
    > 3.Does a Query Value in parameter Data_mode mean the
    > various modes like 'STORED', 'HYBRID' etc? Are these
    > also termed as Reserve variables?
    --: Yes to the first part. Don't know if it is termed as reserve variable.
    >
    > 4.What is meant by the 'javascript functions' used in
    > precalc web templates?
    >
    > 5.What is a ‘New’ Data Mode Parameter? Can it be
    > specified in the URL like 'STORED'?
    --: READ can be specified in the URL. Its effect is to disregard any precalculated data and read the data afresh from DB. In this case, OLAP doesn't check the reporting agent storage area, it goes directly to DB to fetch the data from there.
    >             
    > 6.When Stored mode, where is the precalc data stored?
    > Where is a Rep Agent storage? What format?
    --> Reporting agent storage can be thought of something similar to SPOOL. It is 'unstructured data' as you would think. STORED mode (and other modes) is when you are executing the query. When you have run the package, the template o/p has been stored in the reporting agent storage area. The mode parameter in the URL only directs OLAP to read from (if it is specified STORED, it will read from RSA, if NEW it will read from DB and so on).
    >
    > 7.Are all data_mode except new mode accessing precalc
    > data in html option?
    --: Not exactly as I understand. See the details of DATA_MODE for other options.
    >
    > 8.What does a precalc batch run mean? A Scheduled run
    > of Reporting Agent?
    --: Yes. The precalc definition is just that. You need to then define a package and include your definition of precalc in it and then run this package.
    >             
    > 9.How is control query defined?
    --: Control query is another query whose output is to be used as input (if you have filters on same CHAR.. in main web template) . This query is defined independently as any other query, you include it as a predefined query in your template def.
    > 10. Is 'stored' mode precalc data stored in HTML
    > option? Does this mean HTML format? Or every precalc
    > is stored in html option? Can I say html option =
    > html format?
    --: You can say the precalc o/p is stored as HTML (not strictly true, you have two checkboxes to precalc data and HTML, normally you check both in which case your statement is true).
    >
    >
    >
    > sincerely,
    > Adette

  • Precalculated Web Template Usage Statistics

    Does anyone know if there are usage statistics stored for a web template that has been precalculated (HTML) through reporting agent? It is accessed through a URL with the DATA_MODE=STATIC querystring parameter added. The statistics are stored in RSDDSTAT when the reporting agent job runs, but not when a user requests the precalculated web template through the URL directly in a web browser. Are the usage statistics stored in another location, other than the RSDDSTAT table in this situation?

    Hello,
    We had the same problem and sorted out it but don´t using BW standard functionality. I added a image tag on all web template that reference to a .Net application. This application get Windows user from Internet Explorer and store statistics (user, time, webtemplate, filter options, etc) on a SQL Server Database. I don't finish the application frontend but we are getting good information directly of the database.
    Let me know if I could give you more details.

  • View previous precalculated web template

    Hi,
    I'm working with Reporting Agent, because I need Precalculated Web Templates in my portal.
    I need to access, not only, the last precalculated Web Template (i.e. this month), but also the others (previous months)!
    How can I view previous precalculated web template?
    Could anyone help me?!
    Thanks in Advanced
    Fede

    ... no, I'm not using download scheduler at the moment! (I have tryed to use it, but it doesn't load my .gif  and .css from /bw/Mime/Customer/Images/)
    In BW Reporting Agent there is Document Overview section, where I can see the history of my precalculated web templates, how could I access them?!
    thanks...

  • Read mode -- precalculated web templates

    Hello BW Experts,
    Why is read mode recommended for the Precalculated web templates ?
    what is the benefit of the read mode in this context..
    Thanks,
    BWer

    hi BWer,
    check this
    http://help.sap.com/saphelp_bw33/helpdata/en/a0/a48b3ba19dfe47e10000000a11402f/frameset.htm
    hope this helps.

  • Precalculated Web Template

    Hi,
    I'm working with Reporting Agent, because I need Precalculated Web Templates in my portal.
    I need to access, not only, the last precalculated Web Template (i.e. this month), but also the others (previous months)!
    How can I view previous precalculated web template?
    Could anyone help me?!
    Thanks in Advanced
    Fede

    Isn't there anyone with the same problem?!?
    In my portal, I need a list of link for each precalculated web template...
    Thanks in Advanced
    Fede

  • BEx Web Template (BTMP) and Web Template (TMPL)

    Hi,
    I found in BI7 Objects, there are BEx Web Template (BTMP) and Web Template (TMPL). what's the different between them? For the BEx Web Template (BTMP), i can find in Web Application designer.
    But for Web Template (TMPL), I cannot find them in Web Application designer. How can I edit them?
    for example, there is a standard Web Template (TMPL)  0tpli_0tct_mc01_q0111, where can I change it?
    Many Thanks
    Jonathan

    hello,
    TMPL is for 3.5 template and BTMP is for BI 7.0 templates. For opening 7.0 template you need to use BI 7.0 WAD not 3.5 WAD.
    you can open the standard template 0tpli_0tct_mc01_q0111 in WAD and then do save as to save it custom template.
    Then you can edit the custom template and make the changes.
    Make sure that the std. template is installed correctly.
    Regards,
    Dhanya

  • IMPORT_FORMAT_ERROR while precalculating web template

    Hello,
    A process chain failed in Precalculation for Web Template step with an error message -
    ABAP/4 processor: IMPORT_FORMAT_ERROR     
    The short dump analysis says -
    When attempting to IMPORT the object "XSTRING", there was a format error.            
    Unable to read an IMPORT dataset.                                                    
    The dataset may have been processed using SQL and is                                 
    thus no longer readable for the IMPORT.                                              
    The error occured while executing a method -
    000010   method IF_RSR_CACHE_BO~SET_DATA .                              
    000020     field-symbols:                                               
    000030       <l_data>                   type any,                       
    000040       <l_xstring>                type xstring.                   
    000050                                                                  
    000060     assign i_r_xstring->* to <l_xstring>.                        
    000070     assign p_r_data->*    to <l_data>.                           
    000080     import xstring to <l_data> from data buffer <l_xstring>.     
    >   endmethod.                                                                               
    Could anyone let me know when can we expect such an error? What is the cause behind it?
    Regards,
    Surekha

    closing as no replies
    I remember I used to repeat the process chain step whenever i got above error

  • Precalculation Web Template

    Which standard SAP web template should I use when testing the Precalculation server to distribute a workbook.
    RSPRECADMIN
    BW Excel Workbook Precalc Admin

    Hi,
    This is not possible for precalculated templates with precalculated data. As for precalculated HTML only normal drop-Downs are supported.
    But you can use hierarchies in your control-Query. But for navigation you would need Drop-Down-Boxes
    I would assume the best thing to boost performance is warm up the OLAP cache with the Reporting Agent.
    Heike

  • In which DB table standard Web Templates located and also HTML code

    Hi gurus,
    Please help me on locaton of Standard Web Templates in DB table and how can I see the HTML code in WAD. Thanks in advance and I will assign points.
    Kaveri

    Hi,
    check the following link :
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/54e487c277321ae10000000a422035/frameset.htm
    1. open the web application designer
    2. left side u'll be seeing the applications like Table, dropwdown box , check box etc
    3.usually u drag and drop the application from left to right side--> once u dropped it u'll see 3 tabs at the bottom in that one of the Tab is HTML just click on it, it will lead u to the coding part.

  • Web template variants

    Hi,
    i am pre-navegating a query cause a performance issue... the pre-navegation start all days at 7:00 am; so a program that change the value of variant will be nice, in which tables was stored the variant and his value?
    Thanks In Advance
    Best Regards
    Juan

    Hi,
    Check these following useful tables:
    Table Description
    RSZELTDIR Directory of all elements available in the system
    RSZELTTXT Language dependent descriptions of all elements
    RSZCOMPDIR  Directory of all reusable elements (components)
    RSZELTXREF Dependencies and relations of the elements
    RSZSELECT Selections (element type SEL)
    RSZRANGE Definitions for complex selections which are listed in RSZSELECT table
    RSZCALC Definitions for Formula Elements and Calculated Key Figures (elements FML, CKF)
    RSZGLOBV All variables (element type VAR)
    RSZELTPRIO Priority of elements collisions
    RSZELTATTR Attributes of a selection (element type ATR)
    RSZCEL Cells identification (element type CEL)
    RSZCOMPIC Assignment of components to an Info Provider
    RSZELTPROP Properties of the elements
    RSZCHANGES Last changes of elements
    if it is useful assign points
    Regards,
    Senthil

Maybe you are looking for

  • Can i move my library from one account to another...........

    I want to move my library to another account on the same computer, can i do that? I tried doing the export library then doing import library on the other account but it said that some of the songs couldnt be found, and the library icon came up but no

  • How to delete all data in a table

    What's the best way to delete all of the data from a table? I wan't to do a data wipe of our database to eliminate all of the test data we've been putting into it over the last few months. I've tried using: DELETE FROM TABLENAME; but killed SQL+ afte

  • Ipad2 built in speakers are not functioning ?

    My built in speakers are not working for applications, However, I still can get the sounds thru the headphones.. Knowing that in sounds settings I still can hear the ringtones thru the speakers ??!!! Is there any procedures to fix the built in speake

  • Windows authentication from an enterprise application

    Hi All, Does anyone has any idea how to go about implementing windows active directory authentication from an enterprise application.The requirement is that the users across a particular domain should be able to use the application by using their win

  • My iPad will not show e-mails

    Why does I pad not show mail