cancel
Showing results for 
Search instead for 
Did you mean: 

Changes in Fields not transfered with TimedTrigger

HJK
Explorer
0 Kudos

Dear community members

There is already an old thread dealing with this issue: http://scn.sap.com/thread/1648223

It refers to Note 1496848 - Changes in Fields not transfered with TimedTrigger that is exactly describing this issue.

Unfortunately the SAP Note refers only to WD ABAB and does not contain a solution for WD Java.

I am currently working on NetWeaver Java 7.3 SP8.
Does anyone know about a fix for this problem for WD Java?

Thanks in advance

Hans K.

Accepted Solutions (1)

Accepted Solutions (1)

HJK
Explorer
0 Kudos

To be more precise:

The TimedTrigger fires as expected.

The problem is, that changes in the text field having the focus when the trigger fires, are not transfered.
If I type in a lot of text into a multiline text field and the timer fires, all the text that I have typed in is deleted resp. reset to the old value.

The text is obviously only overtaken on focus loose (blur) by the framework.

The above mentioned SAP note exactly describes this problem and also mentions SAP notes fixing it, but this fix only seems to be available for WD ABAP.

As already mentioned: my program is written in WD Java unfortunately.
Is there a fix for this problem available also for NetWeaver Java 7.3 SP8?
I did not find an according SAP note unfortunately.

Former Member
0 Kudos

I think that is per design, maybe could confirm.

Former Member
0 Kudos

I just checked and it seems to work with Web Dynpro ABAP (7.31 SPS04) quite well. For InputFields the cursor position is lost whereas with TextEdits it works as expected. I did notice that the smaller the delay value is, the more unreliable it becomes meaning sometimes the last character gets lost. The documentation recommends not to use delays below 5 seconds. What value are you using for the delay? In your case, are the fields and the TimedTrigger on the same view?

HJK
Explorer
0 Kudos

Hello Samuli
thank you for your input.

TimedTrigger and TextFields are on the same view.
TextFields are in Tabs of the view, TimedTrigger is outside (below) the Tabs (always in the visible area).

Timeout is about 15 Minutes.

I want to use TimedTrigger to remind the user that she has to save the entered data frequently.

This worked fine (without loss of data in the textfield having/loosing the focus) with NetWeaver Java 7.0 but we have 7.3 SP8 now and now the data typed in since the field received the focus gets lost on timer fire.

We have a similar code in one of our WD ABAP applications (NetWeaver 7.02 SPS10) and unfortunately also with our current ABAP version the latest typed in text in the Textfield having the focus gets lost on timer fire (maybe note 1496848 helps us on ABAP - we will try).

An upgrade to NetWeaver ABAP to 7.31 SPS04 is not an option at the time for us.

Thank you
Hans

Answers (2)

Answers (2)

HJK
Explorer
0 Kudos

Hello

SAP is working on a fix for our current NetWeaver Java version (7.3 SP8).

It seems to be an issue in the Ajax framework.

For NetWeaver ABAP 7.02 there is already a SAP note and fix available (1496848).

NetWeaver ABAP 7.31 (EhP 6 basis) does not have the problem.

I treat it as solved.

@Samuli: Thank you for your valuable input.

BR

Hans

Former Member
0 Kudos

Is the view having the TimedTrigger element visible? I remember the view has to be visible (eg. active) for the TimedTrigger element to be triggered. You could create a very simple application, component and view and place only the TimedTrigger element there and confirm that it is working.