Skip to Content
-2

How to write something every x second in program

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 28, 2017 at 12:24 PM

    Hi,

    What do you mean with need?

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

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 28, 2017 at 12:55 PM

    Auto refresh ALV using CL_GUI_TIMER

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 28, 2017 at 11:37 AM

    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).

    Add comment
    10|10000 characters needed characters exceeded