cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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 ?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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

Former Member
0 Kudos

Hi,

I'm just reading the values entered by user and not doing any other things. Actual problem is while entering the value itself page gets refresh.

0 Kudos

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

matt
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank you. Can you please share link of a demo program related to this ?

matt
Active Contributor
0 Kudos

Don't ask for links, documents or other materials. Please search for yourself.