on 10-30-2015 1:59 PM
Hi Gurus,
I'm implementing a web dynpro with some traffic lights icons, when I load for the first time this dynpro I've to read from a custom table the status of my traffic lights, for example yellow for a process that is running in that moment or green for a completed process, for example if I open the dynpro and the traffic light of a running programm will be yellow, after 5 seconds the process ends. I have to automatically update the status of my traffic light to green and repeat this operation for example every 10 seconds and I can't to associate the refresh to any user event.
I should implement a method called the first time I open the dynpro and another one automatically called every 10 seconds for example, but user have to use the dynpro normally.
Hi Antonio,
1. create 2 methods.
2. call the first method in standard method WDMODIFYVIEW of view with condition
if FIRST_TIME = 'X'.
3. create a TIMEDTRIGGER element in view.give the value '10' ( time in sec) to the DELAY property.
4. Create a On Action event for it and call the second method in it.
So first method trigger one time and second method trigger for every 10 seconds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.