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: 

Time Substraction

Former Member
0 Kudos

Hi all,

I want to substract user entered( in selection screen) minutes from sy-uzeit, so that i can use the result for further calculations.

Can any body help me which function module i can use?.

Thanks,

Arun

4 REPLIES 4

Former Member
0 Kudos

Hi,

try..

/SDF/CMO_DATETIME_DIFFERENC

/SDF/CMO_TIME_DIFF_GET

reward if helpfull.

Regards,

Dhan

ThomasZloch
Active Contributor
0 Kudos

duplicate thread

0 Kudos

I will lock this thread as it is a duplicate.

Best regards,

Jan Stalllkamp

Former Member
0 Kudos

hiii

If you want to substract minutes then you can do it by using offset.like sy-uzeit2(2) - w_minute3(2).

or do you want to have substraction of date & result in minutes??somethng like that?let me know.

reward if useful

thx

twinkal