Skip to Content
avatar image
Former Member

WEBDYNPRO TIMEDTRIGGER TEXTEDIT data loss

Hi Experts,

I am using timedtrigger UI element to keep the connection alive while filling a document by calluing a dummy action.

it's working fine by keeping the connection alive. But timedtrigger event refreshing the data in the TEXTEDIT box in whih the user writing in during the timedtrigger event. Otherthan that TEXTEDIT box the unsaved data in the rest of the document is fine.

Can somebody help me or suggest me on this...

Please ask if you have any questions...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Mar 31, 2010 at 12:50 PM

    i dont want to loose the data from the TEXTEDIT box which was focused during the timedtrigger event. is there anything like changing the focus to a different object or something.

    anybody....

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Krish,

      I am currently facing the same problem as you did. The textbox gets refreshed when the event is triggered. How did you manage to solve your problem? Thank you!

      Yu Qing

  • avatar image
    Former Member
    Sep 10, 2010 at 02:49 PM

    I am also losing data in the TEXTEDIT after calling a timed trigger. Why do it do this? any solution?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2010 at 03:18 PM

    Thanks Thomas, I just found this note too!....unfortunately when I use SNOTE transaction to download 1496848 it says "Cannot be implemented"....but it looks like it should apply to our version??

    Our version is

    SAP_ABA 701 0003 SAPKA70103 Cross-Application Component

    SAP_BASIS 701 0003 SAPKB70103 SAP Basis Component

    Edited by: K Ferguson on Sep 10, 2010 5:59 PM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kelly,

      We're having the same problem and BASIS says it's only applicable to AJAX-RUNTIME and FRAMEWORK components, which we don't have. Have you come up with the solution?

      Regards,

      Euna

  • avatar image
    Former Member
    Sep 16, 2010 at 09:36 PM

    Can anybody think of an alternative that I could use other than the timetrigger control...i need to send a popup reminder to the user to save their data. The ironic thing is that the timedtrigger erases the data that I am trying to get the user to save 😉

    Add comment
    10|10000 characters needed characters exceeded

    • Hello K,

      there have already been multiple responses about alternate solutions in this thread, are these not useful to you?

      On a different point - it is generally good forum practice to start a new thread if you want to ask an additional question - and reference the thread you have seen (which shows us that you have searched for relevant material). Posting questions in threads that aren't your own (thread hijacking) is not really encouraged even if the question does follow the thread flow. I think the particular case here it is very questionable as to whether anyone would accuse you of hijacking - but it when it comes to you being able to get good responses from your questions you have much more chance if you are the thread "owner", as you can then r-e-ward those contributors who do answer your questions well - and this in turn helps others who then search for the thread and want to see who best answered the question.

      Thanks,

      Chris

  • avatar image
    Former Member
    Sep 17, 2010 at 02:35 PM

    Chris,

    Thanks for the reminder.

    I am interested in your IFRAME alternative, which is exactly why I posted on this thread. Only I am not sure how the code in an IFRAME can call a method back in the webdynpro....are you suggesting some javascript (ClientSide) can call some server side method in the webdynpro.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25, 2011 at 09:20 AM

    Hallo Krish,

    this is bug was fixed in SAP NetWeaver 7.0 SP24, 7.0 EhP1 SP9. For more details see [SAP Note 1496848 - Changes in Fields not transfered with TimedTrigger|https://service.sap.com/sap/support/notes/1496848]

    Symptom: In applications that use fields together with a TimedTrigger control, the changes made to a field are not transfered if the TimeTrigger is executed and the field was not blured before. Instead the field is reset and the old value is displayed again after the execution of the TimedTrigger.

    Other terms: Lightspeed, WD, WebDypro, TimeTrigger, Changes not saved, Fields are reset

    For earlier SP stacks (down to SAP NetWeaver 7.0 SP19, 7.0 EhP1 SP4) you have to install the following two UR (Unified Rendering) patches for Web Dynpro ABAP: "Unified rendering for Web Dynpro ABAP must be updated for error corrections.":

    1./ [Note 1520245 - Corrections for unified rendering 701/08 XI (UR mimes)|https://service.sap.com/sap/support/notes/1520245]

    2./ [Note 1520943 - Corrections for unified rendering 701/08 XI (ABAP renderer)|https://service.sap.com/sap/support/notes/1520943]

    Best regards, Bertram Ganz

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      i actually ran into this problem, too.

      We have NW 7.31 SP 9 ! Unfortunatly I did not find any SAP Not for our Release.

      Problem:

      Input Field is going to be refreshed / with old value after Timer action while user is writing or the filed stll has Focus.

      Seems like the transfer from Input Field to Context is not called. ?

      Is there any option to do this manually, maybe in WDBEFOREACTION ?

      Thanks for short termed answer.

      michael