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

Time Substraction

Former Member
0 Likes
571

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
Read only

Former Member
0 Likes
544

Hi,

try..

/SDF/CMO_DATETIME_DIFFERENC

/SDF/CMO_TIME_DIFF_GET

reward if helpfull.

Regards,

Dhan

Read only

ThomasZloch
Active Contributor
0 Likes
544

duplicate thread

Read only

0 Likes
544

I will lock this thread as it is a duplicate.

Best regards,

Jan Stalllkamp

Read only

Former Member
0 Likes
544

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