What was the required code to check the Idle of the application in wedbynpr

Hi all
we have the requirement as follows.
in webdynpro application we have only one view , inside a view we have many UI elements like TableUi,buttons,checkboxes,radio buttons and also sorting and filtering fucntionalities in a table . for TableUI element, the data has come from SAP R3 system and getting the records displayed in table after calling the BAPI.
based on the actions of checkboxes, radio buttons, buttons, sorting and filtering in a table then the table records has been displayed in a table from BAPI into Table UI element based on the actions of button,checboxes, sorting and filtering in a table etc.
currently we have a TimedTrigger UI element in a view , based on the time we had set as 30 seconds then the table records are getting updating from Backend to Table UI on Calling BAPI that is fine.
Now our requirement is we want to enable TimedTrigger UI element only the application is idle means when not performed due to any action in a view then only we want to trigger the TimedTrigger UI element.suppose when any action like sorting & filtering or button action,checkbox action is happend then we want to stop the TimedTrigger UI element not to refresh.
How to  check Application status whether it is Idle or not , is there any required to check the status of the applicaiton at View level then only we will write the code by making the condition saying that if application is Idle then perform the TimedTrigger UI element for refreshing the records from BAPI into Table UI element otherwise stop the TimedTrigger UI element if it is not an Idle means there is no action performed in a View due to any of the UI elements.
we dont want to check the conditon at each and every action of UI element and we want the same to check single time like whether any action is happend or not in any of UI element?
If any body have the code then Please share me then it would be great help to me.
if any body not understand the requirement then please let me know to explain indetail..
Thanks
Trisha.

Maintain a flag using session attributes it to one when the user is logs in set it to value.... and change set it zero or invalidate that session... when the user is logged out...
use something like this while user had logged in
session.setAttribute("flag",<unique_number>);
for checking whether the user had logged in or not...
if(Integer.parseInt(session.getAttribute("flag").toString())=!<unique_number>){
out.println("The session had expired");
out.close();
}

Similar Messages

  • Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain

    Hi All,
      I have created a custom web part in VS 2008 for Share point server 2010 with DevExpress v12.2.17, and deployed as Sandboxed solution. when i add that web parts in web part zone i am getting the error as "Web Part Error:
    Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred. ".
    If there is any way to get detailed error either log file or event viewer.
    Kindly advice to find the cause of the problem.
    Thanks,
    Selvakumar.S

    Hello,
    Are you impersonating your code? Have you tried to debug your code by attaching SPUCHostService.exe? if not please do so.
    You also need to check ULS log for more information about this error. Here is one ref link if this could help
    http://sohilmakwana.wordpress.com/2013/11/29/sandbox-error-unhandled-exception-was-thrown-by-the-sandboxed-code-wrappers-execute-method-in-the-partial-trust-app-domain/
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Why won't Apple give out the unlock code for an iPhone 3Gs when the contract was honored and I am still an AT

    Why won't Apple give out the unlock code for an iPhone 3Gs when the 2  year contract was honored and I continued to be an AT&T customer with an iPhone 4. I wanted my old 3gs unlocked so my daughter could use it overseas when she is deployed. AT&T service over there *****, the international plan was not worth it. The individual SIM cards per country are much more reliable and cheaper. Teslestial in Iraq and Afghanistan, Telecom in Croatia,Vodafphone in Germany and Italy.  Why Apple will not unlock these phones for our military to utilize is incomprehensible to me.  These young men and women are fighting for these Apple people to go to work every day, safe, to live lives they have become accustom to yet releasing a phone to use on another network they can't do at least for the military.... WHY APPLE??  WHY?   A good excuse not some of the many lame excuses I have received on the phone many times. AT&T states it is Apple that will not allow them to unlock the phones...  Please tell me why?  All I want Is my daughter to have a phone I trust, to be able to call me when she is given the free time to do so and I trust the apple phone.
    Apple, please reconsider your stance on this issue.  I am having a hard time understanding why you will not unlock the iPhone. 
    A simple code could allow me to talk to my daughter while fighting for our country the Great USA.  Apple should be on the front line and enabling those fighting for our life, liberty and pursuit of happiness to use unlocked phones on reliable local GSM networks.
    I honestly hope that someone who has some sort of authority to begin allowing the release of unlock codes, and not forcing people to unlock their phones with some program produced by some hack just to be able to use your wonderful phone.  That is is in a nutshell, People love the iPhone so much that they want the ability to use it on the most reliable GSM carrier available to them.  That should be a major compliment. Even men and women on the front line want your phone. I agree, my service is not the best where I live either, love the GSM technology so stay with it, but if I had the ability to change to the other GSM network that has much better coverage in this area of the country I would change. To change now I would not have my iPhone and that I will not part with. 
    Apple, please reconsider opening up the lock code and allow your gem of a phone to be used by many more people in many more areas and most importantly overseas fighting for our country.  I know if this is really thought about Apple would understand and come to the conclusion to release the unlock codes, and stop the people from hacking in to use the iPhone on other networks.
    I would love for my daughter to be able to use my iPhone 3gs while fighting for our Free country.
    A response would be appreciated.
    Thank you.
    An Apple customer for 10 years, phones and computers.
    P

    Defiled:
    I did sign a two year contract and completed that contract. The 3gs is no longer in service. My daughter is going overseas to protect you and your family. I was attempting to find a way for her to have a reliable phone that could offer her some connection with home as she travels through the middle east.  She travels in missions all over.
    At&T unlocks other phones of theirs why not the iPhone?  AT&T says that Apple will not give them the code, it is not the carrier.  If I would have known this situation would have come up I would have bought and unlocked 3gs phone"Deggie" .  My main complaint is that Apple has not good excuse as to why they will not allow their phones to be unlocked from services well, AT&T .  I bought the phone full price, completed the contract terms, even went for and iPhone 4 with another2 year contract, along with owning an apple computer... I love the product.  My main issue is give me a good answer as to why you won't allow a phone to be unlocked. It doesn't hurt Apple, People still have to buy the phones from them, and use their App store and iTunes.
    Sorry, just upset about my daughter heading over there, boots on the ground, and just pray she will be safe. Would have liked to facetime her while she is in the airports and in specific areas allowed for that.
    Please don't come down on me for asking this question. I understand all the contracts etc.... but to single out the iPhone specifically to not unlock after contract is over does not seem fair.
    Thank you for your responses.

  • I had to restore my computer to the factory settings, which means my itunes library was lost except for what was on my ipod nano.  How do pull the songs from my ipod back onto my computer?

    I had to restore my computer to the factory settings, which means my itunes library was lost except for what was on my ipod nano.  How do pull the songs from my ipod back onto my computer?  I have over 200 songs.  There is no way I can re-purchase them!  Any help?

    How to use your iPod to move your music to a new computer 

  • HT2589 what is a security code when you are registering at the iTunes after you have put in your credit number

    What is the security code when you are registering in the iTunes Store just after you have put in your credit card number?

    It's the 3 or 4 digit code that is on the credit card, it's on the front of some cards, or others it's on the signature strip on the back : http://support.apple.com/kb/HT3541

  • HT201210 what is the error code 1051 im trying to fix the iphone 3G it keeps telling me to conect to itunes it starts to install the gives me the error code

    what is the error code 1051 im trying to fix the iphone 3G it keeps telling me to conect to itunes it starts to install the gives me the error code

    I suspect you meant 1015, not 1051. You have a jailbroken phone. you can't get help here.

  • I activated a gift card recently and it accidentally was destroyed. Can I check my balance without the pin?

    I activated a gift card recently and it accidentally was destroyed. Can I check my balance without the pin?

    I believe the item will get automatically charged to the credit unless it is an item for which such a payment method is not valid (e.g., a gift card).
    Showing account balance in iTunes and on a mobile device - https://discussions.apple.com/message/20443884

  • I was sent an email which I thought was legit . I opened an attachment (zip file) but nothing in it. I phoned the bank to double check, and of course the email was bogus. How can I tell whether my macbook air version X.9.4 has a virus or not.

    I was sent an email which I thought was legit . I opened an attachment (zip file) but nothing in it. I phoned the bank to double check, and of course the email was bogus. How can I tell whether my macbook air version now has a virus?

    No Mac viruses are propagated through email.
    Be vigilant for suspicious activity as you normally should be, but do not download or install some "anti-virus" utility in an effort to fix a problem that does not exist. That's a well-worn path to certain misery.

  • The tax code entered is not defined in the company code country.

    Dear sap guru's
    I am facing a problem while doing invoice or while cancelling the invoice or even during Subsequent Credit/Debit
    Tax code V0 in procedure  is invalid
       Message no. FF704
    Diagnosis
       The tax code entered is not defined in the company code country.
    System Response
    Procedure
       Check and, if necessary, correct the entry.
    Procedure for System Administration
       If it is not an input error, check and possibly change the system
       settings.
       To do this, choose Maintain entries (F5).
       1.  Check whether the required tax procedure has been allocated to the
           company code country. The Procedure field is on the detailed screen.
       2.  If you need a new tax code, you can create one yourself.
    For this i have checked the assignment of company code and tax code V0 in Tcode (OBCL)
    In FTXP the tax code is created in country IN, for the same tax procedure and the tax is a input tax.
    please suggest what could be the exact problem
    Regards
    Sujit

    Hi Sujit,
    1.Go to FTXP and create tax code V0 for country IN and procedure ZAXINN.
    2.In Txn: FV11, For the condition type- XXXX (You will get this in Txn: FTXP, against the tax type, you get the condition type OR in the PO-Item details- Invoice tab, next to field: Tax code, see the Tab-Taxes, click on it and will get the condition type) , maintain the country-IN, Tax code-V0 and the rate.
    3.Also things to be checked
    1> assign country to company code
    2> assign company code to tax code
    3> create tax code for country IN
    4.Under the following menu path, pls check if you have assigned your tax code to Company Code
    IMG>Logistics (General)>Tax on Goods Movement>India>Basic Settings>Determination of Excise Duty>Condition Based Excise Determination>Assign Tax Codes to Company Code
    Hope it clears,
    Rahul.

  • This ipod cannot be used because the required software is not installed. Run the Itunes installer to remove Itunes, then install the 64-bit version of Itunes.

    I'm not sure if the error message is related but smart friend was using my computer started deleting Quicktime & Safari and told me that they shouldn't be on my computer as they are not windows product & I can't use them on my laptop. With trepidation but acknowledging I don't know any of the stuff they were talking about, I allowed them to raid my laptop thinking it could be for the best. Now I'm not sure if it is related or not but depsite me having the most recent Itunes updates on both my Ipod 4TH GT, I am getting the following message everytime I connect my Ipod to the computer...and the timing would be about right too:
    this ipod cannot be used because the required software is not installed. Run the Itunes installer to remove Itunes, then install the 64-bit version of Itunes.
    If it helps I am running the 10.7.0.21 on the Sony Vaio & remember checking last week I do have the latest update on the Ipod but it is a different version from the Itunes on the laptop (which may be normal, I wouldn't know) but as I am away from home & Wifi I can't tell u the version on that though.
    My problem is I cannot find an apple installer on the laptop to uninstall & I have searched Apple & Google for help and have seen others posts with the same issue but alot of the answers unfortunately I can't follow. I would greatly appreciate it if you can you answer any of these questions for me?
    *Will add & remove totally uninstall Itunes so that I can reinstall?
    *Will I lose my apps, music & data?
    *If the apps, music & data is recoverable, how do I do that?
    Sadly I can't find the installer & would love to add my new Mumford & Sons cd to my Ipod collection but don't know how to fix this. I love my Ipod & google but I have spent hours tryign updates, downloads, searches & feedback to Apple. A few months ago I had an Itunes billing problem & there was a webpage where you could email an apple support worker & rhe replied to my credit card problem within a day or 2 but I can't find that help for this problem..I couldn't express my graditude enough if you could help me with this, but thank you.

    dorygirl2009 wrote:
    I'm not sure if the error message is related but smart friend was using my computer started deleting Quicktime & Safari and told me that they shouldn't be on my computer as they are not windows product & I can't use them on my laptop.
    This "smart friend" really sounds like a collosal moron.
    Follow the instructions here: http://support.apple.com/kb/HT1925  to remove and reinstall all Apple products on your computer.
    Once you get everything working, the next time your "smart friend" wants to touch your computer, tell them firmly NOT A CHANCE IN ****! 
    None of your data (media, podcasts, apps) will be affected by removing and reinstalling iTunes.

  • This iPod cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes and then reinstall it again

    I tried yesterday to install iTunes on a XP Services Pack 3 Pc, It said that it couldn't install it. So after much reading last night, i downloaded Revo Uninstaller Pro, and uninstalled all apple software, included Bonjour, Quicktime and Apple Support along with iTunes. I then, used Ccleaner to double check that nothing apple related was left in the registry.
    After doing all the above, i rebooted the PC, and downloaded a fresh copy of iTunes from the website, and installed it. I installed the first time of asking. I then pulged in my Son's new iPod, and it detected it as a scanner/Camera, and behind that was a message that said the following:" This iPod cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes then install iTunes again"
    I've tried doing this, and it keeps coming up with the same message
    Can anyone help please

    In Windows 7, go to Control Panel (usually in the Start menu) and look for Add and Remove Programs. It will load a long list of programs. Find iTunes on that list and uninstall it. Then try using the 64-bit installer.

  • The tax code entered is not defined in the country for this company code

    HI ALL
    when we relase billing document to finance i am getting this below error
    Diagnosis
        The tax code entered is not defined in the country for this
        company code.
    System Response
    Procedure
        Check and, if necessary, correct the entry.
    Procedure for System Administration
        If it is not an input error, check and possibly change the
        system settings.
        To do this, choose Maintain entries (F5).
        1.  Check whether the required tax determination procedure
            is assigned to the relevant country. the Procedure
            field is in the detail screen.
        2.  Create a new tax code if required.
    Thanks & Regards
    Aarman

    You can define the tax code for your country using the following menupath in customizing:
    IMG>Financial Accounting>Financial Accounting Global Settings>Tax on Sales and Purchases>Calculation-->Define tax codes ........... in the next screen enter your country and then the tax code you wish to create and press enter. You would be then directed to another screen, where you would maintain the description and whether it is a  Input tax or Output tax and then maintain the appropriate tax percentage and save.
    Your country should also be assigned to a calculation procedure. You check the same using the same menupath as mentioned above: .............Tax on Sales and purchases>Basic Settings>Assign country to calculation procedure........In the next screen, enter the appropriate tax procedure for your country. Eg: for country DE assign tax procedure as TAXD and save.
    Hope this helps.
    Regards
    SATYA

  • This iphone can not be used because the required software is not installed. Run the itunes installer to remove itunes, then install the 64bit version of itunes

    This iphone can not be used because the required software is not installed. Run the itunes installer to remove itunes, then install the 64bit version of itunes
    I keep getting the above error everytime I plug in my iphone.
    I am not daft, I do have the 64bit version of iTunes installed already. When I installed itunes 10.5 and more recently 10.5.1 I got an error message that rolls back a section of the installation (The updater I think) before finishing off installing iTunes.
    After the installation iTunes will work normally apart from when I try to connect a device. At which point I get the title error message and I can not sync my phone.
    It's probably down to Itunes not installing properly however no matter what I try I can not sort the problem out. I've tried uninstalling all apple programmes followed by a registry clean, then reinstall. I've tried the same again but in a specific order. I've tried repairing iTunes, repairing the updater etc etc. Nothing seems to work. I'm out of ideas.
    Has anybody had this problem? Please can somebody tell me how to fix it!
    Getting an iPad this Christmas and if I can't sync that up to my PC I may just have to go over to ANDROID!!!

    Is there a way to install this on its own?
    Yeah, let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunes64Setup.exe installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunes64Setup.exe, and select "Extract to iTunes64Setup". WinRAR will expand the contents of the file into a folder called "iTunes64Setup".
    Go into the folder and doubleclick the AppleMobileDeviceSupport64.msi to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport64.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, does an iTunes install go through properly now?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • I plug in my iPhone and this message showed. "This iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install the 64-bit version of iTunes." I did this but still not working. Please advise

    I have a problem with connecting my iPhone to iTunes. I uninstalled one of the computer program and restart my laptop. After restart my laptop and a message said that iTunes might not working because one of the component is missing and request to reinstall the iTunes. Hence I remove iTunes from my laptop and I reinstall iTunes to my laptop but still not working.
    Before this the iTunes will automatically launch when I plug in my iPhone. But after I reinstall iTunes, it's not working. When I try to plug in my iPhone after iTunes launched and message "This iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install the 64-bit version of iTunes." popped out. I did this twice but it's not working as well.
    Please advise what should I do to fix this.

    First make sue you are installing the 64 bit version of iTunes.
    Second make sure it is iTunes 10.7 or later.
    I would download a fresh copy of the 64 bit version of iTunes 11. After installation reboot your computer.
    Before connecting your phone reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • Everytime I connect my iPod to USB, iTunes says the following: This iPod cannot be used because the required software is not installed.  Run the iTunes installer to remove iTunes, then install the 64-bit version of iTunes.

    I have the latest 64-bit version of iTunes on Windows 7 Ultimate.  Everything was fine until recently.  Now when I connect my iPod Touch to the USB to sync with iTunes, I get the following message:  "This iPod cannot be used because the required software is not installed.  Run the iTunes installer to remove iTunes, then install the 64-bit version of iTunes"  I have removed, repaired, and installed the 64-bit version numerous times as well as disabled all antivirus / adware utilities.  Same message appears when I plug in my iPod.  Any help would be greatly appreciated.

    Did you try removing and reinstalling all the Apple software using these instructions:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

Maybe you are looking for

  • Hyperlinks to XLS, DOC, and PDF files that are included in a .chm file work intermittently.

    SUMMARY Hyperlinks to XLS, DOC, and PDF files that are included in a .chm file (and the Baggage Files) only work intermittently. The only solution appears to be deleting the Temporary Internet Files. PROBLEM 1. I place the XLS, DOC, or PDF file in th

  • New Apple TV will not connect to WiFI.

    I have a brand new Apple TV. When I first set it up it connected to my Airport Extrement WiFi with no problem. A few hours later it will not connect to any WiFi. It does not see any WiFi available. I have rest it. Reset my WiFi. Nothing works.

  • Keyboard shortcuts for text editing [Home-End]

    Greetings. Is there a way for me to change the text navigations keys in OSX for mapings that would react like any other Linux/windows system ? for example pressing the end button brings me to the end of the document instead of the end of the line...

  • Typing with foreign languages on Nokia Asha 200

    I want to type and read Korean and Traditional Chinese on my Nokia 200, but so far I have no luck figuring out how to do this. I would really appreciate some help!

  • Downgrade USB 3.0 to USB 2.0

    Hi, I bought two Q190 PCs with Vista OEM (yes, I know ... but the OS was cheap). It is working well, but those USB 3.0 from the front are not working and I have a project where I need all six USBs. I don't need them to be 3.0. USB 2.0 is enought. Sea