CMD 'SET_LIST_CALCULATION HTML in web template

Hi,
I have a query where I want a local calculation of query results based on summation.  I see there is the CMD 'SET_LIST_CALCULATION' and set to '01' for local calculation.
Where does this go in the HTML of the web template?
The underlying query has this setting in the formulas "calculations" tab and displays correctly in the analyzer, but not in the Web.  In the Web the OLAP engines calculations are residing.  I want to override this with local calculation summation per above.
Thanks.

Anyone any ideas?

Similar Messages

  • SAP BW Web Report : Web Template

    Hi,
    I have created a SAP Query view and a web template.  Then i have created the web report using the below URL.
    http://port/sap/bw/Pub?sap-language=EN&cmd=ldoc&TEMPLATE_ID=TEMPLATE1
    Later i added filter condition sin the web template and created the URL which filter values for that particular Cost Center.
    http://port/sap/bw/PUB?SAP-LANGUAGE=EN&CMD=LDOC&FILTER_VALUE=7&TEMPLATE_ID=TEMPLATE1&FILTER_IOBJNM_1=COSTCENTERA&FILTER_VALUE_1=7046
    I face issues with the below points.
    1.     Now the Title of the web report has to be changed.  Where can i change this ? ( HTML code / web template ) 
    2.     The Title of the report is selected from a Region Value from the .css file.  Is there any relation between this fiel and ABAP code at the backend.
    3.     The Cost center has hierarchy values at the back end.  Even if I do not enable the hierarchy for Cost center, I get values for that parent node.  But the child nodes show extra projects if hierarchy is enabled.  Should that be enabled ?
    4.     In the view I am getting both the fileds Cost centerA and Costcenter B.  But  in the report for filter COSTCENTERA=7046, I get only COSTCENTERB and vise-versa.  What could be the reason ? What should I do to get both the fileds in the Web report.
    Appreciating your valuable suggestions on the above points.
    Please help me in resolving these issues. 
    Many thanks
    Eswari.B

    Hi Vlad,
    I revised the code as below and now Iam able to sucessfully execute the report in BPS layout, however the BPS variable value is not passing to the BI Report; any ideas... Thanks Again...
    <iframe id="BPSREPOR"
    name="BPS Report"
    src="/sap/bi/mime/bex/icons/pixel.gif"
    width="1000" height="600"></iframe>
    <script language="JavaScript" type="text/javascript">
    var frame = document.getElementById( 'BPSREPOR' );
    var url = 'http://wbvmburpr10.warnerbros.com:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=';
    var filter = '&FILTER_IOBJNM=0COMP_CODE&FILTER_COLLAPS=&FILTER_VALUE_EXT=';
    // Example using fiscal year 2004 and variant K4: K4/2004 => comp = #K4/#
    var comp = '';
    var appl = 'BPSREPOR';
    var varvl = '<%descr(BPS_VARIABLE/value)%>';
    // Option: Adjust the 'SELECT' to your local language
    if (varvl != "" && varvl != "-- SELECT --"){
    // expected formatting of variable selector: Text(Key) or Key
    var convert = /((.*))/;
    convert.exec(varvl);
    // If there is value in brackets it is the key
    if ( RegExp.$1 != "") varvl = RegExp.$1;
    // create URL
    url = url + appl + filter + varvl;
    alert (url);
    // remove possible white spaces
    url = url.replace(/ /,"");
    // set source attribute of iframe to new URL
    frame.src = url;
    </script>

  • Publishing web templates in static HTML

    Hi,
    When broadcasting web templates to HTML, must you publish them into the portal or can they simply reside on the BW server as static HTML pages and accessible via a URL?
    I ask because I am implementing a dashboard and the web templates should be pre-calculated to be very quick performance-wise.
    Second question, If I have two different web templates that I want to precalculate/publish twice (with different selections) how do you define the naming convenstion for the html file names? Eg.
    WebTemplateName_Variable1_Variable2_Chart.html
    WebTemplateName_Variable1_Variable2_Data.html
    Kind thanks in advance.
    faB

    Hi Deepu,
    Thanks for the reply. You'll get good points for the help.
    I can get a web template to work with the data_mode=static url parameter set, but only when I call up the template alone, without any variable selections in the url. As soon as I set variables via url params, I get the error message: "requested document could not be found". The strange thing is that in the "document overview" of the reporting agent I can see the HTML file does exist for that selection criteria (and the query works in static_hybrid mode, which proves that the url parameter use the correct syntax)! Additionally, I can call up the correct html file directly via the url:
    /sap/bw/doc/tmpl/FLDTMPL/LATEST/LATEST_SD011_COMPLAINT_PER_CUSTOMER/SD011_COMPLAINT_PER_CUSTOMER_00001.htm
    but not with :
    sap/bw/BEx?CMD=LDOC&TEMPLATE_ID=SD011_COMPLAINT_PER_CUSTOMER&VAR_NAME_1=ZSOLDTOP&var_operator_1=EQ&var_sign_1=I&var_value_low_ext_1=0000204874&data_mode=static
    and not with:
    /sap/bw/doc/tmpl/FLDTMPL/LATEST/LATEST_SD011_COMPLAINT_PER_CUSTOMER/GET?VAR_NAME_1=ZSOLDTOP&var_operator_1=EQ&var_sign_1=I&var_value_low_ext_1=0000204874
    This is on BW3.5. Note 594340 describes the problem, but the fix is only valid for version 3.1.
    Thanks for any further input you can give me.
    Cheers,
    fab

  • WAD Using Frameset html tag in a web template

    I try to create a web template with 3 frames (Header, Navigation and body) with <frameset> tag and when i try to upload the html file to the server I get the error:
    Run time error:
    Invalid Colunm name or number

    Here is a sample of our BW HomePage HTML which is a frameset with 4 frames: Banner, Role Menu(report tree), Body (text), Links.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 2</title>
    <link rel="stylesheet" href="Mime/BEx/StyleSheets/BWReports.css" type="text/css">
    </head>
    <frameset rows="53,*" framespacing="4" border="0" frameborder="0">
      <frame name="banner" scrolling="no" noresize target="contents" src="http://p40-ci.eh.pweh.com:3850/sap/bw/BEx?sap-language=EN&cmd=ldoc&TEMPLATE_ID=ZP_BW_ROLE_MENU_BANNER" marginheight="0" marginwidth="0">
      <frameset cols="31%,*,25%">
        <frame name="contents" target="main" src="http://p40-ci.eh.pweh.com:3850/sap/bw/BEx?sap-language=EN&cmd=ldoc&TEMPLATE_ID=ZP_BW_ROLE_MENU_CONTENTS" scrolling="auto" style="border: 3px solid #C0C0C0">
        <frame name="main" src="http://p40-ci.eh.pweh.com:3850/sap/bw/BEx?sap-language=EN&cmd=ldoc&TEMPLATE_ID=ZP_BW_ROLE_MENU_BODY" scrolling="auto" style="border-right: 3px solid #C0C0C0; border-top: 3px solid #C0C0C0; border-bottom: 3px solid #C0C0C0">
        <frame name="links" src="http://p40-ci.eh.pweh.com:3850/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=ZP_BW_ROLE_MENU_LINKS" scrolling="auto" noresize style="border-right: 3px solid #C0C0C0; border-top: 3px solid #C0C0C0; border-bottom: 3px solid #C0C0C0" marginwidth="5" marginheight="15">
      </frameset>
      <noframes>
      <body>
      <p>This page uses frames, but your browser doesn't support them.</p>
      </body>
      </noframes>
    </frameset>
    </html>
    ***NOTE:  You cannot edit this HTML in WAD in Layout Mode, ONLY HTML MODE.  Another way to maintain template HTML code is via Report RS_TEMPLATE_MAINTAIN.
    Hope that helps,
    Don May

  • Need HTML code to call template from an existing web template

    Hi all,
    Can someone help me with a HTML code which can call another web template from a field of a table.
    I have a web template which includes table as web item.The template when executed displays the data of query view in the form of table.One of the field in the table is Europe.Now my requirement is when i click on that field Europe,it should open up another template which is present in the system.
    Please provide me with a HTML code which can do this.
    Regards,
    Suchitra

    Hi all,
    Can someone help me with a HTML code which can call another web template from a field of a table.
    I have a web template which includes table as web item.The template when executed displays the data of query view in the form of table.One of the field in the table is Europe.Now my requirement is when i click on that field Europe,it should open up another template which is present in the system.
    Please provide me with a HTML code which can do this.
    Regards,
    Suchitra

  • 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 with HTML framset not working after transport

    Hi,
    I've built a frameset which consists of two web-templates (role-menu and content area) those two are combined together using plain HTML which does not acontain any web items (uploaded via WAD). This works fine in development. After transporting to our QA environment all the templates have been transported with concode 0, but the frameset does not get loaded. I always get an "Error loading template ...". The two templates which contain web items work fine when used stand-alone.
    When looking in transport connection I see the following message:
    "Object ZWF_WEB_FRAMESET (Web Template Name) could not be collected for object ()"
    I also see the same behavior on another transport of a template. Nine out of ten ar fine, but one, all are exact copies - only the query used is different, does not work either. The query that is used has been transported and is working.
    Has anybody an idea what could cause this?
    Is there a way to regenerate templates (like RSRT for queries) ?
    Thanks in advance
    Bernd Dümmel
    KODAK Stuttgart
      using ve created a

    Did you upload the video?
    Did you provide the correct path to your HTML object?

  • Implement IP File Upload to a web template (with queries) - HTML Coding?

    Dear experts,
    we have implemented integrated planning - file upload.
    now we want to create a web template , which should include some queries AND also the file upload in a separat tab in this template.
    following link (file upload) should be included in the web template:
    http:///sap/bc/webdynpro/sap/zrsplf_file_upload?planning_sequence=ZACOMK_01_PS1&sap-client=200&sap-language=DE
    I don´t have any html-knowledge.
    Is there a standard html-coding available, which I could use and implement in a container item?
    many thanks for your help!!
    best regards
    Roland

    Thanks so much, Rick! That post was exactly what I needed -- and now I have another resource to search for next time.
    There is one little caveat, for anyone else who needs to use this. I had to change the line that sets the Content-Type header to use a semicolon instead of a comma. After this change, the resulting HTTP request is identical to the one generated by WebKit for form submission.
    NSString *contentType = [NSString stringWithFormat:@"multipart/form-data; boundary=%@", boundary];

  • How to write HTML code in Web Template for selection screen

    Hello All,
    Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query.
    I know that we can write html, which will be displayed once the query has been executed, but can it be done for selection screen.
    if so, how.
    My exact requirement is : to display a 2-3 lines of text in the selection criteria screen - sort of, various options available to user for entering values in the selection screen.  I was thinking of putting this text using HTML code in the selection screen.
    Regards,
    Nagendra.

    Hi Erick,
    No, unfortunately nobody replied to this thread. So i assumed it is not possible to modify the selection screen thru html code.
    Btw, as my requirement was to provide user with multiple answers on the selection screen. I did the validations on customer exit and popped an errror dialog when applicable.
    Regards,
    Nagendra.

  • How do I update web template HTML files on MAC

    I'm running lightroom 4.3 on a PC. The web template needed a few changes making, mainly the layout and replacing links for images etc., I could not find a way to update via lightroom so I changed the detail.html and grid.html files directly in C:\Program Files\Adobe\Adobe Photoshop Lightroom 4.3\Shared\webengines\default_html.lrwebengine. Now I need to make the same changes in lightroom 4.3 on a MAC, but have no idea how to locate the same files and update?
    Please can someone help me?

    The equivalent location on the Mac is:
    //Applications/Adobe Photoshop Lightroom 4/Contents/PlugIns/Web.lrmodule/Contents/Resources/galleries/default_html.lrwebengine
    To see either of the Contents folders in the above path, you have to Command/Right-click on the previously mentioned file (Adobe Photohsop Lightroom 4 and Web.lrmodule) and choose Show Package Contents.

  • How to embed a HTML Page in a Web Template and display it

    Hi All
    Can you please share ideas how I can embed a HTML page in a web template and how I can make it displayed as a popup when a button is pressed.
    Also, how do I call a HTML page stored in Portal KM from the press of a button in the web template.
    Your help is greatly appreciated.
    Thanks
    Karen

    Using C# or javascript to authenticate the user to AD to read the property directly will be very difficult. Creating a custom user profile property and adding a sync from AD to that property is definitely the easiest way to do what you are describing.
     Once its in User Profiles there are lots of samples on how to add it to the page.  
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Filter Web Template with URL Cmd: doesn't work with compound infoobject ?

    Hello all,
    I've to filter the query contained on a web template with URL command, but it doesn't work.
    The web template contains only one query, and on the free chars I have 0PLANT.
    I call the web template adding to the normal url the following command:
    &FILTER_IOBJNM=0PLANT&FILTER_VALUE=33
    where 33 is the code of the plant I want to filter.
    The command is executed, I think, because the  result is "NO APPLICABLE DATA FOUND". The fact is that when I execute this query on the Bex filtering 0PLANT by value 33 the data exists.
    May be because 0PLANT on our system is in compound with 0SOURSYSTEM ? In this case, what's the value I can use as filter ?
    Thank's in advance,
    Max

    Hi,
    please see http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
    especially:
    If the variant with ending 'EXT' is selected, the fully compounded value has to be entered in the external format, for example, 24.12.2000.
    If the ending 'EXT' is not used, the fully compounded value has to be entered in the internal format, for example, 20001224 for 24.12.2000.
    and
    In the internal display (see table below) you can easily determine the name of the characteristic and the filter value using the URL parameter &snippet_operations=%20 (see also Object Tag for the Properties of Web Templates). Call the Web application with this URL parameter. If you filter using the context menu, the parameters FILTER_IOBJNM and FILTER_VALUE are automatically added to the URL in the Web browser. You can then use the desired values with Command URLs in hyperlinks.
    Heike

  • How to reference variable values in a BW Web Template

    Hi All,
    I'm having a problem which I hope someone can help me with.
    OVERVIEW
    I've developed a BW Web template with (among other things) a TEXTELEMENTS Web Item and a TABLE Web Item. I've enhanced the context menu so that when a user selects a row within the TABLE, they can start a SEM-BPS Web interface (which displays a manual planning layout). I've used the 'How to call a BPS Web Interface with Predefined Selections' document to get the basic mechanism working. The JavaScript function I've written successfully passes the variable (DFCOST_PL) value to the planning layout.
    THE PROBLEM
    The problem is twofold....
    1. I need to pass the value for a variable (FEPCVERS) to the layout. However I do not know how to make reference to the variable in JavaScript. The variable is available within the TEXTELEMENTS_1 object but how do I address it?
    2. On a similar vein, I need to pass the value for a field within the table row to the planning layout. The TABLE_2 object contains the fields (DFCOST_PL and DFGROUPS). When the user selects a line the value for DFCOST_PL is available to the JavaScript function (ZAJT_JS_Maintain_Rules) in the 'parameter1' field. However, how do I make the DFGROUPS field available?
    Below is the HTML code for my Web Template. Any help would be greatly appreciated.....
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="SET_DATA_PROVIDER">
             <param name="NAME" value="DATAPROVIDER_2">
             <param name="QUERY" value="ZAJT3_COST_BASE_BY_COST_POOL">
             <param name="INFOCUBE" value="Z_FEPC_CB">
             DATA_PROVIDER:             DATAPROVIDER_2
    </object>
    <!--BW HTML data source object tags: -->
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="SET_PROPERTIES">
             <param name="TEMPLATE_ID" value="ZAJT_RULES_ENTRY">
             <param name="VARIABLE_SCREEN" value="X">
             <param name="CMENU_LABEL_1" value="ZAJT Maintain Rules">
             <param name="CMENU_FUNCTION_1" value="ZAJT_JS_Maintain_Rules">
             <param name="CMENU_PARAMETER_1" value="1">
             <param name="CMENU_CELL_TYPE_1" value="CHARACTERISTIC_VALUE">
             <param name="CMENU_FILTER_1" value="DFCOST_PL">
             <param name="CMENU_VISIBILITY_1" value="X">
             <param name="CMENU_POSITION_1" value="TOP">
             TEMPLATE PROPERTIES
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="SET_DATA_PROVIDER">
             <param name="NAME" value="DATAPROVIDER_1">
             <param name="QUERY" value="ZAJT3_COST_BASE_BY_PC_NODE">
             <param name="INFOCUBE" value="Z_FEPC_CB">
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <html>
      <head>
        <title>BW Web Application</title>
        <link href= "/sap/bw/mime/BEx/StyleSheets/BWReports.css" type=text/css rel=stylesheet>
      </head>
    <!--ZAJT Test code start -->
    <SCRIPT language="JavaScript">
    function ZAJT_JS_Maintain_Rules(parameter,cell_type,filter,parameter1,parameter2,item,dataprovider,x,y)
      var url;
      var cpool=parameter1;
      switch (parameter)
        case "1":
          url="http://dknborisdev.dcb.defence.gov.au:3280/sap/bc/bsp/sap/zbps_var_set/zbps_var_set.htm?area=ZFERULES&bps-appl=ZAJT_RULES3&var1=ZWEBCP&value1_1=" + cpool;
         SAPBWOpenWindow(url ,"MaintainRules" ,600,400);
         break;
    </SCRIPT>
    <!--ZAJT Test code end -->
      <body>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="TEXTELEMENTS_1">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="CLOSED" value="X">
             <param name="SHOW_COMMON_ELEMENTS" value="">
             <param name="SHOW_FILTERS" value="">
             <param name="ELEMENT_TYPE_1" value="VARIABLE_K">
             <param name="ELEMENT_NAME_1" value="FEPCVERS">
             <param name="ELEMENT_TYPE_2" value="VARIABLE_K">
             <param name="ELEMENT_NAME_2" value="DF_GRP">
             <param name="ELEMENT_TYPE_3" value="VARIABLE_K">
             <param name="ELEMENT_NAME_3" value="ZCSTCNTR">
             ITEM:            TEXTELEMENTS_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="NAVIGATIONBLOCK_2">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2">
             <param name="CLOSED" value="X">
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1">
             <param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_2">
             ITEM:            NAVIGATIONBLOCK_2
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="PC_HIERARCHY">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_HIERDD">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="CLOSED" value="X">
             <param name="CAPTION" value="Profit Centre Hierarchy">
             <param name="BORDER_STYLE" value="BORDER">
             <param name="IOBJNM" value="0PROFIT_CTR">
             <param name="HIERARCHY_NAME" value="PROFIT_CTR_ZFEPCBP05">
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_2">
             <param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_1">
             ITEM:            PC_HIERARCHY
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="TABLE_1">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1">
             <param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_2">
             ITEM:            TABLE_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="TABLE_2">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2">
             ITEM:            TABLE_2
    </object>
      </body>
    </html>

    Hi Heike,
    Thanks for your response. The example you gave me works nicely. I've tried to use the same concept on a FILTER object, but it does not seem to work. I declared the object as below:
    </span>
    <span style="display:none;visibility:hidden" id="0PROFIT_CTR_value">
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="FILTER_1">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="HIDDEN" value="X">
             <param name="GENERATE_CAPTION" value="">
             <param name="PRESENTATION" value="KEY">
             <param name="ITEM_FILTER_IOBJNM_1" value="0PROFIT_CTR">
             <param name="PRESENTATION_1" value="KEY">
             <param name="ONLY_VALUES" value="X">
             ITEM:            FILTER_1
    </object>
    </span>
    and then use
    document.getElementById('0PROFIT_CTR_value').innerHTML.
    However, the value returned is blank. Is there a different method required for filters?
    Also, you mentioned that to access the second variable I will need to use the table interface. Is this difficult to do? I'm booked on the NET050 (Developing Web Applications) course, but it's not until late November. Do you think that this course would cover this kind of processing?

  • Hidden Objects from Web Templates

    Hello,
    I have two tabs on a web template.
    - On the first tab I only want to see the table
    - On the second one I want to see the chart.
    I only want to see the Information from one sub- template on every tab)
    But the result is: If I click on the second button I see both (table and chart).
    So how can I hidde this table if I click on the second tab
    Thanks for help and any ideas!!
    Henning
    Code:
    <!-- First Tab: Display table and nav block -->
    <td align="middle" nowrap class="SAPBEXTbsTabSel" id="GR1Area">
    <A  title=GH href="<SAP_BW_URL ITEM='GH_1' MULTI='X' HIDDEN='Y' CMD_1='ITEM=GH_1&MULTI=X&HIDDEN='Y' >&dummy=#TabStripContent" >GH</A>
    </td>
    <!-- Second Tab: Display chart -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR2Area">
    <A title=GH href="<SAP_BW_URL ITEM='GH_2'  HIDDEN='' CMD_1='ITEM=GH_2&MULTI=X&HIDDEN='X' >&dummy=#TabStripContent" >Grafik</A>
    </td>
    </tr>
    </table></td></tr></table></td></tr></table>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GH_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="TEMPLATE_ID" value="ZTEMPL1"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="Y"/>
             ITEM:            GH_1
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="GH_2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
    <param name="TEMPLATE_ID" value="ZTEMPL2"/>
    <param name="HIDDEN" value="X"/>
    <param name="GENERATE_CAPTION" value=""/>
    ITEM: GH_2
    </object>

    <!-- Second Tab: Display chart -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR2Area">
    <A title=GH href="<SAP_BW_URL ITEM='GH_2' HIDDEN='' CMD_1='ITEM=GH_2&MULTI=X&HIDDEN='X' >&dummy=#TabStripContent" >Grafik</A>
    </td>
    Call onclick event like
    <!-- Second Tab: Display chart -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR2Area">
    <A title=GH href="<SAP_BW_URL ITEM='GH_2' HIDDEN='' CMD_1='ITEM=GH_2&MULTI=X&HIDDEN='X' onclick= "HideTable();">&dummy=#TabStripContent" >Grafik</A>
    </td>
    At the bottom between </BODY> </HTML> Paste this
    <script>
    function HideTable(TableName)
    obj = getTableReference("GH_2");
    obj.style.display = "hidden";
    function getTableReference( table_name ){
       var all_elements = document.all;
       for( var i=0;i<all_elements.length;i++ ){
          if (all_elements<i>.name==table_name)//we have found tbl
             return all_elements<i>;
       }//end for
       return null;
    }//end function[/code]
    </script>
    Hope it helps
    Regs
    Gopi.
    Message was edited by: Gopi

  • BEx Web - Inserting Tabs with multiple Web Templates

    I encounter much difficulty to find consistent information on how to create a Web cockpit (BW3.5) by making use of embedded Web Templates (using web template web item).
    In particular,
    - How to define tab pages?
    - How to insert an HTML document in one of these tab pages or in the body of a single Web template?
    I would be glad if you could give me links to helpful documentation or share your own experience.
    Best regards.
    Laurent Querella
    BI Consultant
    ALTI Belgium

    Hi,
    I can`t find the BW Expert coding, too.
    But try out following coding.
    This example template contains 4 tabs
    1) Query (assign a Query to DP1)
    2) Query View (assign a view to DP2)
    3) Template (assign a template ID)
    4) Template (0ANALYZER)
    rgds Jens
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value=""/>
             TEMPLATE PROPERTIES
    </object>
    <HTML>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_2"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_2
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <HEAD>
    <TITLE>BW Web Application</TITLE>
          <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
          <script type="text/javascript">
          <!--
    /*  function goto_tab: Show all items, starting with tabname, Hide all other items */
              function goto_tab(tabname) {
                  SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
        For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
        If Item is visible set Header as selected
        Otherwise set corresponding span-Tag to not visible */
              function set_actual_tab() {
                i=0;
                do {
                     i++;
                     if  (document.getElementById('head_TAB'+i) != null) {
                        /* Check if Object tag is hidden */
                        var prop = SAPBWGetItemProp('TAB'+i);
                        var hidden=true;
                        if (prop != null){
                                     for(j=1;j<prop.length;j++){
                                              if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
                        if (hidden) {
                                    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
                       else {
                                   document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
              } while (document.getElementById('head_TAB'+i) != null)
           -->
          </script>
    </HEAD>
    <BODY>
    <table cellspacing="0" cellpadding="5" border="0" id="tabheader">
                <tr>
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Query</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Query View</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Template</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB4"><A href="javascript:goto_tab('TAB4')">BEx Web Analyzer</A>
    </td>
    </tr>
        </table>
    <table width="100%"  class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
                            <tr>
                    <td valign="top" >
          <P>
    <span id="TAB1">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB1
    </object>
    </span>
    <span id="TAB2" ><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB2
    </object>                                                
    </span></P>
          <P><SPAN id="TAB3"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="myTemplateID"/>
             <param name="USE_ONLY_BODY" value=""/>
             <param name="NAME_PREFIX" value="TAB3"/>
             ITEM:            TAB3
    </object>
    </SPAN></P>
          <P><SPAN id="TAB4"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="USE_ONLY_BODY" value=""/>
             <param name="TEMPLATE_ID" value="0ANALYZER"/>
             <param name="NAME_PREFIX" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB4
    </object></SPAN></P>
    </td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    /* This function call is needed to set the correct state */
       set_actual_tab();
    -->
    </script>
    </BODY>
    </HTML>

Maybe you are looking for

  • ERROR WHILE DOING THE SERVICE ENTRY SHEET

    Hi All, I have budget INR 3000 & i created PR INR 2500 ,PO for the same amount INR 2500.Against the same i made INR 2000 down payment and it would as statistical in SAP. But while doing the service entry for same PO ,budget exceeded error coming. I s

  • Help! iMac G3 Indigo crt will not boot

    Hello, I'm an A+ PC technician and I'm trying to get an G3 iMac Indigo back up and running for a friend. I own a G4 Mac Pro so I'm somewhat familiar with Mac hardware and OSX and System 9. Here's what I've done so far to get this little machine going

  • Aggregates in query being used or not.

    Hi Guys, I have a doubt. wondering if somebody can clarify it. When we run a query on cube with aggregates, how do we know whether the query is using the aggregates or not? Can we check in ST03? Thanks in advance.

  • Clarification in T.C  MC35

    Hai gurus , i have one doubt in T.C MC35. while creating rough cut plg profile, we give Material/Plant/status = 4/usage = 1/lot size. Also we have to give time span,what is use of this time and why should we give the details in the resources table. w

  • Only xterm does key combinations properly

    I've been installing some vim plugins lately, and I've noticed that whenever I try to do Control+Foo or Alt+Bar I never get it to work. According to some users in #vim on FreeNode this has to do with how vim handles input, but one of them mentioned s