Skip to Content

add 12 working days to a date

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 24, 2007 at 12:05 PM

    check the fm

    <b>BKK_ADD_WORKINGDAY</b>

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 24, 2007 at 12:06 PM

    use function module RP_CALC_DATE_IN_INTERVAL

    regards,

    Hans

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 24, 2007 at 12:08 PM

    refer this link -

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

    Regards,

    Amit

    Reward all helpful replies.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2007 at 12:05 PM

    Please use

    "C14B_ADD_TIME" FM for Time & Date calculation

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2007 at 12:06 PM

    <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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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?

  • avatar image
    Former Member
    Oct 24, 2007 at 12:08 PM

    hi

    go through this site

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

    Rewrd points if useful.

    Thanks,

    usha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2007 at 12:09 PM

    check this below link

    factory-calendar

    u can also have a look into these links

    getting-a-date-based-on-factory-calendar

    function-module-to-get-the-noof-working-days-betwe

    i-want-to-find-the-noof-working-days-between-the-t

    i think it is useful for u

    SANTOSH..

    Add comment
    10|10000 characters needed characters exceeded