Skip to Content
avatar image
-1
Former Member

How to hold the data entered in IO fields when time trigger is used?

Hi, I'm working on a project which uses web dynpro time triggerusing delay 2 sec. User should enter details with in a limited period but when ever the time gets triggered the IO fields get refresh and data entered is not available. How can i overcome this problem ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 24, 2017 at 08:49 AM

    Hi Kavya,

    I'll go with Matthew ... there may be something wrong with your code. Please ensure to not have any context invalidation or clearing and setting the context attributes in your WDDOMODIFY method. This could lead to the described behavior.

    Regads

    Fabian

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Kavya,

      what do expect? You told your application to refresh the view every 2 seconds ... So you have to disable the timed trigger when the user can edit the data. You could try to go for an edit-/display-mode scenario. For example when the application is in display mode, the timed trigger is on an does a refresh every 2 seconds. But when the users enters edit mode (by pressing a specific button) you disable the timed trigger so that the user can edit the data without being interrupted by a refresh. When the data is save and the application switches back to display mode you can set the timed trigger back active again.

      Just a suggestion ...

      Regards

      Fabian

  • Jul 24, 2017 at 06:54 AM

    This is not typical behaviour. I've used timers many times without a problem. You must have programmed something incorrectly.

    Add comment
    10|10000 characters needed characters exceeded