Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to add timer in module pool screen without 0OPs

rushi24
Explorer
0 Likes
1,598

Creating Exam evaluation in that I have to set timer in screen .. I don't know how set timer on screen

Creating Exam evaluation in that I have to set timer in screen .. I don't know how set timer on screen

5 REPLIES 5
Read only

Sandra_Rossi
Active Contributor
1,394

To help you: call function module asynchronously with a callback subroutine.

PS: I don't see how valid is an exam which tells you to not use the latest technology.

Read only

former_member593648
Active Participant
1,394

Check the SAP demo program -> SAP_TIMER_DEMO

Read only

1,394

RUSHIKESH SAWANT I thought you were looking for code "without OOPS" !

SAP_TIMER_DEMO is based on the "OOPS" class CL_GUI_TIMER.

If the interview question is without "OOPS", then it's probably based on "call function module asynchronously with a callback subroutine": (you may find more details in the forum by searching "refresh SET USER-COMMAND")

CALL FUNCTION 'wait one second' STARTING NEW TASK ... PERFORMING subr ON END OF TASK.
"(function module RFC_PING_AND_WAIT can be used for demo)
FORM subr USING task.
"SET USER-COMMAND to force user action so that to refresh screen
ENDFORM.
Read only

ThangaPrakash
Active Contributor
0 Likes
1,394

rushi24 You can achieve this by using Time Triggered UI element. Refer to below SAP documentation and its example of how to use it.

https://help.sap.com/saphelp_ERP2005/helpdata/en/da/a6884121a41c09e10000000a155106/content.htm?no_ca...

Read only

0 Likes
1,394

I think that the question is more for classic dynpro ("module pool screen") than for web dynpro.