Toggle between Chart and Table

Hi there
ANybody know what I need to do in order to get the function SAPBCTToggleChartTable() function to work?
In the standard template, if data is viewed in a graph, an option appears to view the data for that graph in table format. We would like to have that functionality included in our own template, but it doesn't work for me yet
I have managed to copy the function and create a custom function. Added a link to call the custom function, which runs, but nothing gets updated on the page.
I don't have a chart as a webitem displayed on my page, and am wondering if this is causing the problem. We have a chart defined as a library item, and this chart is loaded when the view is changed.
Any ideas would be greatly appreciated.
Cheers,
Andrew

I found I could do this quite simply using 2 of my own JAVAScript functions.
The first function alternates from the graph to a table, and it simply issues the RESET_ITEM command on my table.
The second function alternates back from the data table to the graph by simulating a click on the query view selection drop down (just resubmits the associated form).
I then have logic in the page startup event to either hide or show the appropriate buttons.
Relatively  simple, and best of all is that it seems to work quite nicely.
Thanks for the advice though

Similar Messages

  • E72 - How to toggle between portrait and landscape...

    Some games refuse to run by displaying "This game is not supported in landscape mode. Please turn your handset to portrait mode".
    How can I toggle between landscape and portrait modes in Nokia E72?

    You can't do that because of the screen orientation which is landscape only in case of E72, E71, E5.
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • Differrences between structure and table in data dictionary in ABAP?

    What is the differrences between structure and table in data dictionary in ABAP?
    are they same?

    Tables :
    1. The place where the data is stored so that you can retrieve at any time.
    2. There can be more than one record stored
    Structures :
    1. The data / info stays only during the runtime of the application and will not get stored at all during the run time ....
    2. Only one record can be stored at the runtime .....
    A structure forms the skeleton of the table.
    A structure comprises components i.e., fields. Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth
    Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.
    When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.

  • Getting remote context to "s1" is toggling between "s1" and "s2"

    I'm on WLS8.1SP4.
    I have an app that runs on my admin server, which communicates to a custom mbean hosted on my cluster (managed servers "s1" and "s2"). Some of the operations in the app send the same message to both "s1" and "s2", and some of the operations target either "s1" or "s2".
    Each time the app needs to connect to the mbean on a specific server, it gets the remote context to the server, using the Environment object, setting the provider URL to the URL for that server (I've watched this in the debugger). From that remote context, it does the JNDI lookup, gets the RemoteMBeanServer object, builds the ObjectName for the attribute (most of the calls are just attribute get/set calls), and then calls "getAttribute()" on the remoteMBeanServer. This all seems ok.
    Here's where something goes wrong. What I see happening is very odd. When the application first starts, it makes a set of calls specifically to "s1" and "s2". This first set of calls appears to be ok. However, when I make it go through the same set of calls again, all the calls that specifically build a URL for "s1" actually end up calling "s2". I can verify this by monitoring the debug output in the "get" methods in the mbean code. When I make it go through the calls again, it does them correctly. It very consistently toggles back and forth between "s1" calling "s1" and "s1" calling "s2".
    I'm at a loss to understand why this is happening.
    My admin server (where the main app is running) is Win2k Server, and the managed servers are Solaris 8.
    I've managed to repeat this on a different domain, but hosted on the same distribution and set of servers.
    I filed a ticket for this, and the engineer is working on building a test case to see if they can repeat this.
    I tried one experiment they wanted me to try, by adding the admin server to the cluster, effectively making the main app communicate to "s1", "s2", and "adminServer". What I saw happen with this configuration is that calls to "adminServer" always went to "adminServer", and the same with "s2". The calls to "s1" continued to toggle between "s1" and "s2".

    Minor clarification: I realized that the domain this is on is actually running 8.1SP2 (not SP4).

  • I cannot toggle between front and rear cameras on my iPad 4; any ideas?

    I cannot toggle between front and rear cameras on my iPad 4; Any ideas?

    Make sure IOS is updated to latest version
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings

  • Toggle between Rosetta and Universal

    I just installed Flip4mac wmv, in the post is suggested that I select Rosetta in the Get info panel that all went well and I was able to watch the wmv file, no problem.
    My question is how do I get out of or toggle out of Rosetta back into Universal. I have looked on different sites, I must have missed something, I can't seem to figue out how to do this.
    Please excuse my lack on knowledge, this is my second week on a Mac.
    Many thanks.

    I went into Quicktime and was able to select Get Info to change to Rosetta, yet there is no option to go back to universal. What I m reading on the posts that suggested that you can toggle between Rosetta and Universal, or am I misreading that.?
    My Mac Pro is Intel chipped.

  • Difference between ALV and Table control

    Hi folks,
    i want to know the major differences between AlV and table controls.
    i know that table control is designed in screen painter, but i want to know the major diff between Table control and ALV.
    helpful answers will be rewarded.
    Regards,
    Naveen

    Hi Naveen,
    Basically ALV is a way to display the output and Table Control is designed in screen painter through which you can get entries in Table Control, can delete some records etc for further processing and  its not use only for Display.
    <b>ALV is Application List viewer:-</b>
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. 
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. 
    <b>TABLE CONTROL:-</b>
    ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.
    Rewards if useful.
    Regards,
    Shilpi

  • Agent Desktop's agent state toggles between "ready" and "reserved

    Hello and thanks for all of your past help.  I have a user whos'e Agent Desktop's agent state toggles between "ready" and "reserved when no calls are coming in to he IP Phone 7941 or 7961.  Can anyone help?
    Thanks, Chet

    Is the agent's phone actually ringing at all? If not I suspect the IP IVR ports are unable to call the agent. UCCX tries to send a call to the agent so it sends the reserve event to the agent and then tries to send the call to the agent but is failing so it cancels the event flicking the agent back into ready. Perhaps check to make sure that the ports have an appropriate calling search space to call the agent extension. Maybe configure a phone the same as the IVR port and check to see if you can call the agent extension?
    Cheers,
    Nathan

  • Round 3 Digits before decimal in Chart and Table

    Hi Guys,
    Do you know where I can find the option/property in the chart and table to round 3 digits before decimal. Refer snapshot below:
    For example, in below case Y axis original value is 40,000, 80,000 etc. but it should show on the graph and table without '000' 
    Thanks.
    Warm Regards Badal Ratra

    Hi Badal,
    After testing the issue in my local environment, we can refer to the following steps to achieve your requirement:
    Right-click the vertical axis (or textbox in table) to open the Vertical Axis Properties (or Text Box Properties) dialog box.
    Click Number in the left pane, then select Number under Category group.
    Set “0” as Decimal places, select “Use 1000 separator (,)” and select “Show values in” with “Thousands”.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Chart and table in WAD.

    HI all,
    I want display web items  chart and table one below the other in web templet , but when I try to drop then one below the other in empty web templet , they are palce side by side automatically. how we can display then chat and table blow each other.
    hari

    hi reddy,
    i agree with Vineet.Alternatively u can also place your Chart and then next to chart press "Enter".
    The cursor moves down, then you can place your table.
    Either ways its possible.
    hope it helps,
    regards,
    Parth.

  • How to change the capture resolution of CaptureDevice and toggle between front and rear camera

    Hi. I'm using Visual Studio 2013, and the Windows Phone App template. I'm using the Microsoft.Devices / CaptureVideo API to capture video. I now want to set the resolution to capture the video in a specific(available) resolution. How do I do that?
    Code snippet reference to API:
    CaptureVideo vcDevice = CaptureDeviceConfiguration.GetDefaultVideoCaptureDevice();
    and I also want to put a button there to toggle between front and rear camera. If I click the button, and the rear camera is currently active, the front camera must become active and vice versa. How do I do that with this API?
    Thank you.

    visit this page to know how.
    http://stackoverflow.com/questions/25466088/how-to-switch-to-front-camera-in-windows-phone-8-1-winrt-jupiter

  • PLMD_AUDIT - Toggle between Display and Change - Important!!

    Hello all,
    I've a problem when I work on PLMD_AUDIT.
    Pre-requisite for replicating the issue.
    1> Change the settings in PLMD_AUDIT (a face like icon) to Display mode
    When I run PLMD_AUDIT for an Audit with Action, it displays me the "Grouping" field and the "Involved Persons" tab values correctly.
    But when I toggle from Display to Change, the value in "Grouping" and the "Involved Persons" tab vanishes.
    Can you please check in your system and let me know if you also face this issue?
    Thank you in advance,
    Vaishnavi

    Hello Keerthi,
    Thanks for your reply.
    Please follow the below mentioned steps.
    1) Change your time zone to a different time zone other than the created time zone of the action.
    say if action has been created in London time zone, change system zone to some other than London.
    2) Change the Settings in PLMD_AUDIT tcode (face like icon) to Display
    3) Open any audit WITH ACTION.
    4) When you double click on Action inside the audit, the action will be opened in Display mode.
    5) Now toggle between Display and Change.
    6) Kindly check if the values in the "Grouping field" and BUPA roles in "Involved Persons" tab are present now after toggling?
    Please let me know at the earliest.
    Your assistance is highly appreciated in this regard.
    Thanks in advance,
    Vaishnavi

  • Every time I toggle between silent and regular sound the sound effects disappear on mail how do I fix it?

    Every time I toggle between silent and regular sound the sound effects disappear on mail how do I fix it?

    With headphones?
    With speaker?
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              

  • UCCE 8.5 Sometimes Agents state toggles between Ready and Reserved

    Hi,
    Sometimes Agents state toggles between Ready and Reserved.
    Our System is UCCE 8.5 and components versions are ICM 8.5.4, CVP 8.5, CM 7.1.
    If Help we use QueueTOSkillGroup node with requery.
    thanks

    Hi,
    If agent is getting Reserved and if the call did not arrive to the agent, there few things we need to check like
    * This mostly happens only for few agents with similar series of Extension (like 5XXX)
    * Phone which has this problem, you need to check the Partition/CSS setting from CUCM side
    * You can check Device Target is configured for that Extension (mostly people use Agent Targeting Rule with the range of    Extensions, make sure this exension is covered in that range)
    * You can check in you CVP, whether you have Routes configured for this series of extensions.
    But usually if this kind of instance happened for an agent for 2 call, the Agent should be moved into NOT READY state automatically by the system with the Reason code 50010.
    Are you sure they are going to Ready state ? Are they manually chaning the state to Ready state or it is automatic
    There are lot of posts in the forum with similar issues
    Regards,
    Senthil

  • Cannot toggle between 2g and 3g

    Im from Sri Lanka and my carrier is Dialog. Im unable to toggle between 2G and 3G. Since the 3G signal strength is sometimes weak it drains alot of battery. Please help...

    dulan1086 wrote:
    But doesnt all the other phones (Nokia, Samsung, HTC etc) have it as a device update? It would be easier for the users. We pay for the phone not the carriers
    You pay the carriers to use their network. They set the terms for that. If an iPhone does not meet your needs sell it and buy a phone that does.

Maybe you are looking for

  • How to delete recurring objects in one shot

    I have a logo that appears on 50+ pages that now needs to be removed. I was hoping I could choose it in Links and hit a delete button and have all of them gone in one fell swoop. But there's no delete option there. Can this be done at all, and how? T

  • How can i get my samsung galaxy 2 to print to my hp 5520 printer?

    How can i get my samsung galaxy 2 to print to my HP Photsmart 5520 printer; is there an app?  When I try to print I get the following message: You can only print on Samsung printer. Continue?  When I go to Wi-Fi settings in my phone it shows that I a

  • Anyone else get a presale reservation that did not work?

    I was on apple.com & AT&T at 11:55 pm and refreshed for around 15 minutes..both sites were still down. Googled iPhone 5 to see what others were saying and all said to order on my iPhone..which I did. Email stated I had a reservation and weould receiv

  • N95 Problem

    Hello people, i have encountered recently a problem with my N95, like 1 month ago suddenly the "menu" button stopped working...i thought the button itself had a problem...so i kept pressing it over and over and after few hours i could hear the button

  • HT201210 iOS 7 problems with download and restore on ipad mini

    I downloaded iOS 7 on my ipad mini. When I tried to restore it on iTunes, it says it's extracting my software, but when it's done extracting, it says it can't be restored due to an error. I read troubleshooting page & did updates. Restarted computer