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

Call Function required

Former Member
0 Likes
357

Hi Guys!

Plz give me the call function used to calculate the date after (n) days.

I find FM "HR_NO_DATE_AFTER_TRYGDEDAYS",which serves same as i ask for but the thing is,it takes saturday and sunday into consideration.

Your reply will be appreciated.

Warm Regards,

Mohandoss P.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
336

simply add the number of days to the date you want.

v_date = sy-datum + 10.

or

data v_number_of_days type i.

v_date = sy-datum + v_number_of_days

2 REPLIES 2
Read only

Former Member
0 Likes
337

simply add the number of days to the date you want.

v_date = sy-datum + 10.

or

data v_number_of_days type i.

v_date = sy-datum + v_number_of_days

Read only

Former Member
0 Likes
336

I think this is the one you are looking for

WDKAL_DATE_ADD_FKDAYS