Skip to Content
-2

How to write something every x second in program

Aug 28, 2017 at 11:18 AM

72

avatar image

Hi, all!

I need write actual time every 15 seconds. How can I do that? :-)

Once is very easy:

write: sy-uzeit.

OUTPUT:

12:12:12

I would like to make this:

12:12:00

12:12:15 (after 15 sec)

12:12:30 (after next 15 sec)

etc....until exit window!!

THX in advance!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Rob Dielemans Aug 28, 2017 at 12:24 PM
2

Hi,

What do you mean with need?

What is the business requirement where this is a valid request?

Kind regards, Rob Dielemans

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Curious about that myself. Doesn't make a lot of sense in the ERP context...

0
Jan Strakos Aug 28, 2017 at 12:55 PM
1

Auto refresh ALV using CL_GUI_TIMER

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Aug 28, 2017 at 11:37 AM
0

No way with classic dynpros alone.

You can try to flush into a browser control in a dynpro screen or use modern techniques like APC with a timer (but then you cannot use classic dynpro at all).

Share
10 |10000 characters needed characters left characters exceeded