Skip to Content
0
Former Member
May 13, 2008 at 05:08 AM

sy-uzeit is only initialized once?

3452 Views

I have written a simple program:

1, Assign sy-uzeit to a time variable: tm_start

2, Loop 100000 times

3, Get the seconds difference between current sy-uzeit and tm_start

The difference is always 0 even if the loop runs moe than a minute.

If I debug the program, sy-uzeit is only initialized in the beginning of the problem.

During the program, it will not be updated anymore.

Does anyone know how to update sy-uzeit to make it up-to-date?

Thanks.