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

regarding sy-uzeit

Former Member
0 Likes
1,097

My OutPut should be like 12:2900 = hh:mmss

i want : column to be inserted between hh and mm in sy-uzeit

can any solve this.

My OutPut should be like 12:2900 = hh:mmss

i want : column to be inserted between hh and mm in sy-uzeit

can any solve this.

6 REPLIES 6
Read only

Former Member
0 Likes
957

Use SPLIT and CONCATENATE command and you can get any format of your wish.

Read only

Former Member
0 Likes
957

Hi

Use this statement

Write SY-UZEIT using edit-mask '__:____'.

~ Ranganath

Read only

Former Member
0 Likes
957

Hi Vijay,

Try this.

WRITE:/ sy-uzeit USING EDIT MASK '__:____'.

awrd points if helpful

Bhupal

Read only

Former Member
0 Likes
957

DATA : v_time(8).

concatenate sy-uzeit0(2) ':' sy-uzeit2(2)

sy-uzeit+4(2) into v_time.

Pls. reward if useful...

Read only

Former Member
0 Likes
957

Hi Vijay,

just observe the following code.

write:/ sy-uzeit using edit mask '__:__:__'.

reward points,if it is helpful.

thanks

chandu

Read only

Former Member
0 Likes
957

Hi Vijay,

You can use the following code to get the ouptut time in the format hh:mmss

write:/ sy-uzeit using edit mask '__:____'.

The number of underscore characters in the edit mask depend on the number of digits you want to be displayed.For your requirement you will have 2 underscores before the colon and 4 after the colon.

Reward points if helpfull.

Thanks,

Kashyap Ivaturi