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: 

add 12 working days to a date

daniel_humberg
Contributor
0 Kudos

I have a date, let's say 01.01.2007, and I want to postpone the date by 12 working days.

"working days" in my case shall mean only monday to friday, not saturday and sunday, and I do not case about public holidays.

Is there are function module or something like this to do this calculation?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

check the fm

<b>BKK_ADD_WORKINGDAY</b>

8 REPLIES 8

Former Member
0 Kudos

check the fm

<b>BKK_ADD_WORKINGDAY</b>

former_member223537
Active Contributor
0 Kudos

Please use

"C14B_ADD_TIME" FM for Time & Date calculation

h_senden2
Active Contributor
0 Kudos

use function module RP_CALC_DATE_IN_INTERVAL

regards,

Hans

Former Member
0 Kudos

<b>CALL FUNCTION 'FKK_ADD_WORKINGDAY'</b>

EXPORTING

i_date = xv_date

i_days = xv_days

i_calendar1 = gc_factory_cal

IMPORTING

e_date = yv_new_date.

0 Kudos

Hi,

<b>'FKK_ADD_WORKINGDAY'</b> really ALMOST does what I want. Except that it does not work without a holiday-calendar.

I would like to add working days, and I would like to consider weekends, but I would NOT like to consider any holidays.

Is there a factory calendar or something that only contains weekdays, but does not exlude any holidays?

Former Member
0 Kudos

hi

go through this site

http://www.sapdev.co.uk/tips/date/datehome.htm

Rewrd points if useful.

Thanks,

usha

amit_khare
Active Contributor
0 Kudos

refer this link -

http://www.sapdev.co.uk/tips/date/date_factorydat.htm

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

check this below link

u can also have a look into these links

i think it is useful for u

SANTOSH..