Get Web Template ID

Hello,
I have a customer exit variable in a query which is embedded in a web template. When we execute the web template, the variable screen pops up where I enter a manual input variable value.
In the customer exit, for I_STEP  = 2, I need the web template URL on the selection screen. The reason is, I have to get web template ID. Is there a way to achieve this?
Thanks.

Hi,
I guess you can only get the ID of the Query with variable I_S_RKB1D-COMPID
Pascal

Similar Messages

  • Get Web Template Description

    Hi, does anyone know how to get the Web Template Description using ABAP with only the Web Template ID?
    Thanks!

    Found table RSZWBTMPHEADTXT

  • Web Template as web Item

    Hi Experts,
    Can we still use Web templates as an Web Item or not.
    I am not getting Web Template as a WebItem in my Item list.At present I am in BW30B.
    Please suggest if something needs to be done.
    I need this for defining Header and Footer for the Web Template.
    Thanks in advance.
    Regards
    Lalit

    Hi,
    You can use web templates as web items (even save them in a library) in version BW 3.5.
    You can have a look in SAP net online doc:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Any other info?
    LauQ

  • Getting error with Web Templates in BI 7.0

    Hi Everyone,
    We have upgraded BW3.5 to BW7.0. When we are executing any Web Template in browser we are getting this error-
    RSBOLAP 018 Java system error:call FM RSWR_TEMPLATE_PROCESS_PROXY to ProgId CHWSXID01.....
    For your information we have installed EP Usage and BI on the portal but Portal is not configured to the BI. Is it necessary to configure Portal to the BI?
    After this when we are login to the portal we are getting this error-
    500 Internal Server Error
    BEx Web Application
    Failed to process request; contact your system administrator
    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: 
    Cannot find BI master system
    com.sap.ip.bi.base.service.connection.ConnectionException: Cannot find BI master system
    at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemAlias(GenericConnectionPool.java:81)
    at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:60)
    at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:459)
    at com.sap.ip.bi.base.application.impl.Application.getProperty(Application.java:679)
    at com.sap.ip.bi.base.application.impl.Application.startApplicationStep(Application.java:279)
    Details: Full Exception Chain
    System Environment
    Server
    BI Java     Release: 7 - Patch level: 0000000013 - Description: BI Web Applications Java - Additional info:  - Production mode: true
    BI ABAP     unknown
    Java Virtual Machine     Java HotSpot(TM) 64-Bit Server VM - Hewlett-Packard Company - 1.4.2 1.4.2.14-070618-19:48-PA_RISC2.0W PA2.0W (aCC_AP)
    Operating System     HP-UX - PA_RISC2.0W - B.11.11
    Deployed SCAs
    SCA     Version     SP     Patch     Compiled     Deployed
    ADSSAP     7.00     13     0     2007-08-12 01:18:54 CEST     2007-11-17 02:43:53 CET
    BASETABLES     7.00     13     0     2007-08-12 01:36:38 CEST     2007-11-17 01:22:45 CET
    BI-BASE-S     7.00     13     0     2007-08-12 12:03:10 CEST     2007-12-08 09:58:16 CET
    BI-IBC     7.00     13     0     2007-08-12 12:03:28 CEST     2007-12-08 09:58:26 CET
    BI-REPPLAN     7.00     13     0     2007-08-09 07:49:39 CEST     2007-12-08 10:01:05 CET
    BI-WDALV     7.00     13     0     2007-08-09 07:49:47 CEST     2007-12-08 09:58:55 CET
    BIWEBAPP     7.00     13     0     2007-08-12 12:05:56 CEST     2007-12-08 09:43:55 CET
    BI_MMR     7.00     13     0     2007-08-12 01:37:49 CEST     2007-11-17 02:44:46 CET
    BI_UDI     7.00     13     0     2007-08-11 19:04:00 CEST     2007-11-17 02:46:49 CET
    CAF     7.00     13     0     2007-08-09 09:23:15 CEST     2007-11-17 02:53:13 CET
    CAF-KM     7.00     13     0     2007-08-09 07:54:22 CEST     2007-12-08 10:21:28 CET
    CAF-UM     7.00     13     0     2007-08-09 09:23:24 CEST     2007-11-17 02:54:18 CET
    CORE-TOOLS     7.00     13     0     2007-08-12 01:41:21 CEST     2007-11-17 01:19:15 CET
    EP-PSERV     7.00     13     0     2007-09-06 14:03:50 CEST     2007-12-08 10:02:22 CET
    EP-WDC     7.00     13     0     2007-08-12 12:41:08 CEST     2007-12-08 10:03:50 CET
    EPBC     7.00     13     0     2007-08-12 12:37:44 CEST     2007-12-08 08:07:23 CET
    EPBC2     7.00     13     0     2007-08-12 12:38:06 CEST     2007-12-08 10:03:56 CET
    JLOGVIEW     7.00     13     0     2007-08-12 00:16:00 CEST     2007-11-17 01:19:52 CET
    JSPM     7.00     13     0     2007-08-12 00:17:00 CEST     2007-12-06 16:41:39 CET
    KM-KW_JIKS     7.00     13     0     2007-08-12 01:45:19 CEST     2007-11-17 02:54:37 CET
    KMC-BC     7.00     13     0     2007-08-12 12:41:47 CEST     2007-12-08 10:05:28 CET
    KMC-CM     7.00     13     0     2007-08-12 12:43:04 CEST     2007-12-08 10:06:52 CET
    KMC-COLL     7.00     13     0     2007-08-12 12:43:35 CEST     2007-12-08 10:07:49 CET
    LM-PORTAL     7.00     13     0     2007-08-09 07:58:38 CEST     2007-12-08 10:07:59 CET
    LM-SERVICE     6.40     10     0     2004-12-23 01:42:43 CET     2007-11-17 01:18:14 CET
    LM-TOOLS     7.00     13     0     2007-09-06 10:46:34 CEST     2007-11-17 03:05:32 CET
    NET-PDK     7.00     13     0     2007-08-12 12:45:34 CEST     2007-12-08 09:51:51 CET
    RTC     7.00     13     0     2007-08-12 12:48:07 CEST     2007-12-08 09:51:56 CET
    RTC-STREAM     7.00     13     0     2007-08-12 12:48:07 CEST     2007-12-08 10:08:05 CET
    SAP-EU     7.00     13     0     2007-08-09 08:01:01 CEST     2007-12-08 10:19:31 CET
    SAP-JEE     7.00     13     0     2007-08-12 01:53:11 CEST     2007-11-17 01:24:19 CET
    SAP-JEECOR     7.00     13     0     2007-09-07 08:23:34 CEST     2007-11-17 01:27:06 CET
    SAP_JTECHF     7.00     13     0     2007-08-12 01:56:44 CEST     2007-11-17 01:28:18 CET
    SAP_JTECHS     7.00     13     0     2007-08-12 01:59:51 CEST     2007-11-17 02:32:48 CET
    UMEADMIN     7.00     13     0     2007-08-09 09:39:47 CEST     2007-11-17 03:06:23 CET
    UWLJWF     7.00     13     0     2007-08-12 12:52:23 CEST     2007-12-08 10:08:51 CET
    VCBASE     7.00     13     0     2007-08-12 12:52:34 CEST     2007-12-08 10:22:05 CET
    VCFLEX     7.00     13     0     2007-08-12 12:53:39 CEST     2007-12-08 10:21:32 CET
    VCFRAMEWORK     7.00     13     0     2007-08-12 12:53:51 CEST     2007-12-08 10:21:42 CET
    VCKITBI     7.00     13     0     2007-08-12 12:23:20 CEST     2007-12-08 10:22:10 CET
    VCKITGP     7.00     13     0     2007-08-12 12:53:51 CEST     2007-12-08 10:22:15 CET
    VCKITXX     7.00     13     0     2007-08-12 12:53:51 CEST     2007-12-08 10:22:19 CET
    WDEXTENSIONS     7.00     13     0     2007-08-09 08:05:30 CEST     2007-12-08 10:24:17 CET
    Full Exception Chain
    Log ID     00306EF4B9BB0076000000120000327700044245C894263C
    com.sap.ip.bi.base.service.connection.ConnectionException: Cannot find BI master system
         at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemAlias(GenericConnectionPool.java:81)
         at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:60)
         at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:459)
         at com.sap.ip.bi.base.application.impl.Application.getProperty(Application.java:679)
         at com.sap.ip.bi.base.application.impl.Application.startApplicationStep(Application.java:279)
         at com.sap.ip.bi.base.application.impl.Application.initialization(Application.java:259)
         at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:172)
         at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:65)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.constructPage(Page.java:942)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.<init>(Page.java:761)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.createPage(Controller.java:511)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:972)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:864)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:488)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:22)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Helpful answers will be rewarded....
    Thanks and Regards,
    Pankaj

    Single Sign On is optional.
    What would happen is that the user that's using the Web Application Designer will have to have access to Portals, and the portal Sign On screen will appear once that user executes a Web Template.
    It also depends on the Portal Strategy and the Security Strategy of your client. For example, the portal may only grant access to those used IDs in the Active Directory, so if your BEx WAD user is not defined in Active Directory that user will not have access to portals, and will not be able to execute the Web Template.
    Cheers.

  • How to get table in web templates

    Hi all,
    how can i capture table in the web template using javascript.. any help on this is very helpful to me.
    please help.
    Thanks in advance
    Kiran

    Hi A.H.P,
    That link is very good...
    but  the thing is i have to get the table from BEx..
    why because i will be displaying the data which i get it from BEx tables.
    so if u can help me out in that way it would be more helpful...
    Thanks,
    Kiran

  • How to get New Window without Variable Entry screen from one Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • How to get the standard Menu of Query Designer into Web Template

    Hi Experts,
    is there a way on how to put the standard menu within Bex Query Designer (after executing a Query with the Query Designer you get into ad-hoc reporting with a menu including several functions like print, show as..., properties, etc) into an individual Bex Web Template?
    Copy & Paste source code will not work I guess because of several javascript functions I don't have access to.
    Thanks & Best regards
    Tobias

    BEx queries are displayed on the web using standard web template 0ANALYSIS_PATTERN or some customized version base don your implementation.
    You can either include the 0ANALYSIS_Pattern web template in your custom template or use Save as to create a new template with 0ANALYSIS_Pattern  AS THE STARTING POINT.

  • How to get the list of data providers used in a web template?

    I want to find a quick way to retrieve the list of data providers defined in the <object> tag in the Web template. One awkward approach is to parse the entire HTML page for <object> then filter out "DATA_PROVIDER: xxx".
    But is there any method or function call to retrieve the list quickly?
    Thanks!

    Try the function below, pass the item name and get the Data provider for that particular item, you will have to do this for all the items in the template.
    function getDPName(item){
         prop = SAPBWGetItemProp(item);
         var tableHidden=true;
         if (prop != null){
           for(i=1;i<prop.length;i++){
             if (prop<i>[0] == "DATA_PROVIDER")
                   return prop<i>[1]
           }//end for
         }//end if
    }//end function
    Thanks.

  • How to get the web templates not specific to any locale GetAvailableWebTemplates

    Hi
    I am using spweb.GetAvailableWebTemplates((uint)1033, true) to get all the available web templates. Since i use 1033, i get the en-US site like Teams Site(en-US). But i would like to get the templates with locale not specific to any.
    like Teams site(All)
    How to achieve this.

    Hi,    
    The locale ID specified when a site definition is created which controls the default language used in the corresponding site template.
    If there are no other site definitions created based on other languages, then we can pass the default locale ID(1033) to the
    SPWeb.GetAvalableWebTemplates method, it will retrieve a collection of site templates which are created with locale ID 1033.
    The OOTB Teams Site template is created based on the locale ID 1033, so we can use this ID to retrieve it.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to get the entered value in a web template?

    Hi experts,
    We have a BEX web template that executes a query with an input variable. Itu2019s 0BPARTNER. It runs a report filtered by business partner
    We want to execute a web service in the same web temple using the same entered value for business partner as a parameter.
    The entered variable is not accessible with a document.getElementById('0BPARTNER')
    The entered must be available in some way as it can be shown in a text element.
    Does anyone know how to access it and move it to a local JavaScript variable?
    Thanks

    Please see this document :- http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c01e9b01-abab-2d10-6687-96fc7bc39084
    Hope it helps
    Cheers
    Craig

  • Problem of Query in Portal (web template)

    Hi BWs experts,
    I have a problem with a query.
    I'm working on BI7 (BI java patch 12 and BI  abap pacth 14).
    The query is good working in BEx Analyzer.
    Bus when  I execute it in a portal like a web template, it doesn't work. The following error occurs :
    Begin of message error
    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)
    ABEND: Error program in class SAPMSSY1
    method  : UNCAUGHT_EXCEPTION
    ABEND: System error in progr. CL_RSMD_RS_SPECIAL and form. GETSID-01
    End of message error
    In the default values (= filter) I'm using a variable for a characteristic C. If I delete this default value in query designer, the query works in portal. If i put a filter (constant or variable) to this characteristic C, the query bugs in portal.
    So I don't know why it doesn't work.
    I hope you can help me to resolve this problem.
    Points will be assigned.
    Best cheers,
    Vince.

    hi,
    we're now getting the same message although that is after applying the java patch 12.
    what exactly was the problem with the info-object? and what did you do to fix it?

  • Error on page from BW 3.5's default web template

    Hi Guru's,
    We have a problem in our new BWD BW 3.5 environment where we are getting the "error on page" error from SAP-generated code and we aren’t sure why.
    On our old BWT BW 3.0b platform, we have been using a modified version of the 0query_template called Z_QUERY_TEMPLATE. We did a system copy of BWT to BWD, our new BW 3.5 platform. At that point in time we would see our old BW 3.5 default template for queries that we ran. We wanted to see what the new default web template looked like in BW 3.5. We found where we could remove the Z_QUERY_TEMPLATE from the Web Adhoc Analysis web template setting so we could see the new features of the BW 3.5 default BEx query designer template instead of our old BW 3.0b default template.
    Now when we run a query through the BW 3.5 query designer on BWD, we are using BW3.5’s default template. The prompt web page is fine. No errors on page messages.
    However, the initial presentation of the query results displays okay, but shows "error on page" in the message bar at the bottom of the displayed page. As soon as we do any navigation on those query results that error on page goes away. If we navigate back to the initial presentation, all is still okay. If we use the context menu to go back to start, we again get the error on page.
    This error on page does not happen in BQ2 (our new BW 3.5 QA environment copied from our old BW 3.0b QA environment where we had not yet changed the default BEx Query Designer template to be Z_QUERY_TEMPLATE). We have tried several queries and in each case, we get errors on page in BWD, but not in BQ2. We used ultraedit to compare the view source output from the equivalent web pages from BWD and BQ2 and the only difference is the validity date of the data. There are no other differences in the javascript code generated by BW in the two platforms.
    The statement that Internet Explorer is saying is the problem is the same in each of the cases we have checked and that is:
    SAPBWSetFocus(anchor);
    Error: Object expected
    Code: 0
    It’s in the set_tab() function.
    <script type="text/javascript">
    <!--
    /* Calls the online Documentation via technical QueryName */
    function callquerydoc() {
      var docustart= '/sap/bw/doc/meta/fldmeta/default?tlogo=elem&objnm=' + document.getElementById('querydoc').innerHTML;
      SAPBWOpenWindow(docustart,'Documentation',800,600);
    /* Sets the displayed tab */
    /* Check, which items of the Array check_items  is not hidden.
        Change the style of the HTML tag with id Group+Area/Group+Link */
    function set_tab() {
         if (!(navigator.appVersion.substring(0,1) == '4' && navigator.appName == 'Netscape')) {
           var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR4Broadcaster');
        for (i=0;i<check_items.length;i++) {
                        hidden = true;
                       prop = SAPBWGetItemProp(check_items<i>);
                       if (prop != null){
                                           for(j=1;j<prop.length;j++){
                                                      if (prop[j][0] == "HIDDEN")  hidden = (prop[j][1] == "X");
                   anchor_item = document.getElementById(check_items<i>.substring(0,3)+'Area').firstChild;
                    if (hidden) {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTab';
                        anchor_item.title = 'Inactive Tab Page:' + ' ' + anchor_item.title; 
                    else {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTabSel';
                        anchor_item.title = 'Active Tab Page:' +' ' + anchor_item.title; 
              } /* if */
          }   /* for */
        /* Set the BexHeader invisible when running as IView */
            if (SAPBWGetProperty('RUNS_AS_IVIEW')) {
                               document.getElementById('bexheader').style.visibility='hidden';
                               document.getElementById('bexheader').style.display='none';
              anchor = window.location.hash.substring(1,50);
              <b>SAPBWSetFocus(anchor);</b>
      }  /*function */
    -->
    </script>
    Because the error goes away as soon as we navigate I’m thinking some object isn’t being created or initialized, but since the view source code of these pages are identical I’m wondering if there is some code that should be executing before this page that is not happening in BWD for some reason.
    Any help will be much appreciated.
    Thanks,
    Jeri

    Heike,
    Thanks for your help in this. BWD and BQ2 are both on the same SP. SAP_BW release 350 level 10 (SAPKW35010) with BI_CONT at release 352 level 5 (SAPKIBIEP5).
    I invalidated the server cache following your instructions and tried again, but am still having the same problem in BWD. The initial display gets the "Done, but with errors on page" message until any navigation is done.
    I am using IE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 when I execute queries on both BWD and BQ2.
    Please, do you have any other suggestions?
    Thanks,
    Jeri

  • BI Web Template Caching on EP server

    Hello,
    We are developing BI web templates in the BI Web Application Designer and then previewing (via publishing) them with the EP web server. When we make a change to the report/template and republish/preview it to the EP server, the old version remains in the EP web server cache.
    Also to note, this is PRIOR to creating BI iviews and incorporating them in EP, so our assumption is that the cache settings in EP iviews do not apply in this case, but that it a broader issue with the EP web server or application itself.
    So far, we have tried clearing the overall PCD EP cache under sys admin support section and that does not work. The only way to get the latest content to show up via preview/republish is to restart the EP instance which clears the cache.
    Is there any other place cache can be cleared or a setting that will allow the BI previewer and ALL content (i.e. iviews as well) to ALWAYS get the latest and greatest version??
    Thanks in advance for any help.
    Dave K.

    hi Dave,
    cpl of questions are you on a federated network or are you using any proxy to access the portal? usually it will be slightly delayed some times based on the proxy cache. how are you adding the reports to role through delta link or copy?
    When using the portal cache, data updates can appear with a delay.
    pls go through the following link it may help you.
    http://help.sap.com/saphelp_nw70/helpdata/EN/25/8c174082fe1961e10000000a155106/content.htm
    Jo

  • How to achieve New Window requirement from One Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • Web Template Tech Comparison (including fastm)

    1. Preface
    In the Java Web Application, the Page Generation Part may be the most tedious and painful part.
    All other layers can be well structured. Only the Page Generation Part is mixed and bad structured.
    This article first introduces and compares various Template Techs, and next introduces a Open Source Template project ? fastm written by the Author (namely me, &#61514;).
    fastm is a PHP Java Port and Enhancement.
    I hope fastm will free all Java Web Programmers from the tedious and painful page-making work.
    2&#65294;Template Tech Comparison
    The page in this article means XML, HTML, WML, etc, all of which can be displayed in the browser.
    According to the Logic location, Template Tech can be categorized as two categories.
    (1) One category is that, the page itself contains the ?if, else, for? logic.
    Such as, JSP+TagLib, Velocity, XML+XSLT (XSLT contains logic), Tapestry, etc.
    The logic in the page is not full developed as an OO Programming Language like Java.
    The logic in the page can not utilize the ?Object?, ?Class?, ?Package? such Object-Oriented features.
    So Template Techs of this category have no good structures, and have no good reusability.
    (2) Another category is that, the page itself contains no logic.
    Such as, XMLC, DOM+XPath, Echo, PHP, JDynamiTe, fastm, etc.
    In this category, because the logic only exists in the Java Code, so the Template?s structure and reusability is as good as the Java Program.
    Below will detail and compare these Template Techs.
    2.1. JSP + TagLib
    JSP+TagLib is the standard Template Tech of Sun company.
    Advantages:
    Authoritative; Standard; Many users; All kinds of TagLibs from 3rd parts.
    Because JSP is Servlet and uses java code, Java code in JSP is very powerful and flexible, and can use all advantages of Java Language.
    TagLib can help reuse the Page Components and help drive out the ?Java Code? pollution.
    Disadvantages:
    The disadvantages of JSP are obvious. Java Code and HTML are mixed together. This is the notorious Java Code Pollution problem, which makes many programmers headache.
    Even TagLib can not solve this problem completely.
    What is more, programmers and HTML editors can not work on the same file. Every time HTML editors edit the page, programmers have to add the Java code and TagLib to the page again.
    The HTML page mixed with Java Code and TagLib can not be correctly displayed in the Browser or HTML Edition tools such as Dream Weaver and Front Page.
    If you do not run the Web Server, you can not see the result of the JSP. You can not see the Layout, Style, and the content.
    On the efficiency, flexibility, structure, reusability, JSP and TagLib are at the 2 ends.
    If you use many TagLib in the JSP, the JSP is well structured and more like XML, and the page component can be reused. But the compiled result of TagLib is big, slow and low efficient. The TagLib is not flexible. It can only do limited things. TagLib code must conform to the TagSupport definition so that the TagLib code itself can not be well reused. The writing of TagLib is not a happy work.
    If you use a lot Java Code in the JSP, the page structure will be bad and unmanageable. If your code scattered in a big HTML, it will be a nightmare. It is painful to find corresponding ?{? and ?}?. Except the ?Include File? or ?jsp:include?, the mixed Java Code and HTML can not be reused at all.
    2.2. Velocity
    http://jakarta.apache.org/velocity/
    Velocity is a template tool. Velocity template consists of HTML and Velocity Scripts and Variables.
    Advantages:
    Velocity scripts start with #, and Velocity Variables starts with $. These do not conflict with the element definition of HTML, WML and XML.
    A simple Velocity page without branch or loop logic can be correctly displayed in the HTML Edition tools such as Dream Weaver and Front Page.
    Disadvantages:
    Same as JSP, Velocity template mixes the logic with the HTML. If the Velocity template contains complex branch or loop logic, it can not be correctly displayed in the HTML Edition tools such as Dream Weaver and Front Page.
    In the big HTML, to find corresponding ?#if? and ?#end? is also a painful work. Except the ?Include File?, the mixed Velocity code and HTML can not be reused at all.
    2.3&#65294;XML + XSLT
    http://cocoon.apache.org/
    Cocoon project uses the way of XML + XSLT. Java Program only outputs the XML data. Cocoon chooses proper XSL file to transform the XML data to HTML, WML, etc.
    Advantages:
    Programmers do not need to consider the page layout and structure at all. They only generate the XML data. One XML data can be transformed to different style pages with different XSL file.
    In the aspect of separation of data and presentation, the way of XML + XSLT may be the best.
    Disadvantages:
    Slow. The speed of XSLT is slow.
    Because no HTML file, you can see the layout, style, content at all if you do not run the XSLT to transform the XML.
    XSL is not an easy language. Without the ?What you see is what you get? edition tool, the learning cost of XSL is much higher than HTML.
    2.4. Tapestry
    http://jakarta.apache.org/tapestry/
    Tapestry extends the HTML element. Tapestry uses these extended HTML element to represent the branch or loop logic, component, and variable.
    Advantages:
    Tapestry template only contains the HTML element and can be displayed in the HTML edition tool such as Dream Weaver and Front Page. Same as Velocity, Tapestry template contains branch and loop logic. Whether the Tapestry template can be CORRECTLY displayed in the HTML edition tool, depends on the complexity of the logic.
    The page component of Tapestry has the quite reusability.
    Disadvantages:
    Complex. The template definition and usage of Tapestry is complex. Due to complexity, so the speed is slow.
    I have no real experience of using Tapestry. Here I dare not say more. &#61514;
    2.5. XMLC
    http://xmlc.enhydra.org/
    XMLC compiles HTML, WML files to Java DOM classes. Programmers do not care about the page (or just define id for some HTML element). Programmers only need to operate the DOM structure to created dynamic result.
    XMLC creates operation method for every HTML element with id defined.
    Advantages:
    The template is just the pure HTML, no any logic. The template can be correctly displayed in the HTML edition tool such as Dream Weaver and Front Page.
    Java Code processes the DOM structures. The Java Code has the good structure and reusability. The DOM node is the HTML element, and can be reused well as the Page Component. You can put any DOM node to any DOM structure.
    Because the Java DOM class is created in the compiling time, there is no need to dynamic XML parsing. The DOM building speed is fast.
    Disadvantages:
    Every time you changed the HTML page, you need recompile the HTML to the Java DOM class. Many HTML is not the well-structured XML document (XHTML), and can not be correctly compiled as the DOM structure.
    The Java DOM structure can not be reused in the Multiple-Thread environment. Every HTTP Request needs to operate one exclusive DOM structure. The memory cost is big.
    After the DOM is changed, it is difficult to reset the DOM to initial status for next reuse. If the HTML file is big, the memory cost will be very big.
    XMLC is not flexible or powerful enough in some aspects. For example, as we know, many JavaScript is confined in the XML Comments. As below:
    <SCRIPT LANGUAGE="Javascript" type="text/javascript">
    <!--
    function aa{
    //-->
    </SCRIPT>
    If we need to dynamically create the JavaScript Code, it is difficult for XMLC to deal with the XML Comments which it self is not a DOM structure.
    2.6. DOM + XPath
    As we said above, XMLC functions at the compilation time.
    We can also use the way of building DOM at the Run Time. And we can use XPath to locate the target node and operate them.
    NekoHTML(http://www.apache.org/~andyc/neko/doc/html/) is an HTML Parser.
    NekoHTML uses Xerces Native Interface of Apache Xerces ( http://xml.apache.org/xerces2-j/index.html) to parse the HTML and can fix some unmatched tags to make a well-structured XHTML DOM.
    XPathAPI of Apache Xcerse can help to locate DOM nodes easily. Please refer NeckHTML document for the DOM + XPath usage.
    Advantages:
    It has the same advantages as XMLC.
    Run Time DOM building can reflect the page change in time.
    Disadvantages:
    It has the same disadvantages as XMLC.
    Run Time DOM building costs more time than XMLC. We may have a way to reuse the DOM. We use the first-time built DOM as the Standard DOM. We never operate on the Standard DOM. Every time request comes, we deep copy the Standard DOM to get a new clean DOM, and use it. Thus every HTML only needs to be parsed once. Only when the HTML changes, the Standard DOM needs to be re-parsed and rebuilt.
    Using XPath to locate DOM node is not fast. It may need to iterate the whole DOM structure.
    2.7. Echo
    http://sourceforge.net/projects/echo
    Echo project does not need template at all. Programmers write Swing-like code, and Echo outputs the HTML result.
    Advantages:
    No need to consider HTML. Swing-like code is the real UI component with the great reusability.
    Disadvantages:
    Echo hides the HTML and automatically generates many JavaScript and HTML which are difficult to maintain. The way is not flexible enough for Web program.
    2.8. PHP
    PHP template is a great design. PHP template uses the XML Comment to mark the Dynamic block, and uses ?{? and ?}? to mark the Variable.
    Advantages:
    XML Comment will not be displayed in the HTML or XML edition tools. ?{?and ?}? are not the reserved word of XML. So PHP template is a valid HTML too, and can be displayed correctly in the HTML edition tools. Programmers and HTML editors can work on same files. What you see, is what you get.
    Simple, easy to use, flexible (even as flexible as the Java Code of JSP).
    Disadvantages:
    Compared to other template techs, PHP has few short comings.
    One thing to mention, the Java Script code included in the XML Comment:
    <SCRIPT LANGUAGE="Javascript" type="text/javascript">
    <!--
    function aa{
    //-->
    </SCRIPT>
    We can not use XML Comment in the XML Comment. So we have to use {} to mark the Dynamic part.
    2.9 JDynamiTe
    https://sourceforge.net/projects/jdynamite
    From all aspects, I believe PHP is the best Template tech.
    One colleague of mine introduced the PHP template to me. I was highly interested. And I want to port the PHP to Java. First I searched on the internet and found the JDynamiTe (Java Dynamic Template) (https://sourceforge.net/projects/jdynamite) open source project which ported the PHP to Java.
    JDynamiTe Template is similar as PHP Template with a little extension and as same simple as PHP. I read its sample and like it at once.
    But I found that JDynamiTe has one shortcoming. Same as the XML DOM, JDynamiTe Template can be changed. One JDynamiTe Template can not be used in the Multiple Thread multiple thread.
    Every time request comes, JDynamiTe needs to parse the HTML to get a template DOM in the structure. And you need to set values on the template DOM, and get the result. After that, the template DOM can not be used if you do not reset it to the initial status.
    If HTML is big, it will cost much time to read and parse the HTML.
    So I decide to implement my own high efficient reusable project ? fastm (fast template).
    2.10. fastm
    http://sourceforge.net/projects/fastm
    http://sourceforge.net/projects/lightweb
    fastm template is similar as PHP template, and same as the JDynamicTe template.
    fastm template can be said as the Multiple-Thread port of JDynamicTe.
    In the fastm, the Template DOM (parsed from HTML) and the ValueSet DOM (the values for the template) are separated.
    Every HTML only needs to be parsed once to a Read-Only template DOM. Since it is Read-Only, it is Thread Safe. One Template DOM can be used in a Multiple-Thread environment.
    The Template DOM can be combined with different ValueSet DOM to generate different results.
    The fastm parser reads the HTML line by line. The parsing speed is very fast.
    fastm is faster than the way of JSP + TagLib.
    fastm may be slower than pure JSP without TagLib. Also it is possible that fastm may be faster then pure JSP. JSP (namely Servlet) writes the HTML line by line to the HTTP Response, the Net transfer efficiency is not high (of course, JSP may uses the HTTP Response Buffer). fastm writes the whole block of page into the HTTP Response once. The socket layer can take the full advantage to optimize the transfer efficiency.
    fastm support dynamic JavaScript Code generation, which is difficult in PHP or JDynamicTe.
    Except XML Comment, fastm support JavaScript Comment too. For example:
    // BEGIN DYNAMIC: special_code
    // END DYNAMIC: special_code
    This block is marked as the Dynamic block.
    fastm emulates the PHP and JDynamic. My original creation is to separate the Template DOM and ValueSet DOM. The separation of Template DOM and ValueSet DOM is a great advance based on the PHP & DOM concept.
    fastm is implemented with JDK1.4 without any 3rd part lib. Both the code size and the Runtime Size are very small.
    Among all the Java Template Techs I know, I believe fastm is the best way in all aspects?fast, easy to use, flexible, and powerful.
    I hope fastm will solve the painful Page Generation problem and will be popular among the Java programmers of the world.

    Deep insight of fastm Design Idea
    1. PHP (&fastm) marks the HTML as simple DOM
    PHP template is a beautiful design. It uses Begin-End in the XML Comment to mark the HTML or WML as different blocks. And it can marks blocks in any block.
    This way will mark an HTML page as a Tree Structure similar as DOM. But XML DOM is too heavy -- every element is a DOM node. The DOM node type may be complex. For example, in an HTML DOM, every HTML element is a DOM node, like Body, Table, TR, TD, Form, Input, etc.
    PHP template is a light-weight DOM. PHP template only has 3 kinds of node � static text, variable, Begin-End block. Only the Begin-End block can contains other nodes.
    The design is so neat, powerful, easy and general. PHP Template can be used to define any well-structured or bad structured HTML, WML, even XUL, XAML files.
    And in the HTML edition tools, what you see is what you get. I do not know any other Template Tech can be so great.
    After many painful experiences of using all kinds of Template Techs, I get to know the PHP Template Tech through my colleague�s introduction. I feel very happy and only regret that I know it so late.
    fastm Template copied the idea of the PHP Template and made a little of extension.
    fastm template�s BEGIN-END DYNAMIC block corresponds to PHP Template�s Begin-End block.
    Let�s look at the HTML block below.
    <select name=�zipcode�>
         <!-- BEGIN DYNAMIC: zipcodes -->
         <option value=�{zipcode}�>{zipcode}</option>
         <!-- END DYNAMIC: zipcodes -->
    </select>
    As we can see, this block contains one Dynamic block (zipcodes). The Dynamic block (zipcodes) contains two same variables {state}. The other parts are static text.
    The DOM structure of the HTML block is as below:
    [Static Text] <select name=�zipcode�>
    [Dynamic Block] zipcodes --
    | --- [Static Text] <option value=�
    | --- [Variable] {zipcode}
    | --- [Static Text] �>
    | --- [Variable] {zipcode}
    | --- [Static Text] </option>
    [Static Text] </select>
    2. ValueSet DOM is a Great Advance of DOM Concept
    The key feature of Template DOM is Read-Only, unchangeable.
    Every time request comes, PHP needs to parse the PHP template to get a PHP Template DOM. Then PHP code sets values for the DOM to get the result.
    PHP Template DOM is changeable.
    HTML (WML&#65292;XML) DOM is designed to be changed HTML DOM itself is both Template and Data. Program operates on the DOM node to get the result.
    Changeable DOM can not be used in the Multiple-Thread environment. Every thread must get its own DOM copy to operate and get result. If the most part of the Page is static text, this way will waste a lot of spaces and times.
    fastm Template DOM is Read-Only, unchangeable. One fastm Template DOM can be used in the Multiple-Thread environment.
    Since we can not change the fastm Template DOM, how we set values for the Template DOM and how we get the result from it?
    fastm introduced the concept of ValueSet. ValueSet is a tree-structure Data Set used to match the Read-Only Template DOM to generate the dynamic result.
    Programmers must build the whole ValueSet DOM in advance, and combine the ValueSet DOM with the Template DOM to get the result.
    The usage of fastm is like below:
    (1) In the life of the program, the fastm template only needs to be parsed once to a Template DOM.
    The parsing of fastm template is very fast, much faster then JSP compilation, Velocity
    Parsing, XML DOM parsing, even faster than XML SAX parsing. And the result Template DOM size is only a little more than the original source template file.
    (2) The code creates different ValueSet DOM and matches them to the Read-Only Template DOM to generate dynamic results.
    Due to the simple structure of Template DOM, the matching is very fast, usually faster than the fastest pure JSP/Servlet. The ValueSet DOM space efficiency is less than the pure JSP/Servlet, but the ValueSet DOM size can be optimized to be close to the pure JSP/Servlet.
    For example, let�s build a ValueSet DOM for the above Template DOM (the �zipcode select� one).
    String[] zipcodes = {�361005�, �100008�};
    IValueSet top = new ValueSet(); // corresponding to that whole HTML block
    List items = new ArrayList(); // corresponding to the Dynamic Block -- zipcodes
    for(int i = 0; i < zipcodes.length; i++){
         IValueSet item = new ValueSet();
         item.setVariable(�{zipcode}�, zipcodes);
         items.add(item);
    top.setDynamicValueSets(�zipcodes�, items);
    We combine the ValueSet DOM with the Template DOM and generate the following result.
    <select name=�zipcode�>
         <option value=�361005�>361005</option>
         <option value=�10008�>100008</option>
    </select>
    As we can see, the relation between Template DOM �Dynamic block� node and ValueSet DOM node is not one-to-one, but one-to-many. One �Dynamic block� node maps a list of ValueSets. How many ValueSets are in the list, how many times the �Dynamic block� node will be displayed.
    Compared to the TabLib, the advantage of fastm is obvious. Several lines of code or a method can do the work of one or several TagLib.
    The separation of ValueSet DOM from Template DOM is a great advance of idea.
    After all, in one page, the static part is much more than the dynamic part. Template DOM represents the static part, and it is parsed only once and kept only one copy. ValueSet DOM represents the dynamic part, and it can be created at any time.
    The separation of ValueSet DOM from Template DOM is a more thorough separation of presentation from Data, even more thorough than the way of XML/XSLT. In the way of XML/XSLT, the XML is the pure data; But the XSLT is not the pure presentation since it contains the logic. In the fastm, ValueSet DOM is the pure data, no any logic; Template DOM is the pure presentation, no any logic.
    One Template DOM can be used to match many ValueSet DOM. Vice versa, one ValueSet DOM can be used to match many Template DOM.
    For example, we have following HTML block.
    <table>
         <!-- BEGIN DYNAMIC: zipcodes -->
         <tr><td>{zipcode}</td></tr>
         <!-- END DYNAMIC: zipcodes -->
    </table>
    We match the above �top� ValueSet to this template and get the following result.
    <table>
         <tr><td>361005</td></tr>
         <tr><td>100008</td></tr>
    </table>
    3. ValueSet DOM is the reusability center
    The reusability center of JSP is TagLib.
    The reusability center of XML DOM is the DOM node operations.
    In the fastm, the Template DOM is Read-Only, so the reusability center is the ValueSet DOM operations, such as the above code to generate the ValueSet.
    Same as the XML DOM, Template DOM can be used in the whole or be used as blocks.
    Through ValueSet, you can compose blocks of any Template DOM together and get the result. It is very easy to implement the Tile or Portal in fastm.

Maybe you are looking for

  • Use to work, now it's not, and I'm extremely frustrated???

    Both autofill and drag-and-drop use to work. Now they don't. I've downloaded upgrades, charged and restored iPod, toggled switches, made sure it's connected properly, etc. etc. and NOTHING. There is no music currently on my iPod. Why?

  • Why do I have 2, 3, 4 copies of Firefox shown in Windows Task Manager Processes Tab?

    After a few days, Firefox will get real slow, has lots of disk activity when opening a new Tab or going to another website. When I look in Task Manager, I'll see as many as 4 instances of Firefox in the Processes Tab. Even if I restart Firefox, some

  • Sort Formula Field

    Hi I have a similar issue.... I have a report that's looking for Turnbacks,Total Trips and Turnback Percent of total trips grouped by Vendor. Report Layout Date (Group1) Vendor (Group2) Under group Vendor I have summarized fields... Date 20101119 Ven

  • Advanced Configuration in Admin tool

    Hello All, Can anybody point me to any documentation or white paper on how to do some advance configurations in the OBI EE Admin tool,like partitioning. Basically how can you improve performance by doing partitioning (in database ) in BI EE.

  • Garmin Mapsource, Virtual PC 7 and USB

    Hi! Has anybody here tried to use Garmin Mapsource and Virtual PC 7 to talk to a GPS conneced to the mac using USB? -Kaj