To define summer holiday period in factory calendar

Dear All,
I have to define summer and midterm holidays to factory calendar. I defined them by using "special rules" in transaction SCAL. I saw the days as holiday in factory calendar. On the other hand, when I use function HR_RO_WORKDAYS_IN_INTERVAL to read workdays in a period, the function reads that holiday days as workdays. How can I read that days as holiday?
May I define holiday periods by using "special rules" in factory calendar?
Thanks

Dear Arjuna,
    I will suggest you to control Class period time limit "0200" rather than factory. Event planning will take care rest of the issues automatically. It will reserve the resources between "0200" time interval.  If I am understanding your issue correctly. You want to control classes not HR calendar.
Best Regards,
Prabhat Singh

Similar Messages

  • Number of days in a period of factory calendar

    Hi Experts,
    My requirement is to find out the number of days in a particular period of factory calendar. I have the current date and calendar ID as input .
    1. Is there any FM available to find out the number of days(including both working and holidays)?From my search i could find some FMs , but the input parameters requires start and end date of the period.Start and end dates are not available in my case.
    2. IF the first option is not possible , I want to find out the start and end dates of the current period from the factory calendar. Any standard FMs available for this?
    Thanks in advance
    Sanu
    Moderator Message: Asked and answered many times. Please search
    Edited by: kishan P on Sep 13, 2010 5:28 PM

    according to SAP F1 help, it is calendar days.
    Double click a key figure (not the characteristic like material number) . then put the cursor onto the desired key figure and press F1

  • Fixed Public holiday in Factory Calendar

    Hello All,
    I an trying to understand how can I define a fixed holiday in a Factory Calendar.
    I understand the process of defining a public holiday and assigning it to Factory calendar but what I want is a fixed holiday every month.
    So how can I define a holiday in which we would like to have 2nd monday(or any other day) of every month as a holiday.
    Please let me know
    Thanks
    SAP Fans..

    Hi,
    As per my understanding system will not come to knowon what date second monday is going to come on every month.
    In your Case you can meet ur requiremnt by defining special rules for your factory calendar.
    First from the calendar,list out the dates on which second monday is coming every month
    Then go to SCAL,click on Factory calendar radio button and then change,selct ur factory calendar and then go to change mode and then click on special rules.
    Then Click on create button,enter from date and to date same as from ur  listed dates for secon monday of every month.entr text and dont click the check box of work  day.
    like this you do for all the dates of second monday of every month.
    Those dates which are defined here will be considered as holiday in the calendar,
    Hope it helps

  • Which factory calendar is valid for a certain user

    Hi all,
    is there a way to get the factory calendar for a certain user.
    E.g. if the user works in Germany, I want the german factory calendar, and if he lives in India, I want the Indian calendar.
    Regards,
    Daniel

    OY05 - Maintain the SAP Factory Calendar
    SAP Factory Calendar allows companies to key in their own factory work days.  Individual SAP application such as MRP will take into consideration these individual factory customizing.
    For alternate Saturday, you set Saturday as a normal working day and key in all the off-days in the Special rules button.
    In your abap program, you can calculate whether a particular day is a non-working day, with reference to the Factory Calendar.
    ABAP Program to check for holidays using the factory calendar
    include zday .
    substitute tdate = 'yyyymmdd'.
    tholiday_found   = 'X'   -> Holiday
    TABLES THOCS.
    DATA: BEGIN OF INT_THOCS OCCURS 100,
          THOCS LIKE THOCS.
    DATA: END OF INT_THOCS.
    DATA: TDAY(1),
          TDATE LIKE SY-DATUM,
          THOLIDAY_ATTRIBUTES,
          THOLIDAY_FOUND(1).
    FORM HOLIDAY.
    CALL FUNCTION 'HOLIDAY_CHECK_AND_GET_INFO'
         EXPORTING
              DATE                         = TDATE
              HOLIDAY_CALENDAR_ID          = 'XX'
            WITH_HOLIDAY_ATTRIBUTES      = ' '
         IMPORTING
              HOLIDAY_FOUND                = THOLIDAY_FOUND
         TABLES
              HOLIDAY_ATTRIBUTES           = INT_THOCS
         EXCEPTIONS
              CALENDAR_BUFFER_NOT_LOADABLE = 1
              DATE_AFTER_RANGE             = 2
              DATE_BEFORE_RANGE            = 3
              DATE_INVALID                 = 4
              HOLIDAY_CALENDAR_ID_MISSING  = 5
              HOLIDAY_CALENDAR_NOT_FOUND   = 6
              OTHERS                       = 7.
    CALL FUNCTION 'DATE_COMPUTE_DAY'
         EXPORTING
              DATE    = TDATE
         IMPORTING
              DAY     = TDAY
         EXCEPTIONS
              OTHERS  = 1.
    For checking.
    *if tholiday_found = 'X'.
      write: /1 'Holiday ', tdate.
    *else.
      write: /1 'Not Holiday ', tdate.
    *endif.
    *case sy-subrc.
      when 0.       write: /1 tdate, tday.
      when others.  write: /1 'Unknown day ', tdate.
    *endcase.
    ENDFORM.

  • Factory calendar where used?

    Suppose a particular plant wants to add 2 days this month as holidays in their factory calendar.
    Before doing the actual change I want to actually check whether there are work centers in other plants in the company code which is using this calendar. How can I check this ?
    Is there a where used list for factory calendar?

    HI
    Check Tables CRCA for capacity allocation of work center then KAKO for the same capacity id assigned to work center and Factory calender ID
    Check and revert
    Regards
    Anupam Sharma

  • Date not defined in factory calendar

    while creating the process order using the t - code COR1, i got error saying that " Date not defined in factory calendar "
    i extended the factory calendar in t - code SCAL.
    still i am facing the error.
    please help

    Ok Sudhir.
    Then the problem is one of the workcenter you are using in Production Order. The Intervals of available capacity are maintained in a work center capacity whose 'To date' is after the expiration date of the factory calendar. The error does not occur if the date is 12/31/9999.
    Go to workcenter - Capacity - Interval & shifts
    The 'To date' of an interval of available capacity must be maintained so that it is within the validity period of the factory calendar. The exception is the date 12/31/9999, which is allowed.
    Regards
    Abhijit Gautam

  • Error Msg_ME078 - DELIV. date outside period covered by factory calendar

    Dear experts:
    when i create PO with ME21N,
    if the delivery date is not within the year of 2010,
    there will appear an error msg "ME078 - DELIV. date outside period covered by factory calendar".
    i have checked the factory calendar with SCAL.
    i know how to modify the factory calendar to expand the time period,
    but now i still have a question,
    the system can't change the year period automatically?
    so we have to change the period after we confirm the public holiday calendar?
    thanks ~
    B/Rs
    Jamie

    hello~
    if the system can't update the calendar automatically..
    why the consultant didn't set the valid period to an  exaggeration year at that time?
    did they have any concern?
    thanks a lot~
    B/Rs,
    Jamie

  • Deliv. date outside period covered by factory calendar TR

    Dear Sap Experts
    I am creating Po with delivery date 31/03/2010
    System is saying lollowing problem,    Deliv. date outside period covered by factory calendar TR
    Please Give me the solution how to overcome this problem
    Thanks

    hello
    Check you SCAL factory calander, whether the day is defined as working day or not??
    If not defined, then you can only use the next working day.

  • PO Error : Deliv. date outside period covered by factory calendar

    Hi,
    We are encountering an error "Deliv. date outside period covered by factory calendar xx" when creating a PO. I checked the delivery date of the item and it is : 11/30/2009. The Factory calendar valid from/to year is 2005-2013. What may have caused the error to appear ?

    Hi ,
    How can i check  whether the validity period of the factory calendar is within the valididty period of public holiday calendar.
    Regards,
    Vinayak

  • E ME 078 Deliv. date outside period covered by factory calendar

    Hi,
    I create Bid vendor, but the error show E ME 078 Deliv. date outside period covered by factory calendar
    I 've checked the factory calender in backend the setting is all day as a working day (doesn't have holidays and weekend days)
    pls help me....

    this error occurs if u had given a wrong date or very different date pl check for ex if u had given date as 05.08.2028 here at present the year givenas 2028 & in system the year going on as 2008 then in this situation system will give the error as u wrote .pl confirm & reward for efforts .
    sap11

  • How to define just every month's 10th and 20th as the factory calendar?

    Dear professor:
    I want to define every month's 10th and 20th as the factory calendar's working days.and all the other days are holidays?

    Please try this link
    http://**********************/2008/09/factory-calendar-for-plants.html
    Regards,
    Nitin

  • Deliv. date outside period covered by factory calendar IN

    Hi Experts,
    I am trying to create Purchase Order with 2011 year delivery date system is showing bellow issue in production server.
    Deliv. date outside period covered by factory calendar IN
    Message no. ME078
    Please advice me how can i overwrite this problem immediately.
    Thanks in advance,
    Chandhu

    Dear Experts
    I tried the method which mentioned above, but when I tried to change the Valid Fr. Year 1996 to Year 2011, it probe me the message "Please enter validity area between years 1995 - 2010." and I wasn't allow to save.
    Pls advise how to solve the above problem.
    Thanks.

  • Deliv. date outside period covered by factory calendar TR//PO error

    Dear Sap Experts
    I am creating the P.O For Delivery Date 31.03.2010
    System has giving following error,
    Deliv. date outside period covered by factory calendar TR
    How can I overcome this error,
    Please Give me the solutions
    Thanks

    Thank for ur reply,
    Please give me the procedure with that T code
    I didn't got any year with that T code
    Thanks

  • Deliv. date outside period covered by factory calendar ZJ

    Dear all
    In one import po,there are 9 items. Document date is 18.06.2008.For the first 6 items i have given various delivery dates this year 2008 and there is no problem.But
    for last 3items, my requrement is delivery schedule is 30.03.2009.But system is showing the error as
    Deliv. date outside period covered by factory calendar ZJ
    Please suggest the solution

    HI
    My Suggestion is to cancel the created PO 3 line items and put Scheduling agreement for 3 items with respect to delivery schedule
    regards,
    senthil.

  • Difference between holiday calendar and factory calendar

    Hi SAP Gurus,
        Can any one please let me know the difference between holiday calendar and factory calendar? Why and when we will use the factory calendar?
    I appreciate your help.
    Regards
    Swathi

    Hi,
    Factory calendar needs to be maintained if you're using some logistics module that require factory calendar.
    (Generally for running MRP - Material resource planning, etc. factory calendar maintenance is a must)
    Holiday calendar should have been maintained before factory calendar and holiday cal is assigned to factory cal.
    Each factory calendar should be assigned to a plant.
    For further info pls check the following thread:
    Re: what is the diff between holiday calendar and factory calendar
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Jan 6, 2010 12:38 PM

Maybe you are looking for

  • How to create an animated gif with CS4?

    Trying to create an animated gif from 8 images using FW CS4.  Can't find "how to" via online FW help.  Have done it before with version 8 -- followed the in-house Help db but CS4 doesn't have in-house db.  I found a tutorial: http://www.entheosweb.co

  • Error While Changing the Batch Characterstics

    Hi Guys, We are getting error while Passing Material,Plan and Batch(Concatenated Value) to BAPI_OBJCL_CHANGE in the LV_OBJECT(BAPI1003_KEY-OBJECT) field we are getting the following error "Object LV_OBJECT Value does not exist" in the Return Table of

  • How to kill concurrent request oracle session which is terminated

    Dear, In our production environment Concurrent request "Gather Schema Stats" was running 2 days. Hence we cancelled the request. Request completed as terminated status. Unfortunately the oracle session of that concurrent request went to "Killed" stat

  • How to handle selection event in alv component

    Hi all,     i am new to webdynpro abap. and i want to know how to handle selection event(such as select all / unselect ) in my simple alv application. Thanks very much

  • WCF-WebHttp REST configuration

    I'm trying to configure the WCF-WebHttp adapter to retreive data from a REST endpoint, specifically a contact in CRM.  I need to include a filter to return only the contact that I want.  When I include a hardcoded value in the Uri it works fine: <Bts