Application Development 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: 

regarding sy-uzeit

Former Member
0 Kudos
243

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

Former Member
0 Kudos
103

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

Former Member
0 Kudos
103

Hi

Use this statement

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

~ Ranganath

Former Member
0 Kudos
103

Hi Vijay,

Try this.

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

awrd points if helpful

Bhupal

Former Member
0 Kudos
103

DATA : v_time(8).

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

sy-uzeit+4(2) into v_time.

Pls. reward if useful...

Former Member
0 Kudos
103

Hi Vijay,

just observe the following code.

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

reward points,if it is helpful.

thanks

chandu

Former Member
0 Kudos
103

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