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

Difference between two timings....

Former Member
0 Likes
406

Hi,

I have one query regarding timings.

How I will get the difference of two times including hours, minutes and seconds.

For eg: 12(h):05(m):02(s) and 12(h):36(m):08(s)

Is there any function moudule or else procedure....

Could you please help me on this issue....

Thanks in advance.

- Kumar

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
385

Use FM, SCOV_TIME_DIFF

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
385

Hi,

You can also try like this,

data : v_time1 type sy-uzeit value '120502',

v_time2 type sy-uzeit value '123608',

v_time3 type sy-uzeit.

v_time3 = v_time2 - v_time1.

write 😕 v_time3.

Thanks,

Senthil