IChart Date updation problem in version 12.1

Hi,
I have created a Line iChart for a TagQuery in which I am passing  the Tags ,start date, end date and server (simulator) through the following script
                                          var chart = document.iChart;
          var qryObj = chart.getQueryObject();
          qryObj.setServer("simulator");
          qryObj.setStartDate("01/14/2011 07:00:00");
          qryObj.setEndDate("01/14/2011 07:01:00");
          qryObj.setDuration(60);
          chart.refresh();
I am getting the Line Chart but it is always displaying the StartDate as system current date and EndDate as StartDate +60 min (in setDuration)  but I need Line Chart for the date's which I am passing through the script
Thank you for the answers in advance..

Use: updateChart(true) instead of refresh()
Your query is time based, so it will 'refresh' the chart to the most recent duration.
http://help.sap.com/saphelp_mii122/helpdata/EN/44/b305d64c7914e6e10000000a114e5d/frameset.htm

Similar Messages

  • Data updation problem?

    Hi All,
    I have two buttons, submit and save. in submit i am calling FM through service call to get data. data is coming correctly.
    In save i am trying to save any changed data. but changed data is not saving, i checked through debug in table showing changed data, but in database it is not updating.
    code i am using in SAVE button.
    DATA lo_nd_it_vttk TYPE REF TO if_wd_context_node.
      DATA lo_el_it_vttk TYPE REF TO if_wd_context_element.
      DATA ls_it_vttk TYPE wd_this->Element_it_vttk.
      DATA lt_it_vttk TYPE wd_this->Elements_it_vttk.
    Data lt_it_vttk type STANDARD TABLE OF if_main=>Element_it_vttk.
    DATA lt_it_vttk TYPE STANDARD TABLE OF vttk.
      DATA wa_vttk TYPE vttk.
    navigate from <CONTEXT> to <IT_VTTK> via lead selection
      lo_nd_it_vttk = wd_context->path_get_node( path = `ZSHIPMENT_CHANGE.CHANGING.IT_VTTK` ).
    get element via lead selection
      lo_el_it_vttk = lo_nd_it_vttk->get_element( ).
    get all declared attributes
      lo_el_it_vttk->get_static_attributes(
        IMPORTING
          static_attributes = ls_it_vttk ).
    ******Changing DATA ************
    WA_VTTK-EXTI1 = LS_IT_VTTK-EXTI1.
        WA_VTTK-DTDIS = LS_IT_VTTK-DTDIS.
        WA_VTTK-UZDIS = LS_IT_VTTK-UZDIS.
        WA_VTTK-DPREG = LS_IT_VTTK-DPREG.
        WA_VTTK-UPREG = LS_IT_VTTK-UPREG.
    append WA_VTTK to lt_it_vttk .
    MODIFIED DATA IS COMING TO  lt_it_vttk  TABLE. BUT NOT UPDATING DB
    lock the table
      CALL FUNCTION 'ENQUEUE_E_TABLE'
        EXPORTING
          MODE_RSTABLE   = 'E'
          TABNAME        = 'VTTK'
        EXCEPTIONS
          FOREIGN_LOCK   = 1
          SYSTEM_FAILURE = 2
          OTHERS         = 3.
      MODIFY VTTK from table lt_it_vttk.
      if sy-subrc is initial.
        COMMIT WORK .
      else.
        ROLLBACK work.
      endif.
      CALL FUNCTION 'DEQUEUE_E_TABLE'
        EXPORTING
          MODE_RSTABLE = 'E'
          TABNAME      = 'VTTK' .
    In this i am missing anything? Please Help.
    Thanks,
    Madan.

    I guess the problem is here.
    ******Changing DATA ************
    WA_VTTK-EXTI1 = LS_IT_VTTK-EXTI1.
    WA_VTTK-DTDIS = LS_IT_VTTK-DTDIS.
    WA_VTTK-UZDIS = LS_IT_VTTK-UZDIS.
    WA_VTTK-DPREG = LS_IT_VTTK-DPREG.
    WA_VTTK-UPREG = LS_IT_VTTK-UPREG.
    you are not passing any key fields value here.
    i guess you need to pass the value of
      WA_VTTK-TKNUM field also.
    SO ADD
    WA-VTTK-TKNUM = LS_IT_VTTK-TKNUM.
    Thanks
    sarbjeet singh

  • IDOC segment Data updation problem

    I have done the Idoc extention for ORDERS05.I have written a code to insert data for my z segments in IDOC_INPUT_ORDERS.But when I run the program its not updating data to z segements as well as other segments
    What may be the problem..
    READ TABLE dedidd INTO wa_edidd WITH KEY segnam = c-e1edka1
                                                      sdata(3) = 'AG'.
            IF sy-subrc = 0.
              CLEAR w-index.
              w-index = sy-tabix.
              wa_e1edka1 = wa_edidd-sdata.
              CLEAR : wa_e1edka1-parvw,
                      wa_e1edka1-partn.
              wa_e1edka1-parvw = w-parvw.
              wa_e1edka1-partn = w-inpnr_ag.
              wa_edidd-sdata = wa_e1edka1.
              MODIFY dedidd FROM wa_edidd INDEX w-index TRANSPORTING sdata.
    ENDIF.
    Thanks
    Umesh

    Hi,
    Use Comparing fields addition in MODIFY Statement...
    MODIFY ........ COMPARING <key fields>
    Hope this would help you.
    Regards
    Narin Nandivada.

  • Large data update Problem

    I have a temprary table with 5 million rows (A)
    which needs to be appended with 90 million row table (B).
    60% of the rows of the 5mil rows already exist in the big table
    i need to update/merge the table A data with table B
    Oracle version is 8.1.7
    Please advice which method is the fastest

    hi raghu,
    this is the portal content management forum. please post your database related question in the following forum:
    General Database Discussions
    this is the appropriate place to post database related questions.
    thanks,
    christian

  • Plz hlep my : iso 7  4s /There is a problem in my iPhone device after updating the new version needed to ActiveX wants amyl, bus and my Lord and unfortunately forgot this data, what work Please reply my machine data is

    There is a problem in my iPhone device after updating the new version needed to ActiveX wants amyl, bus and my Lord and unfortunately forgot this data, what work Please reply my machine data is
    Imei: 013055008069758
    SerialNumber:DN*******TC0
    mlbserialNumber: DQ************42D
    plz hlep me
    <Personal Information Edited by Host>

    There is a problem in my iPhone device after updating the new version needed to Active iPhone 4s
    and
    I upgraded to 7.0.3 yesterday and now my battery only lasts about 4 hours with very little active use.
    iOS 7.0.3

  • There is a problem in my iPhone device after updating the new version needed to ActiveX wants amyl, bus and my Lord and unfortunately forgot this data, what work Please reply my machine data is

    There is a problem in my iPhone device after updating the new version needed to ActiveX wants amyl, bus and my Lord and unfortunately forgot this data, what work Please reply my machine data is
    Imei: 013055008069758
    SerialNumber:DN*******TC0
    mlbserialNumber: DQ************42D
    plz plz plz hlep me
    <Edited by Host>

    There is a problem in my iPhone device after updating the new version needed to Active iPhone 4s
    and
    I upgraded to 7.0.3 yesterday and now my battery only lasts about 4 hours with very little active use.
    iOS 7.0.3

  • Firefox updated to latest version, now I can not enter data in a discussion board dialog box in Blackboard. IE8 had same problem, change to compatability mode and IE functions. Any fix for firefox?

    Am using Blackboard to teach classes at college. Have not updated firefox at college, works great. Wife hit yes to update to latest version last week. Now can nan not reply in the discussion board, the curser is not recognized in the dialog box.

    Try to disable hardware acceleration in Firefox.
    *Firefox > Preferences > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I am using iphone 3gs and have accidentally clicked "update" to software version 5. However, after I failed and all my data was lost. I manage to restore back to my previous situation. But all my apps has been gone. How can I get back all my aps?

    I am using iphone 3gs and have accidentally clicked "update" to software version 5. However, after I failed and all my data was lost. I manage to restore back to my previous situation. But all my apps has been gone. How can I get back all my aps? I know I can get it by itunes but there are a few problems as below:
    1. I have jailed break my iphone and I never purchased any apps from itunes
    2. I have some important infomation saved in one of the apps called "awesome notes". How can I get it back? Is it store inside my computer? if so, how can i restore?
    3. I am using window 7
    I sincerely hope you guys can help me.
    Regards,
    Stephen Hong

    alrite. I have made my mistake. I should not jail break my iphone. So if I purchase my apps again from itunes is that mean mean my data will be back?
    I hope you guys can giv me some support here since I am Apple genuine buyer. I could be wrong last time and now I turn over a new leaf and learn a lesson.
    Please noted that I can always create new account to ask for the same questions without mention about "jailbreak" if I want to but obviously I won't do that. Please provide me your support! Thank you!

  • Version Cue Server 4.0.1 Update Problems

    I've recently run into a problem with Version Cue Server 4.0.1. I've been using "Adobe Creative Suite CS4 Master Collection" without any problems until a couple of days ago when I ran the updates.
    The updates locked up and failed on Version Cue, and after that, every time I right click on my desktop or in Windows Explorer, I get the error message:
    "The specified module could not be found. C:\Program Files\Common Files\Adobe\Adobe Version Cue CS4\4.0.1\VersionCue.DLL"
    Then everything crashes and reloads.
    I called tech support and they said to reboot in a simplified mode, create a new administrator account, and reinstall version cue. Didn't work. I tried reinstalling both from the CD and from the downloaded update. Same problem. The installation goes most of the way and then fails.
    I uninstalled Master Suite and was able to right-click again without problems, so I went back to a simplified boot and tried re-installing the software...which crashed my computer and caused the same right-click error message.
    As I said earlier, everything worked fine right up until the point I ran the updates, so I know the software will run on my computer (Vista 32bit service pack 1).
    Thoughts?

    All,
    I personally have been driving this issue at Adobe. As mentioned before, we've been hindered by the fact that we cannot yet reproduce the problem on a machine in our offices. But I've been doing all that I can to coordinate between customers and Senior Computer Scientists who are investigating this.
    Here's the new information that has been learned by remotely debugging on customer's machines (great thanks to those who have made time for this!).
    The problem is isolated to the binary patching function in our update components. This means updates that modify the files on your current system are impacted. Updates that simply replace the existing files with all new versions of the files, are not affected. While I don't have a complete list of which update uses which method, I can say that the recently released Photoshop CS4 and InDesign CS4 updates use a full file replacement method, so they should be no risk.
    It was earlier believed that this problem only happened in the context of the Adobe_Updater.exe, which downloads the updates and runs them in with UI suppressed. This is now known not to be true, so "manual" running of the updates is not a valid workaround (sorry for those who spent time trying this).
    There is some suspicions that the issue has to do with the temp folder being used by the updater. I've tested a private build with a change in this area on a couple customer machines, and got more elegant failures (didn't cause apps to stop working), but still no success
    Lourens Van Der Jagt,
    I found your observation about the "FAST IO DISALLOWED" messages to be very interesting, and forwarded that, along with results of my recent tests of the private build, to the devs.
    One other thing that I found on the Vista machines I've looked at, which I'm curious about. On all machines I've looked at, the NTFS junction (looks like a shortcut) named "Program Data" in the root of the user folder is visible, while all other junctions are not. And, the junction can be browsed. All other Vista systems I've ever seen do not display this unless protected system files are asked to be displayed, and then they cannot be browsed.
    I want you all to know that I have been working hard to represent you and get a resolution for this. I appreciate the hardship it presents to you, and I take it very seriously. Please keep the dialog going, and I'll try to keep updating here and in other threads as much as I can.
    Sincerely,
    Matt

  • Unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    Hello chae84swangin,
    I recommend following the steps in the article below when getting an error message trying to install iTunes:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I tried updating iTunes to version 11.1.1, but installation fails each time even when I did it manually as was suggested.  The message I receive is: "The installer has encountered an unexpected error installing this package.  This may indicate a problem"

    I tried updating iTunes to version 11.1.1, but installation fails each time even when I did it manually as was suggested.  The message I receive is: "The installer has encountered an unexpected error installing this package.  This may indicate a problem with this package.  The error code is 2324."

    Hi hongkongpom,
    Just wanted to say that after posting the problem, I had a chat with an iTunes' Tech Support, her name is Rebekah.  My problem was resolved after that.  Will list the chat history below in hopes that it may help you as well.
    Good luck!
    Samia  
    Chat Transcript
    Friday, October 4, 2013 05:55 AM
    Duration: 81 minutes 28 seconds
    Rebekah:
    Welcome to AppleCare chat support. Please give me a moment to look over your information.
    Rebekah:
    Hi, Samia! My name is Rebekah. If we get disconnected, please chat us back. http://www.apple.com/support/ipod/contactEnter the case number from the initial email we sent you. This gives the next advisor you chat with immediate access to your case history.
    Rebekah:
    Could you please confirm your serial number? I want to be sure we provide the best service possible for you, Samia!
    SAMIA:
    Sure, it's 8L8395UY2C5
    SAMIA:
    My problem is with iTunes.
    Rebekah:
    Thanks for that confirmation. Just a heads up, this is iOS Tech Support. We do support iPod touches, iPads, and iPhones, but not the iPod classic. But no worries! I can get you in touch with a phone Advisor who can get you in touch with the department that specializes in iPod classics and would be able to better assist you. Would that be OK?
    SAMIA:
    I wasn't able to install the new version of iTunes (version 11.1.1). The installation keeps failing. The they suggested the I install it manually and that failed too. I will attach the message I received.
    SAMIA:
    I don't have a problem with iPod.
    SAMIA:
    Just iTunes
    Rebekah:
    No problem! We can certainly troubleshoot iTunes as much as possible. It may come to the point that you may have to transferred, but we can do as much as possible during this chat!
    Rebekah:
    Thanks for the screenshot. It is a bit small so I am unable to fully see the message that you are receiving. What is the error message you are receiving?
    SAMIA:
    This is the message I received in case you weren't able to open the attachment: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2324."
    Rebekah:
    Thanks for that info!
    SAMIA:
    Pleasure!
    Rebekah:
    What version of Windows (XP, Vista, 7) do you have?
    SAMIA:
    Windows 7
    SAMIA:
    Windows 7 Home Premium
    Rebekah:
    Thanks for that confirmation. I do apologize for the delay, Samia. I am researching this error code now. You mentioned trying to install iTunes manually. To be sure I am on the same page, what steps did you take to do that?
    SAMIA:
    Well when the indsatalltion failed I was given instructions to select Download Only from Tools and then install manually. When I did it, I window popped up with the following items: - AppleApplicationSupport
    SAMIA:
    - AppleMobileDeviceSupport64
    SAMIA:
    - Bonjour64
    SAMIA:
    iTunes64
    SAMIA:
    SetupAdmin
    SAMIA:
    I selected Repair in all of them instead of Remove and all worked but iTunes64
    SAMIA:
    That's when I received the message that I sent you earlier.
    SAMIA:
    By the way, this is the fir st time something like this occured. I never had problems with installation before.
    Rebekah:
    I completely understand what you're saying. Since that Repair did not resolve the issue, our best option is to uninstall iTunes and its components and redownload it. To do this, we will follow the steps in this article: Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Rebekah:
    First, we will want to quit iTunes and/or Apple Software Update if those are open at this time.
    SAMIA:
    Rebekah, the instructions you gave says, "For Windows XP, follow these steps to remove and reinstall iTunes and other software components for Windows XP."
    SAMIA:
    I closed all applications
    SAMIA:
    Also, my iTunes doesn't open anymore after the new failed installation.
    Rebekah:
    The section that says "For Windows XP…" is in case we opened up the wrong article, as we have the one for Windows Vista, 7, or 8. There is a link to click ("these steps") in those directions that would take us to the article for uninstalling on a Windows XP.
    Rebekah:
    So no worries! We have the right article!
    Rebekah:
    On the computer, we will want to click on Start > Control Panel. In Control Panel, we will click the "Uninstall a program" link.
    SAMIA:
    I thought so after doing a little exploration.
    SAMIA:
    done
    Rebekah:
    Alright, we'll want to select iTunes from the list of currently installed programs. Then we will click Uninstall. When asked if you would like to remove iTunes, let's click Yes.
    Rebekah:
    After the uninstallation is complete, we don't want to restart your computer if you're prompted.
    SAMIA:
    Done
    Rebekah:
    Then if you see other iTunes entries on the list, we'll want to remove them the same way.
    Rebekah:
    Then we will remove all instances of Apple Software Update the same way you removed iTunes.
    SAMIA:
    Okay, but do I have to remoce iCloud as well?
    SAMIA:
    Rebekah, I received the same error message again when uninstalling
    Rebekah:
    We actually do not need to remove iCloud. After the Apple Software Update, we will want to remove all instances of Apple Mobile Device Support
    Rebekah:
    How strange! Are you able to click past that and allow the process to continue or has it stopped it completely?
    SAMIA:
    I am unable to uninstall iTunes either
    SAMIA:
    Stopped completely
    SAMIA:
    I treied clicking Repair
    Rebekah:
    Alright, after trying the Repair option, let's see if it will allow us to continue uninstalling or not.
    SAMIA:
    I tried that but unfortunately, it isn't working. I still get that same message with error code 2324.
    Rebekah:
    This error code is not something that I am finding in my sources, Samia. So there is a chance that it is being caused with the Windows computer itself. However, I did find a link that may be able to help with uninstalling iTunes from Windows' support site: http://support.microsoft.com/mats/Program_Install_and_Uninstall
    SAMIA:
    Rebekah, you're a genius! It worked! iTunes is no longer there. What next?
    Rebekah:
    Awesome! I'm glad that worked!
    Rebekah:
    To be sure I am on the same page, what was the last component we uninstalled?
    SAMIA:
    iTunes
    SAMIA:
    Shall I remove the Apple Application Support, Apple Mobile Device Support, and Apple Software Update
    Rebekah:
    That is correct! However, we do want to uninstall it in the order I mentioned above. So Apple Software Update first, Apple Mobile Device Support next, and then Apple Mobile Device Support.
    SAMIA:
    Got it, but is the second one to uninstall Apple Mobile Device Support OR Apple pplication Support?
    Rebekah:
    The second one is Apple Mobile Device Support.
    Rebekah:
    The Application Support will be the last component we uninstall.
    SAMIA:
    Thanks! I'm on it.
    SAMIA:
    Done! ll 3 are gone, well 4 with iTunes. Now what?
    Rebekah:
    Awesome! Also, I just noticed that I accidentally typed Apple Mobile Device Support twice, I do apologize for any confusion! Now we will remove all instances of Bonjour and then remove all instances of Apple Application Support.
    SAMIA:
    There was only 1 instance with Bonjour. I don't know what the instances are for Apple Application Support
    Rebekah:
    Yes, Bonjour is often only listed once. Is the Apple Application Support listed at all?
    SAMIA:
    No
    SAMIA:
    Since I removed it
    Rebekah:
    Oh, perfect! If it was removed, we should be set!
    Rebekah:
    We have removed iTunes and its components now! From here, our next step is to restart the computer. Then once you reboot, you can redownload iTunes from apple.com/itunes
    Rebekah:
    That should allow you to download iTunes!
    SAMIA:
    Shall I downloaad the latest vesion?
    Rebekah:
    You will want to first restart the computer as shown in the article. That will ensure that this process goes smoothly and that everything was removed correctly! Then you can try downloading iTunes again.
    SAMIA:
    Okay, thanks Rebekah!
    Rebekah:
    You're very welcome! I'm glad I could help! And of course if you have any issue after the reboot and download, you can always chat us back, as chat is open 24 hours! You will just need to give your case number and the next Advisor would have all my notes!
    SAMIA:
    Thanks again for all your help, for I couldn't have managed with out it. Have a nice day!
    Rebekah:
    You're very welcome! I know how important iTunes is and I'm glad we could get you on a path to resolution!
    Rebekah:
    I hope you have a lovely day!
    Rebekah:
    It's been a pleasure speaking with you! Thanks for chatting with us Samia. If you don't have any more questions, select End Chat from the upper left corner of the chat window.
    SAMIA:
    Will do, thanks.

  • I am running Windows 7  and trying to update to iTunes version 10.5 (from version 10.3.1.55) and I keep getting the following error message, 'Error occurred while installing the updates. If the problem persists, choose Tools Download Only and try instal

    I am running Windows 7 home edition and trying to update to iTunes version 10.5 (from version 10.3.1.55) and I keep getting the following error message, ‘Error occurred while installing the updates. If the problem persists, choose Tools > Download Only and try installing manually’ which I do only to have the same error message pop up.

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • HT5654 I have a new iPhone 5s. When I try to sync it with my iTunes account it is unable and advises to update iTunes to version 11.1. Whn I attempted this iTunes advised that the current version I have (10.6.3) is the most up to date!

    I have a new iPhone 5s. When I try to sync it with my iTunes account it is unable and advises to update iTunes to version 11.1. Whn I attempted this iTunes advised that the current version I have (10.6.3) is the most up to date!

    If you're on a Mac, you need to upgrade it to Mac OS X 10.6.3 and then 10.6.8, which requires that it has an Intel CPU and at least 1GB of RAM.
    (100999)

  • Problem in data update to BW

    Hi All,
    We are facing a very peculiar problem while data updating in BW. Data for GL, AR gets updated evryday twice through process chain. But sometimes even after normal load data does not gets updated properly and changed data comes after 2-3 loads though it sould have come before. Can you pls provide possible suggestion for this behaviour.
    Thanks in advance,
    Sananda

    Hi Sananda,
    Please got through the below article
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a00ae8f2-03ad-2d10-71b7-962915661a93?quicklink=index&overridelayout=true
    and can you tell me the type of delta update you are using
    This should be because of your delta update mode
    Hope this helps
    Regards,
    Venkatesh

  • Problem after updating to latest version 10.0.1

    After updating to latest version 10.0.1, every time Firefox starts it checks for add-ons compatibility before opening, this is very irritating. How can I stop this?

    See:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.org/kb/Preferences+are+not+saved
    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to do a compatibility check or see if there is a compatibility update available.

Maybe you are looking for