cancel
Showing results for 
Search instead for 
Did you mean: 

Timer In Web Dynpro ABAP

Former Member
0 Kudos

Hello,

Please help in creation of  Count Down Timer for Online Test Application in Web Dynpro ABAP.

Thanks,

Sandeep Bhati

Accepted Solutions (0)

Answers (2)

Answers (2)

ramakrishnappa
Active Contributor
0 Kudos

Hi Sandeep,

You can achieve your requirement as below

  • Create context attributes TIME_LEFT  of type TIMS & DELEY of type I
  • Create a text view eleemnts to show the time left value and
  • Create a TIMED_TRIGGER ui element  and bind the property delay to the context attribute DELEY and create an action REFRESH, bind it to the event onAction
  • Set the initial values of context attributes TIME_LEFT & DELAY like below

                    TIME_LEFT = '01:20:00'

                    delay            = 1

  • Hence, timer ui element refresheshes each second and you can reduce the value of TIME_LEFT by 1 second to see on application

You can also refer the below links

also, refer the standard component WDR_TEST_EVENTS and go the view TIMEDTRIGGER

Hope this helps you.

Regards,

Rama

former_member184578
Active Contributor
0 Kudos

Hi,

Create a IFrame UI and place the html code with script to show the Timer and use Timed Trigger UI in WDA.

Check this blog:

Hope this helps u,

Regards,

Kiran