How to Call Precalculated Web Template

Hi.Buddies:
    I created an iView of BW query in portal,and have arranged pre-
calculation process.when I call the iview in portal i hide the
variables(directly to the result).
    I set a button in the Web Application to change period(Selection parameter) which is like this: <a href="http://mybw.mydomain.com/sap/bw/bw?cmd=...">Change period</a>.But then it seems that the system rerun the query other then reading from the precalculated HTML document.
    How should I set the URL so that the system can read directly from the HTML precalculate result?
Best Regards
Martin Xie

Hi Aihua,
How about if you make pre-calculated web report using reporting agent  ??
If i'm not mistaken, w/ reporting agent, you can upload the web file to some path in pc/server.
Then you can refer your iView to that path.
Hopefully it can helps you a lot.
Regards,
Niel
(Thanks a lot for any points you choose to assign).

Similar Messages

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

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

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

  • 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

  • How to create the web template

    Hi BW Experts,
       how to create the web template.....!
       I just want to know what is the use of Web template. i want to display the report
    in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
    Thanks
    shahina..!

    Hiu2026
    Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
    Go to All programs and select your web application designer
    Select the button to create a new page in WAD
    Select the chart and place in the layout
    Next goto Data provider Target and select your query
    Give your report name in the given data provider screen
    Select your query in History/find/Favourites/Infoareas button
    Select your query in this screen and click OPEN
    Now we can see the data provider is assigned to the chart.
    To edit the chart you have to right click on the chart
    After right click on it we will find another screen where we can edit all the settings
    In this screen we can find NEXT click button to change our settings
    In this screen we can state the tasks (Title, units, values, range)
    In this screen we can change our background /validity/color
    In this screen we can add values to the chart
    In this screen we can add validity/positions/order/axis types to the chart
    In this screen we can change the global settings/and overview of the chart.
    This screen shows that we have customized the chart successfully
    After successful creation of the chart we have to save the chart
    Save your chart in your favorites by giving the description and technical name in the given block.
    Now execute your WAD by selecting the execute button
    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. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    Web Application Designer for Beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    Web Application Solutions: A Designer's Guide
    http://www.lukew.com/resources/webapplicationsolutions.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    Feautures of WAD in 7.0
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6

  • How To Call a Broadcasting Template within an ABAP program

    I was wondering if anyone knew how to call the Broadcast template via an ABAP program so it will execute?  The scenario that I have is we are doing validations via BW.  We put the data (for conversion reasons) through validation rules and then load a data target.  From this, there are 2 situations that could occur:
    1) There are errors
    2) There are not any errors
    If #1 is true, then I would like to execute the Query Broadcasting Template that I have created.  If #2 is true, then I would like to execute another process via the ABAP program.  In the past, I was successful using exception reporting via reporting agent, since I was able to call that program but the report did not look good at all.  Please let me know if there is a program that I could call in order to execute this broadcast that I have set up.
    Best Regards,
    Tim

    Hello,
    although this is an old threat, but do you have any hints on how to dynamically change the template when broadcasting?
    kind regards
    Murat

  • How to use a Web Template with queries from multiple BW Systems?

    Hi all,
    can anybody help me how to use a Web Template with queries (DATA PROVIDER)in it from multiple BW Systems?
    Thanks in advance, best regards
    Frank

    Great! Thanks for the quick response.
    Have you tried this for XMLA datasources created within the EP system also?
    i.e use Web Analyzer to create a view from the XMLA source and use that view within WAD?
    Thanks.

  • How to call a Web Api from from a Visual webpart code behind?

    Hi,
    I am trying to create a visual web part in sharepoint 2013 with data received from another Web API.
    I followed the below steps.
    1. Created a Visual Web part.
    2. In the code behind(.cs) file I wrote the following code.
     async private void GetResult()
                using (var client = new HttpClient())
                    client.BaseAddress = new Uri("http://localhost:8080/");
                    client.DefaultRequestHeaders.Accept.Clear();
                    client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
                    var response = await client.GetAsync("api/Tfs/OpenEnquiriesCount");
                    var content = response.Content;
    3. When I run the application, I get security exception in the line await
    client.GetAsync()
    What is the way to achieve this? How to call a web api from share point visual web part?
    Thank you in advance.

    Hi,
    Thanks for your sharing.
    Cheers,
    Jason
    Jason Guo
    TechNet Community Support

  • How to call a web Service from Oracle Applications?

    Hi friends,
    I've posted this question on OA Framework forum , but may be it's more appropiated put it here. Sorry for do it again:
    It's about how to call a web service from a Form or a .sql (via Request) in Oracle Applications:
    Could you please explain here the detailed steps (with code example if it's possible) to invoke a webservice from Oracle Applications?.. how did yo do it...?
    I've read differents posts here and the 33097.1 metalink note (by the way, the first recommended link in this note is broken...), but there are lots of theorical concepts and no real examples to see how/from where invoke the WS
    I'll have to call one webservice (I suppose the customer will give me the interface implementation)...but I've never did it with Applications so that's why I ask you for all the detailed steps...
    I work with Forms 6i, Apps 11.5.10.2 and DB 9.2.0.7.
    Thanks a lot.
    Jose.

    Hello Jose,
    I did using java program to call BPEL web services in 11.5.10.
    I pasted below the metalink note for your reference (Note:250964.1)
    The idea is first write a java program to call the webservice (in my case it is calling an BPEL web service, so this may not help directly), test it.
    Then port the java program as specified in the note, so that you could call your web service through concurrent manager scheduler.
    Is this ok?
    Thanks
    Arun.
    ======================================================
    Checked for relevance on 25-Apr-2007
    Application Install - Version: 11.5.8 to 11.5.10
    Goal
    ====
    How to register and create a Java concurrent program for Oracle Applications
    Release 11i
    Solution
    ========
    1. Create your Java Concurrent Program (JCP) , using a text editor.
    /*===========================================================================+
    | Concurrent Processing Sample Code |
    | |
    | FILENAME |
    | Hello.java |
    | |
    | DESCRIPTION |
    | Sample Java concurrent program |
    | About the simplest possible program, just writes a message to the |
    | logfile and output file. |
    | |
    | HISTORY |
    | $Log$ |
    | |
    +===========================================================================*/
    package oracle.apps.fnd.cp.sample;
    import oracle.apps.fnd.cp.request.*;
    public class Hello implements JavaConcurrentProgram {
    public static final String RCS_ID = "$Header$";
    public void runProgram(CpContext ctx) {
    ctx.getLogFile().writeln("-- Hello World! --", 0);
    ctx.getOutFile().writeln("-- Hello World! --");
    ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
    =======================================
    End Sample
    =======================================
    2. Create a sample directory under $JAVA_TOP:
    $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
    3. Copy Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample:
    $ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
    4. Compile your java program:
    javac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java
    5. Test at the command line with following syntax:
    jre -Ddbcfile=$FND_TOP/secure/your_dbc_file.dbc \
    -Drequest.outfile=./outfile \
    oracle.apps.fnd.cp.request.Run \
    oracle.apps.fnd.cp.sample.Hello
    6. Register your custom java concurrent program with Oracle Applications.
    a. Navigate: Concurrent > Program > Executable
    b. Enter details into the form
    Executable: JCPHELLO
    Shortname: JCPHELLO
    Application: Application Object Library
    Execution Method: Java Concurrent Program
    Execution File Name: Hello (Insert a name that does not contain space or period)
    Execution File Path: oracle.apps.fnd.cp.sample
    c. Save the details
    d. Navigate: Concurrent > Program > Define
    e. Enter details into the form
    Program Name: JCPHELLO
    Program Shortname: JCPHELLO
    Application: Application Object Library
    Executable: Choose JCPHELLO from LOV
    Executable Options :
    f. Save the details
    7. Add this new concurrent request to your responsibility request group.
    a. Navigate > Security > Responsiblity > Request
    b. Query System Administrator
    c. Add new row and choose TestJava
    d. Save the changes.
    8. Run your new Hello Java Concurrent Program
    Navigate: Request > Run
    References
    ~~~~~~~~~~~
    Oracle Applications Developers Manual for Release 11i A75545-01
    ====================================================

  • How to create a web template with company logo

    how to create a web template with company logo . can any one help me with the steps. or any notes. thnaks in advance .
    2. i have 25000 articles and client want to have a selection feild to see top article ex:50,10,20, 100, 1000 etc . same for bottom articles . plz let me know how to do it . thanks for replay . i am new bw so plz .
    thanks to you all

    Hi
    1) Please read
    http://help.sap.com/saphelp_nw04/helpdata/en/4a/c8353c51aab32be10000000a114084/frameset.htm
    2) Create a condition in the Query Designer: Use a formula variable
    See http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/frameset.htm
    Heike

  • How to transport a web template?

    Can anyone please explain to me how to transport a web template which contains many web items (include 10 queries)?
    After I collected this web template, I got error message when I execute it in Q.
    Thanks for your help!

    That's what I did. I transported two web templates before (contain 1 query only) and they all worked. But just not this new one. Here is the error message:
    500 Internal Server Error
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail was:
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
    Details: Full Exception Chain
    Messages
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    ABEND: System error in program SAPLRZI0 and form RSZ_FORM_AND_VAR_TAB_FILL-02- (see long text)

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

Maybe you are looking for

  • 5th Generation Ipod voice memo volume low

    My voice memos are really low. Is there an adjustment I can make. Were working fine for quite a while but now Low. Software is up to date.

  • Downloaded photoshop with CC on iMac, it doen't open due to" technical problem"?

    Installed CC, payed for Photoshop, downloaded the programme, did update and when I want to start working it says:" impossible to initialise PS error in the program". Deinstalled the programme and downloaded everything again: same result. I work on a

  • Is Socket threads safe?

    I use InputStream in a Thread and OutputStream in another Thread,the InputStream and the OutputStream is get from same Socket Object.Has any problem? thanks.

  • JDBC form wizard missing?

    Hi there, I downloaded Sun Studio Ent 8.1, but i found there is no JDBC form wizard and also in the palette the Bean is empty no component in there. Am i missing something? I follow the tutorial of Netbeans available from the net because i thought th

  • Performance Update 1.0 Problem?

    Since performance update 1.0, my macbook pro (15.4" Mid 2009 3.06 Ghz, 500Gb), has been experiencing stalls more frequently than before, and recently just crashed. I checked the Terminal as I had a software build running only to discover that none of