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

Similar Messages

  • Missing LOIO & PHIO objects for Web template

    Hi,
    I have transported web template to QA from Dev. system and I am getting error message " Object not consistent obiviously because I have not transpoted LOIO & PHIO objects alongwith Web template.
    I am trying to find these LOIO and PHIO object in transport connection(RSA1), <b>AS BHANU and others have suggested in this forum</b>, under web Template and where not, but I couldn't find it. My question is -where to find these objects or do I have to install any paches or something?
    we have not created any role or workbook for any reports.
    Sunny

    Hi, ALL
        I face some problem as Sunny, anyone can help us for transport LOIO & PHIO?  and how I know how much LIIO & PHIO related to the special webtemplate ?
    thanks very much

  • Calling BSP from WEB Template

    Hi,
    Can any one help me regarding Bex web designer..
    I want to call BSP in my Bex web template with passing parameters to BSP(R/3) over URL  and also like to avoid login pop for BSP.
    Thanks
    Atul

    Hi Arun,
    Thanks for your reply, but what i want to know is from WEB template how can we get variable to pass it to BSP page.
    Eg: If i have using hierarchical object in my WEB template and i want know which node(level) i have selected, how i can achieve that, if i am able to do that then i can pass it to my BSP page.
    Regards
    Atul
    Message was edited by: Atul Dhariwal

  • Bi call document browser from web template wad 7.0

    Hi,
    Is it possible to customize the document browser dialog when calling via command "OPEN_DIALOG_DLG_DOC_BROWSER" from web template.
    The iframe within the browser has a fixed size, so when opening a document the iframe is always too small and does not change the size, also when changing the size of the document browser window.
    Is there a possibility opening the documents in a new window instead of opening in the iframe?
    From WAD I have not found any possibility solving this. Maybe it's possible to change the web dynpro. Does anybody know the web dynpro / component for the document browser?
    Regards,
    René

    You can only open 2004S Web Templates in 2004S EP. R u using EP to display ur web templates?
    Check this blog for more details:
    Rolling out the New SAP NetWeaver 2004s BI Frontend Tools
    KJ!!!

  • Passing/retrieving hidden fields from Its template(IAC)  to BSP page

    Hi i m passing hidden fields from its template to custom BSP page...but not able to retrieve the hidden field in bsp page...is there any way we can retrieve the data....is there any equivalent of request.getattribute() method which we use in jsp to fetch the hidden fields....

    <i>i m passing hidden fields from its template to custom BSP page...but not able to retrieve the hidden field in bsp page...</i>
    from ITS template how are you calling/passing parameter to BSP
    thru a form submit? or are you just openning the BSP thru a url link, in either case
    you could pass the data as a form field (post) or in the url of the BSP (GET)
    for example if the form field name in ITS template is myformfiled and you are submitting that to the BSP page then in the corresponding bsp page declare a page attribute withe same name (myformfiled) and mark the auto check box.
    now the value passed from ITS template will be available within BSP in the ABAP variable myformfiled which you can use the way you want.
    Hope this is clear
    Raja

  • How to find the hidden objects in Webi Rich client  report 4.0 sp 04 ?

    Hi,
    How to find the hidden objects in Webi Rich client  report  at BI 4.0 sp 04 ?
    Best Regards,
    ASR

    Hi Sai,
    Go to Report Element Tab-->There you have a Tab Cell Behaviors.
    When you flip between 'With Data' and 'Structure Only' under 'Design' Tab,you can see the some cells will be hide/Un hide behavior,if hiding of cells applied.
    Select that cell and then Under 'Cell Behaviors'-->'Hide' Tab-->and choose Show Option.
    Regards,
    Venkat P

  • Have the capability that  let Entity Objects from Web Services Datasources?

    Have the capability that let Entity Objects from Web Services Datasources? or
    where can we found the example about implement Entity Objects from Web Services Datasources ?

    I'm not sure what are you asking for. If you are looking to create a data-control based on a web service then this online demo might help:
    http://www.oracle.com/technology/products/jdev/viewlets/1013/WebServicesAndADF_viewlet_swf.html
    Or are you asking how to expose an ADF Business Component as a Web service?

  • Problem when exporting Query from Web template to Excel Sheet.

    Hello,
    Im encoutering a problem when im trying to export query output from web template to excel sheet.
    A popup windown appears when excel sheet opens which reads.."problem cameup in the following areas during  load : Cell Value".The report layout appears to be fine but the totals shows unwanted values starting with * followed by number.
    Any valuable inputs, what could be the problem. where can i rectify the same.
    Regards
    Ellora

    Hello A K,
    Thanks for ur time and response but the option u mentioned did not serve my purpose.
    The problem seems to be only with pirticular cells.As mentioned earlier the layout appears properly..all the values are seen..but the end result..totals are disturbed.
    eg: If the report shows in template the total value :20,668,554...when exported the values is shown as **668553.88000000600000.
    So what could be the problem ? any template setting ? global setting to look at ?
    Regards
    Ellora

  • Creating PDF from web template

    Hello,
    I have question on you who use creating PDF from web templates. We want to implement this opportunity in our company. We know all conditions for implementation but we didn´t see yet the final result for end user. We have SAP BW 3.5. Do you know if it´s possible use (create) some new icon on web template e.g. PDF and via this icon create the PDF file or another user-friendly solution?
    Thanks for information.
    Petr

    Hello Petr,  
    We are using a 3rd party tool [IBS Solution|http://www.ibs-solution.de] for generating PDF and PPT files. We can also generate various types of chart with the same.
    You can also contact [Kai Wachter|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/38348], the founder of IBS Solution Ltd.
    You can register for free and get an free evaluation Version.
    [SAP Network Blog: How to create own Items in BW|/people/kai.wachter/blog/2005/05/23/how-to-create-own-items-in-bw]
    [Thanks|http://chandranonline.blogspot.com/]
    [Chandran|http://chandranonline.blogspot.com/]

  • Is there a user exit for Excel download from Web Template?

    Hi,
    Is there a user exit for Excel download from Web Template?
    Thanks,
    Frank

    Hi,
    I need to do some data manipulation before export to Excel.  I could use Table Interface to manipulate the data before rendering to the Web.
    Regards,
    Frank

  • Re: Returning Objects from Web Services

    Hello,
    I'm doing a project which uses Java web services. I'm using the Web Services templates under Netbeans 6 IDE to accomplish this.
    I have followed some basic tutorials and have set up a service that returns integer datatypes etc. I need to know how I can return an object from a webservice and have a client retrieve the attributes of this object.
    I have attempted this, and it returns server.Comp@8d8fce, the name of my class is "Comp", the package is "server" and I guess the hex value is the address of the object pointer.
    I've been looking around all day and I can't seem to figure this out. Could someone explain to me how this is done. Or maybe even point me in the right direction?
    Thanks,
    nerdjock

    From what you have written I assume you don't understand how to read/set object properties thats why it doesn't work for you. You can follow many tutorials found on the web like this one: http://www.netbeans.org/kb/50/quickstart-webservice-client.html#consumingthewebservice-j2se.
    When using Netbeans 6.0 or 5.5 basicaly you don't have to do much to create ws and ws consumer, just follow the wizards.
    1. Create the web service (either as a web applicaton or EJB)
    2. Create Java SE application, set "create main method" option
    3. Right click on the SE project and choose Create Web Service client,
    4. Pick up the WSDL of earlier developed web service
    5. Click Finish to generate the stubs.
    6. Expand created folder with generated stubs up to the method names
    7. Drag the method in the SE project main method scope
    For sure you can find more detailed tutorials on the web. Good luck!
    Kris

  • How to use stylesheet from web-template in portal

    Hello all,
    I want to integrate a web application consisting of several web-templates (BW 3.5) into a portal (EP 6.0) via iviews.
    When called from the portal the web-templates stylesheets are replaced by portal stylesheets.
    How do I force the portal to use the web-templates stylesheets.
    Thanks in advance,
    Denis

    You can define the styles you want in a *.css file then put a link in your jsp to use these styles.  You can also just put the styles directly in your jsp.  Either should work
    I have another post with some examples feel free to look there
    Hope this helps

  • Use HTTP Session to pass Object from Web Dynpro for Java to JSP page

    Is it possible to get a handle on the HTTP Session object from within a Web Dynpro application? I want to place a Java object in there that can be retrieved by a JSP page.
    Thanks in advance.

    Hi Tom Cole,
       You can try this. i am not sure if this will work or not.
    HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
    You can also try this.
    IWDRequest mm_request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
    HttpServletRequest request = (HttpServletRequest)mm_request.getProtocolRequest();
    IWDRequest basically wraps the HttpServletRequest. if you are using NW04s then the getProtocolRequest() may not be available.
    Regards,
    Sanyev

  • Extracting Array of objects from web service

    After a couple days of head banging I now have a webservice
    call executing and I am trying to extract / create a class from the
    ResultEvent:
    If the xml returned from the web service is:
    <people>
    <person name="Mike" />
    <person name="Dave" />
    </people>
    and the class is:
    class Person
    public var Name:String;
    The result event is:
    private function doResults(result:ResultEvent):void
    // how do I create an array of Person objects from result, I
    would also like to know how to create a typed array something like
    class PersonList if possible. I just need the raw how to loop the
    result and set the values on the class
    Thanks,
    Mike

    Well I wound up with just trial and error until I got it
    working, Im sure this will be improved as I go, but it's enough to
    press on with the app for now, this code is in the result function
    and result is the ResultEvent wich appears to be an array of
    generic objects representing the objects returned by the service.
    This in no way uses FDS and is talking to a simple dotnet / asp.net
    web service.
    // here app is a singleton class for app level data it is
    bindable and is used to update the view which in this example is
    bound to a public var MyObjects which in this case is an
    ArrayCollection, I unbox to MyObject in a custom view control
    for (var s:String in result.result)
    m = new MyObject();
    m.ID = result.result[s].ID;
    m.Name = result.result[s].Name;
    m.Type = result.result[s].Type;
    app.MyObjects.addItem(m);
    It also appears that you should create the WebService one
    time, and store refrences to the methods during app startup, the
    methods are called Operations and it appears you set the result and
    fault events then call send on the operation to get the data.
    // store this in a singleton app class
    var ws:WebService = new WebService();
    ws.wsdl = "
    http://dev.domain.com/WebService.asmx?WSDL";
    ws.addEventListener("result",doResults);
    ws.addEventListener("fault",doFault);
    ws.loadWSDL();
    // this is the operation which is also stored in the
    singleton app class
    var op:AbstractOperation = ws.getOperation("GetModules");
    // elsewere in the app we get the operation refrence setup
    result and fault and call send, then copy the generic object into
    our cutom classes using the first chunk of code above
    op.addEventListener("result",doResults);
    op.addEventListener("fault",doFault);
    op.send();
    I thought I would post this as I could find no such example
    in the offline or online docs, If anyone has a better way or see's
    a problem please post.
    I hope helps others with non FDS service calls and I look
    forward to hearing comments.
    Thanks,
    Mike

  • Call an ABAP routine from Web Template

    Hi Gurus,
    I Need to call an ABAP routine from a Web template or export value to memory to use in the variable exit.
    is it possible ?
    Thanks.
    Rodrigo

    Hi Ankit,
    take a look:
    /thread/725385 [original link is broken]
    WAD and ABAP
    How to call a ABAP or ABAP Class from the WEB
    /people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
    Regards
    Andreas

Maybe you are looking for