Change working timings in factory calendar

Dear All,,
Can any one guide me , how to change working timings in factory calendar....
thank you advance.......

In the factory calendar definitions in t.code SCAL, the working days are maintained. Working time is specific to each application area like shipping, production etc. For shipping area timings maintenance, check the link Factory Calendar Working Times and Factory Calendar Working Times
Regards,

Similar Messages

  • Working day to factory calendar date

    Hello Experts,
    I wish to get the factory calendar date, specific to a factory calendar, based on a working day.
    Basically, if i pass say 4, then i want to get the date for the 4th working day based on a specific factory calendar.
    Can someone throw some light on possible function module that i can use in BW ?
    Thanks

    That's what I was giving you, you give the working day and the factory calendar and you get the date, or you can use this function and you can do it the other way:
    (Unless I'm completely missing your point here...)
        CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
      EXPORTING
        CORRECT_OPTION                     = '+'
        DATE                               = G_WORKAREA3-CREATEDON
        FACTORY_CALENDAR_ID                = L_S_PLANT-FACTCAL_ID
      IMPORTING
    *   DATE                               =
       FACTORYDATE                        = L_FCDATE
      EXCEPTIONS
        CALENDAR_BUFFER_NOT_LOADABLE       = 1
        CORRECT_OPTION_INVALID             = 2
        DATE_AFTER_RANGE                   = 3
        DATE_BEFORE_RANGE                  = 4
        DATE_INVALID                       = 5
        FACTORY_CALENDAR_NOT_FOUND         = 6
        OTHERS                             = 7.
      ENDIF.

  • Function Module to Calculate Factory Calendar

    Hi,
        We are Working generating a report for discrete Manufacturing. We need a actual days worked from the factory calendar for our MIS Reports based tat.
        Help us in find a Function Module for it.
    Regards
    Naga

    *&      Form  BILLING_DAY_IS_WORKING_DAY
          Using the date passed in next_date, verify that the date is
    a working day in the factory calendar the user specifies.  This form
    calls the standard ABAP function for determining if a date is a
    "working day".  The function first determines if the day of the week
    corresponding to the calendar date entered is a billing day.  Then
    it checks to see if the calendar date is a holiday.  If either are
    true the date_no_workingday flag is passed back as "X" and this
    routine passes back "X" to the calling routine in the parameter
    p_billing_flag.
    FORM CURRENT_DAY_IS_WORKING_DAY USING    P_NEXT_DATE TYPE D
                                    CHANGING P_NOT_BILLING_DAY TYPE C.
      CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
           EXPORTING
                DATE                       = P_NEXT_DATE
                FACTORY_CALENDAR_ID        = FACTCALD
                MESSAGE_TYPE               = 'I'
           EXCEPTIONS
                DATE_AFTER_RANGE           = 1
                DATE_BEFORE_RANGE          = 2
                DATE_INVALID               = 3
                DATE_NO_WORKINGDAY         = 4
                FACTORY_CALENDAR_NOT_FOUND = 5
                MESSAGE_TYPE_INVALID       = 6
                OTHERS                     = 7.
      CASE SY-SUBRC.
        WHEN '0'.
          CLEAR P_NOT_BILLING_DAY.
        WHEN '4'.
          IF SY-DATUM > CURRENT_BDATE.
            P_NOT_BILLING_DAY = SPACE.
          ELSE.
            P_NOT_BILLING_DAY = 'X'.
          ENDIF.
        WHEN OTHERS.
          CONCATENATE: 'Error Accessing Calendar with ID: ' FACTCALD
          INTO ZZMSG_TAB2.
          APPEND ZZMSG_TAB2.
          CLEAR  ZZMSG_TAB2.
          V_LEVEL = 'E'.
          PERFORM F_ERROR_MESSAGE.
          MESSAGE E305 WITH FACTCALD.
      ENDCASE.
    ENDFORM.                               " BILLING_DAY_IS_WORKING_DAY
    *&      Form  BILLING_DAY_IS_WORKING_DAY
          Using the date passed in next_date, verify that the date is
    a working day in the factory calendar the user specifies.  This form
    calls the standard ABAP function for determining if a date is a
    "working day".  The function first determines if the day of the week
    corresponding to the calendar date entered is a billing day.  Then
    it checks to see if the calendar date is a holiday.  If either are
    true the date_no_workingday flag is passed back as "X" and this
    routine passes back "X" to the calling routine in the parameter
    p_billing_flag.
    FORM BILLING_DAY_IS_WORKING_DAY USING    P_NEXT_DATE TYPE D
                                    CHANGING P_NOT_BILLING_DAY TYPE C.
      CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
           EXPORTING
                DATE                       = P_NEXT_DATE
                FACTORY_CALENDAR_ID        = FACTCALD
                MESSAGE_TYPE               = 'I'
           EXCEPTIONS
                DATE_AFTER_RANGE           = 1
                DATE_BEFORE_RANGE          = 2
                DATE_INVALID               = 3
                DATE_NO_WORKINGDAY         = 4
                FACTORY_CALENDAR_NOT_FOUND = 5
                MESSAGE_TYPE_INVALID       = 6
                OTHERS                     = 7.
      CASE SY-SUBRC.
        WHEN '0'.
          CLEAR P_NOT_BILLING_DAY.
        WHEN '4'.
          P_NOT_BILLING_DAY = 'X'.
        WHEN OTHERS.
          CONCATENATE: 'Error Accessing Calendar with ID: ' FACTCALD
          INTO ZZMSG_TAB2.
          APPEND ZZMSG_TAB2.
          CLEAR  ZZMSG_TAB2.
          V_LEVEL = 'E'.
          PERFORM F_ERROR_MESSAGE.
          MESSAGE E305 WITH FACTCALD.
      ENDCASE.
    ENDFORM.                               " BILLING_DAY_IS_WORKING_DAY
    Reward if useful

  • Factory Calendar update

    Hell All
    For plant my client is requesting that 26 December 2014 be marked as a non working day. The plant is
    all taking this day as one of their floating holidays and need it considered as
    non work day in factory calendar to extend their Christmas break.
    Is there any impact if we do this for other module etc.,,what would be best way if we do through open client or landscape.
    Can anyone tell me how to do the same.
    Regards
    Ananthi

    Hello Remi,
    While I try to create a workbench request it shows the target system deletes the Holiday calendar.Factory Calendar etc.,after moving the TR it deletes the initial and overwrites ?
    when I try to check for transport conflict analysis it takes production logon which never happens before.
    Also here I have made the changes for Factory calendar alone in special rule,whereas no changes to holiday calendar,for this case is it require to run the work schedule rule.
    Regards

  • Factory Calendar for only May thru October months

    Hi Team,
    Our Client is requesting to set up the Factory Calendar for Maintenance Plans to be called only for May thru October months. November thru April there should not be any Plans being called.
    Please help us with setps to customize the Factory Calendar such that Plans could be called only for May thru October months.
    Thanks for your time in advance
    Regards,
    Sindhu

    Thanks Jurgen. I was able to set up the Factory Calendar. I have set up the 'Special Rule' in the Factory Calendar and specified the work days only from May 1st to Oct 31st. Please let me know in case of any changes required in this Factory Calendar set up.
    Thanks and Regards,
    Sindhu

  • Factory Calendar issue in creation of Sales Order/ Delivery Order

    Hi all,
    There is one issue. Our user is not able to create Sales Order/ delivery order as he is getting the below error message u201CDate 2010-12-27 lies after the end of Factory calendar F1u201D. But when I checked the plant in customization, the Factory calendar assigned is u201CKRu201D and not u201CF1u201D. So I donu2019t understand why this error message is appearing. But when I checked Factory calendar u201CF1u201D, it was valid only up to 2010 and there are special rules also set. Only few days in the year are working days. Factory Calendar u201CF1u201D description says u201CKOR customers billed on the 25th of every monthu201D
    Please advice.
    Regards,
    Brijesh

    Dear
    If F1 is the correct calander , then goto OP03-Calander Maintenece -select the Holoiday Caleneder  and extende the Valaidity till 2020 and also Select the Factory Calander  do the same till 2020 .Now Goback to main screen of OP03-Plant asisngement -re-assing the same F1 calaneder .
    Secondly check the factory calender of the plant in OX10.Then in SPRO > enterprise structure >Definition > logistic execution>define shipping point .Select you shipping point and assgin the proper factory calender
    .Goto OVX5 , choose your sales organization, click on details, Detailed information tab - Sales Org Calendar (maintain your factory calendar here not Sale Org Calander )
    .Check in VOV8, use the "Propose delivery date" and "Lead time in Days" options to default today's date as the requested delivery date.
    Refer : Public holiday dates issue
    Regards
    JH

  • How to set 2 factory calendar in 1 plant?

    Now I setup 1 factory calendar and assign to plant and it contains 5 workday (Monday-Friday) per week.
    In the future , For 1 plant we want to separate into 2 production lines and the workday are different. What should I do?
    Sample of different workday
    Production 1 , workday are 1-15 of each month
    Production 2 , workday are Monday-Friday
    Look forward to hear any suggestion.

    Dear DB49
    Thanks for you recommendation,Could you please tell me which parameter I have to set in OPU5?
    Now I set parameter as below detail but it still have problem about basic date in planed order.
    Parameter in OPU5
    Detail Scheduling -> SelID:Detailed = 01
    Scheduling = Checked
    Generate capacity reqs. = Checked
    Scheduling level   = Via Detailed Scheduling
    Adjust dates = Adjust basic dates,adjust dep. reqmts to operation date
    For capacity scheduling = Always basic dates, dep.reqmts to operation dates
    Scheduling type = Backwards
    Reduction type = All operation in the order will be reduced
    Maximum reduction level = Do not reduce
    Example
    I set 3 working days on factory calendar (Monday,Tuesday,Wednesday)
    PIR   -> requirement date 18.10.2010
    Total Operation time = 5 Days (from tcode c203)
    When run MPS (MD40/MD41) with scheduling = Lead Time Scheduling and Capacity Planning
    Planned order
                          Basic Dates                                  Production Dates
    Finish              18.10.2010                                  20.10.2010
    Start                05.10.2010                                  05.10.2010
    Why basic finish dates is not equal 20.10.2010?
    Best regards,
    Jariya

  • Working days between two date fields and Changing Factory Calendar

    Hi,
    I have to calculate working days between two date fields excluding the weekends and public holidays for Switzerland.
    I have written the routine using factory calender and its working fine except for two problems now:
    1. If any one of the date field is empty then teh rsult should be zero.
    2. And the below code is working from 1996 but my cleints wants it to work for years before 1996 as well.
    I also tried to change the Start date in SCAL for factory calendar but it says enter values between 1995 to 2020.
    I am new to ABAP. Please help me how i can achieve these for below code.
    DATA: IT_HOLIDAYS type TABLE OF ISCAL_DAY,
          IS_HOLIDAYS TYPE ISCAL_DAY.
    DATA: T_DATE TYPE SY-DATUM,
          P_DATE TYPE SY-DATUM.
    DATA : X_DATE(4) TYPE C.
    DATA: CNT TYPE I.
    REFRESH : IT_HOLIDAYS.
    CLEAR : IT_HOLIDAYS.
    T_DATE = SOURCE_FIELDS-/BIC/ZCCCHP812.
    P_DATE = SOURCE_FIELDS-/BIC/ZCCCHP810.
    CALL FUNCTION 'HOLIDAY_GET'
    EXPORTING
    HOLIDAY_CALENDAR = 'CH'
    FACTORY_CALENDAR = 'CH'
    DATE_FROM = P_DATE
    DATE_TO   = T_DATE
    TABLES
    HOLIDAYS = IT_HOLIDAYS
    EXCEPTIONS
    FACTORY_CALENDAR_NOT_FOUND = 1
    HOLIDAY_CALENDAR_NOT_FOUND = 2
    DATE_HAS_INVALID_FORMAT = 3
    DATE_INCONSISTENCY = 4
    OTHERS = 5.
    DESCRIBE TABLE IT_HOLIDAYS LINES CNT.
    X_DATE = T_DATE - P_DATE - CNT.
    RESULT = X_DATE.
    Please help
    Regards
    Zabina
    Edited by: Syed786 on Nov 2, 2011 9:15 AM

    Hi Zabina,
    Try this function module  'DURATION_DETERMINE'.
    Give the factory calendar and unit as DAY
    With regards,
    Rajesh

  • Changes to Factory Calendar Not reflected in work schedule

    I have updated the exsisting factory calendar in PRD .
    Yet the changes do not seem to have taken effect. I have tried to regernerate the work schedule. However I'am not sure I have done that properly.
    Any assistance would be greatly appreciated.
    Thank you

    Hi.. you cant expect any change in the Factory calender affecting work schedules. If you want the work schedules to be updated with the holidays you need to be updating the holiday calender.
    Factory calender is mainly for Plant Schedules, Bank transfers in finance , etc

  • Impact of Changing the Factory Calendar

    Hi,
    I want to know how factory calendar settings impact various things in production planning,sales and distribution,FICO and other modules.
    If buisness needs to change the factory calendar at the middle of the year due to some reasons,how it will impact and what are all the necessary care to be taken to overcome that impact.
    If anybody having the document regarding the factory calendar,please share the link.
    Please guide me regarding this
    with regards
    Girish

    Hi Girish,
    If you take from PP point of view we assigned factory calender to work center if we changed it, the it will effect on scheduling of order, capacity planning. I dont think u will find any problem , if u change it then you need to run MRP again.
    You have to assign factory calendar to PLANT
    Go to SPRO>ENTERPRISE STRUCTURE->DEFINITION> LOG GENERAL>DEFINE COPY,DELETE AND CHECK PLANT>DEFINE PLANT
    Regards,
    R.Brahmankar

  • How to get working Date based on factory Calendar and current date

    Hi All,
    I want to deletermine a date which is Invoice date + 3 working days excluding SAT, SUN and holidays. For e.g, if Invoice date is 18th Sept, 2009, then my desired date should 23rd Sept, 2009.
    I do have factory calendar ID but i dont know the proper function module.
    Can some one please help me...

    Hi,
    check this code,
    DATA:
    w_date   TYPE dats,
    w_date1  LIKE scal-date,               " dats
    w_date2  LIKE scal-date,
    i_factid LIKE tkevs-fcalid VALUE 'IN', " IN for India
    it_dats  TYPE TABLE OF rke_dat,
    wa_dats  LIKE LINE OF it_dats,
    w_lines  TYPE i.
    CALL FUNCTION 'CALCULATE_DATE'
      EXPORTING
        days        = '0'
        months      = '1'
        start_date  = sy-datum             " for example '20090918'
      IMPORTING
        result_date = w_date.              " 1 month added '20091018'
    w_date1 = sy-datum.
    w_date2 = w_date.
    CALL FUNCTION 'RKE_SELECT_FACTDAYS_FOR_PERIOD'
      EXPORTING
        i_datab  = w_date1
        i_datbi  = w_date2
        i_factid = i_factid
      TABLES
        eth_dats = it_dats.                " number of working days between two dates
    READ TABLE it_dats INDEX 4 INTO wa_dats.
    WRITE :
      / wa_dats-periodat.                  " new date '20090923'
    Hope this will be helpfull...
    Regards
    Adil

  • Factory Calendar to prevent delivery on a non-working day

    Hi Guys,
    You may have already come across this problem and hence requesting your inputs on the same.
    I'm able to create a delivery for a sales order on a week-end even though they happen to be 'non-working days' in my Factory Calendar. I have gone through the search forum and the 2 things that most of them said was to attach the Factory Calendar (having Sat and Sun as non-working days) to the Plant and Shipping Point, which I have already done, inspite of which I'm able to create a delivery for a schedule line date which falls on a non-working day.
    My business scenario requires that even though a Sales Order may be created on a non-working day, the delivery should only be possible on the next working day, even if stock is available on those non-working days.
    Your thoughts/suggestions/ideas would be useful.
    Regards,
    Shripad

    Hi Shripad,
    In Customer Master, General Data , We have  Unloading Points  Option. There we can opt for the delivery to the cutomer.
    Then we can stop delivery for that day.
    Award points if it adds information.
    Thanks
    Mohan

  • Pass working day to get factory calendar date

    Hello Experts,
    I wish to get the factory calendar date, specific to a factory calendar, based on a working day.
    Basically, if i pass say 4, then i want to get the date for the 4th working day based on a specific factory calendar.
    Can someone throw some light on possible function module that i can use?
    Thanks

    I want to pass sy-datum to get factory date and then check if this factory date is the 4th busiess day for that month based on a specific calendar.
    Or if i can pass in 4th bus day for a month (just pass 4) based on a specific factory calendar (just pass calendar id), then i would want the factory date, which i want to compare against sy-datum in my subsequent logic.
    I am trying to trigger a data load stating if factory date for this month = 4th business day, then run load, else dont. And this in BW.
    I dont have the FM that you mentioned above, in BW and is available only in R/3

  • Factory Calendar Working Times

    Hi all,
    Can any one help me on Factory Calendar Working Times, at shipping point level i need to assign Factory Calendarand Working Times
    factory calender we define in SCAL but where we define Working Times ?
    Can any one guide me
    Thanks
    Rajesh

    Hi
    Check the following path :
    IMG > Logistics Execution>Shipping > Basic Shipping Function>Scheduling --> Delivery Sheduling and Transportation Scheduling --> define scheduling by Shipping Point.
    Hope you are looking for this only.
    Regards
    Amitesh Anand

  • Factory Calendar Changes

    I would like to make changes to the factory calendar automatically request a transport.
    Does anyone know if this is possible?
    In transaction SCC4 Automatic recording of changes is set.
    In IMG Activity, object SCAL is set to 2 Automatic transport
    When changes to factory calendars are made, it only warns that customizing changes are not automatically recorded.

    hi
    can start directly the transaction SCAL.
    Perhaps this link might helps you to understand the concept:
    http://help.sap.com/saphelp_46c/helpdata/en/35/6f3ed1268b2239e10000009b38f984/content.htm
    regards
    Arun

Maybe you are looking for

  • Bulk Upoad of Excel file in oracle data-base

    Hi In my jsp application, I needed a utility which allows the user to locate the Excel-file on his/her machine and upload that data after proper validation in the database. How will I achieve this? Regards sachin

  • Help with slideshow, please and thank you

    My brother created a slideshow and sent me the link. I was able to download the slideshow to my desktop. Is there a way to individually move the pictures from the slideshow to an album in iPhoto? When I try moving the whole slideshow or individual pi

  • Vendor/Price check in SC

    Hello Experts, We are having SRM 4.0, Classic scenario. We want to achieve below while creating SC, 1. Based on Purchase Grp and company code, have check on price (Total value can not be greater than XX) 2. Based on purchase  Grp (and may be company

  • DST issues with -14 GMT!!

    Hi Folks, I have an application running on java 1.3.1_18, under bea /SQL server and windows 2000. The timezone is PDT. The datetime shows on the UI is -14 GMT ( like double the time zone difference). We updated the OS with appropriate patches with no

  • Everything dissapears when I draw a line

    Hi, I have an applet that contains JButtons and Textfields. I wrote a paint(Graphics g) method in it. This paint method draws a line inside the applet, but then it disappears all the buttons and textfields. How can I do to draw the line but keep the