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

Sy-uzeit

Former Member
0 Likes
1,230

Hi all,

it is sy-uzeit with

2:15:02

2:15:03

2:15:04.........

how is the progrom for display the time with next second....

reply me soon,

s.suresh.

Hi all,

it is sy-uzeit with

2:15:02

2:15:03

2:15:04.........

how is the progrom for display the time with next second....

reply me soon,

s.suresh.

9 REPLIES 9
Read only

Former Member
0 Likes
1,049

parameters: P_no type n.

(this is for number of times).

do n times.

write:/ sy-uzeit.

enddo.

Read only

Former Member
0 Likes
1,049
Read only

Former Member
0 Likes
1,049

Just add one to the time ..

data : v_time like sy-uzeit.

v_time = sy-uzeit.

v_time = v_time + 1.

write 😕 v_time.

Read only

Former Member
0 Likes
1,049

Hi


DATA: lv_tmp TYPE i.

WHILE lv_tmp IS INITIAL.
  WRITE: / sy-uzeit.
  WAIT UP TO 1 SECONDS.
ENDWHILE.

Read only

Former Member
0 Likes
1,049

Hi,

try using this command.

WAIT UP TO '1' SECONDS.

This will delay ur program execution by 1 secs.

Regards,

Balakumar.G

Reward Points if Helpful.

Read only

Former Member
0 Likes
1,049

parameters: P_no type n.

do p_no times.

wait up to 1 seconds.

write:/ sy-uzeit.

enddo.

Edited by: Rajasekhar Reddy Nevali on Mar 14, 2008 12:55 PM

Read only

0 Likes
1,049

hi all,

it is not ...

2:15:02(03 04.................)?

how is the program for display for time with next screen in only one line..

reply me soon,

s.suresh.

Read only

0 Likes
1,049

Hi

Program for displaying the time can have only one line. It can be


WRITE sy-uzeit.

But you still have to call it from some other report (using SUMBIT statement for example) or user has to run it by hand.

Rgds

Mat

Read only

0 Likes
1,049

You may need to use

GET TIME.

prior to your use of the field to get the most current time.

Otherwise, the time will stay static as it was when the program executed.