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

Any function for adding a time interval to date ?

Former Member
0 Likes
863

Hi,

Does anybody know a FM for an adding time interval to date with possibility to enter a time unit ?

Thanks.

Marian

6 REPLIES 6
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
727

Didnt get u r QN.....

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
727

Hi,

Declare two variables of type sy-datum and sy-uzeit and then declare the 3rd variable of type character and length 14.

Use concatenate to join date and time into the 3rd variable.

Read only

Former Member
0 Likes
727

Use FM SD_CALC_DURATION_FROM_DATETIME

Reward points if it helps

Read only

Former Member
0 Likes
727

Hi,

You may use FM C14B_ADD_TIME.

I hope this helps,

Regards

Raju Chitale

Read only

Former Member
0 Likes
727

Hi,

You May use FM SD_DEL_WAVE_SUBTRACT_TIME for subtracting Time from a given date & time.

Regards

Raju Chitale

Read only

Former Member
0 Likes
727

Hi,

You May use FM SD_DEL_WAVE_SUBTRACT_TIME for subtracting Time from a given date & time.

Regards

Raju Chitale