No of days using factory calendar

Hi Gurus,
I know effective date(Example 01/01/2007). How to calculate no. of working days for effective date 01/01/2007 using factory calendar.
Thanks
Liza

Hi Liza,
start date and end dates are needed only if you want to know the number of working days between the two dates. In your case you can get number of working days  between effective date and the begining of factory calendar validity date.
   Check  FM "DATE_CONVERT_TO_FACTORYDATE"  . You have to pass parameters      Date  and  Clendar ID. The output will be number of working days .
ie  effective date  minus    TFACD-VJAHR
Table TFACD gives you the calendar ID and the validity dates(  VJAHR and BJAHR)
Jaya

Similar Messages

  • Where do we use factory calendar

    Hi All,
    Can any one tell me where do we use factory calendar in SAP HR?
    Thanks
    Veer

    Hi Veeresh
    A factory calendar distinguishes between working days and non working days. It is company specific calendar. when you have entered an exception rule for non working days and have chosen factory calendar then you must enter the factory calendar relevant to your company.
    Hope it helps.
    Regards
    Kasi
    Note: Points are the best way to say thanks in SDN.

  • Using factory calendars in BI transformations

    Hello All,
    Do we have the option of using factory calendars in BI transformations, like we had in 3.x version update rules.
    I did not see any option for choosing the factory calendar, so i guess we will have to use function modules.
    Please let me know if there is any option available.
    Thanks in advance.
    Manoj

    hi Anton Moskvichev,
    I check in the source system assignment. The source system is checked. While replicating the DS from source system i replicated based on BI 7.0 only. While activating the cube or infoobject from BI content i did not get any transformation or transfer rules for activation. I just got the cube alone..

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

  • Vendor Evaluation using Factory Calendar?

    Hello,
    Can I set up Vendor Evaluation to consider the Factory Calendar when scoring with the Standard Delivery Date Variance?
    I have set it up to allow the delivery to score 100% of the points if the delivery is in by 6AM the following day.  But this does not work over the weekends.
    Thanks,
    Matt

    Please help.
    There must be some way to do this. 
    If the factory is closed on the weekends and you miss a Friday delivery, even though you could have made the Saturday delivery you have to wait until Monday and SAP scores you as though you were 3 days late instead of the actual 1 day late.
    How can I make Vendor Evaluation use the factory calendar?
    Thanks,
    Matt

  • Get number of hours between two dates and two hours using factory calendar

    Hello all,
    I have the following requirement: I need to calculate the number of hours between two dates and two hours (start date- finish date and start hour-finish hour) or timestamps using a factory calendar. I must program it on CRM environment.
    Does anybody know a function module that makes it?
    Thanks in advance.
    Carmen

    Please check function module DURATION_DETERMINE.
    - April King

  • PO Receipts not using Factory Calendar - Workaround?

    We are in the process of implementing SAP.
    We have a gap that can not be unique to our company and I'm looking for advice on how other companies have handled it.
    The problem:  We have agreements with third party suppliers that they will ship their product in three BUSINESS days and we measure their performance to this standard leadtime.  SAP uses calendar days.  If we give our supplier a PO on a Thursday, our expectation will be that they ship the product on the following Tuesday, which is three BUSINESS days.  Because SAP uses calendar days, the auto generated PO will reflect a Sunday expected ship date.  The same problem exists if we give them a PO on a Friday.  The system will reflect a Monday expected ship date, when, per our agreement, they would not be expected to ship the product until Wednesday.
    How do we get the system to automatically recognize that the weekend (Sat and Sun) should NOT be counted in the leadtime expectation? 
    Thank You in advance for your assistance.
    Greg

    Hi,
    Your possible checks should be:
    1) Whether material has proper MRP type
    2) whether there is enough demand
    3) whether the stock available is less than the demand
    4) Whether planning parameters are set properly
    5) Whether external procurement is setup for material master
    6) Whether planning file entry took place
    so many but a few listed on possibilities of failure to get PReqs out of MRP run...
    Regards

  • Dinamic Credit limits must use factory calendar (for exclude holidays)

    Dear collegues!
    If somebody know how to custom S066 info-structure (dinamic credit limits) for working only with working days.
    Example of business-process.
    Customer want to enter order today for day after tomorrow i.e. on Monday for Wednesdays etc...
    But on Friday it must be for Monday.
    So we want to made dinamic credit check for horison 2 days...But on friday to monday should be 3 days...
    Is anybody have any idea?
    Thans a lot!
    Olga

    hello, friend.
    sorry for the late reply.  i believe you can come up with your own sales calendar by going IMG > Net Weaver > General Settings > Maintain calendar (t-code SCAL).  define your calendar and assign this to your sales organization.
    regards.

  • 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 use factory calender in BPM (NWDS 7.1 environement )

    hi guys,
    I have requirement to send u201Cnotification of missed deadlineu201D using factory calendar.
    The time to send notification is in hours and its is less than a day. So a task created on Friday 5u2019o clock should send missed alert on Monday 9 AM (assuming business run from 9 to 5).
    this need to be achieve using BPM workflow can any suggest me how to use factory calendar in BPM .

    Hi,
    You can use "BUSINESS_DATE_CREATE" function module in the ECC system for your requirement.
    This will calculate exact date and time and return next business day.
    You need to some datetime convertions on the BPM side to get it working
    Regards, Anil

  • Function module SD_SCHEDULING: delivery date calculation factory calendar

    Hi,
    When I create or change a sales order, system calculates the delivery time and date (ETDAT) using transit duration and factory calendar. Currently factory calendar says that transportation leaves every Monday, Wednesday and Friday. Unfortunately, function module SD_SCHEDULING calculates the delivery date using factory calendar dates, i.e. <b>NOT</b> using working dates.
    Function module reads the factory calendar from table TVRO (Routes) and field SPFBK (Factory calendar key) in subroutine GET_CUSTOMIZING, and saves factory calendar id in CS_SCHEDDU-TRANSIT_FC. The calculation itself is done later in function module DATE_CONVERT_TO_FACTORYDATE.
    For example, if transit duration is 3 working days, function module calculates the delivery date using Monday (first day), Wednesday (second day) and Friday (third day). Thus, the result is Friday, which is wrong. Result should be of course Wednesday (Monday first day, Tuesday second day and Wednesday third day).
    I'd like to use working days instead of calendar days. I am planning to recalculate the delivery date in some user exit, but before I start coding, I'd like to hear your opinion: <i>Is it possible to use working days instead of calendar days when calculating delivery date?</i> (I believe it must be, since my case is very normal). If it is, I assume that this can be achieved with IMG, but how and where?
    I am using SAP R/3 Enterprise.
    Regards,
    Jarmo Tuominen

    Hi jarmo,
    1. DATE_CHECK_WORKINGDAY
       Probably this FM may be useful to u.
    2.
    CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
            EXPORTING
              date                       = d
              factory_calendar_id        = '01'
              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.
    regards,
    amit m.

  • Note 1529649 - Factory Calendar expires 2010

    Hi Experts,
    Need a clarifications. Does it affect any work schedule, when we extend the validity of factory calendar.
    when Public Holiday Calendar are used in factory calendar does it affect any work schedule .
    Please let me know if it affects anything related to HR.
    Regards,
    M Bharath

    We don't use Factory Calendars, only our own Holiday Calendars, but they must be valid in the future if we want to generate the Work Schedules. 
    Our Holiday Calendars are currently valid until 2020, and our Work Schedules have been generated up to December 2015.
    This allows the system to "count" the number of absence days (and quota utiliization) for long-term absences (provided they have an end date smaller than 01.01.2016).

  • Set deadline according to factory calendar

    Hi workflow experts,
    I have 3 questions regarding deadline monitoring.
    1. Is it possible to use bussiness days from factory calendar instead of calendar days for workitem deadline ?
    2. Is there a FB for changing the deadline of a workitem ? I found only SAP_WAPI_GET_DEADLINES for reading the deadline.
    3. what is the simplest way of repeating the modeled action ( in my case send a reminder mail) for overdue workitems every day after they got overdued ?
    best regards
    Kerstin

    Hi guys,
    thank you. Seems nobody uses the built-in deadline handling because of its poorness ?
    I have a simple task:
    - monitor the deadlines of all user decision steps in my workflow  ( based on working days)
    - send a reminder email after the deadline is reached to the actor
    - send an email every working day to the same actor until the workitem status is COMPLETED.
    I would like to do this without a lot of additional modeling.
    In sdn there are some other suggestions for repeated escalation to the same actor:
    - delete the workitem and recreate it with new creation date to achieve a repeated escalation action triggred by workflow engine
    User Decision - Deadline monitoring - Obsolete workitem
    In How to Create General UWL Notifications the deprecated SWW_WI_CREATE is used where the LATEST_END_DATE is an import parameted.
    I'm still not sure which is a simple and robust solution - may be I will use the deprecated FM too if there is no alternative.
    regards
    Kerstin

  • Scheduling does not take the factory calendar for counting the workdays

    I am scheduling my jobs in CPS 8 and I have imported my Factory calenders also. When using Factory calendars for scheduling the jobs for the 6th working day of every month, Its does not count the Saturday as a working day, where as the calendar I am using has Working day on Saturday.
    Why is it so? And is there a way to solve this ?
    Please suggest. Any help is appreciated.

    Hi All,
    I have used this same logic for scheduling jobs scheduling for the nth work days of every month.
    But I have a job, where it is required to be scheduled on the 5th workday of a month and it is submitted once in every 6 months.
    When I schedule it for every month, it works fine. But when I use a submit frame to submit it for once in every 6 months, it does not work.
    Can anyone suggest how to do it ? I used a embedded window to check it also, which didn't work.
    BR
    Madhu

  • Maintain Factory Calendar

    Hi
    We are getting an error when running a query that contains a variable using Factory Calendar, "date is outside the factory calendar range"
    I check SCAL and noticed that my calendar is set to date 1996 to 2010. When comparing to R/3 our BW calendar is outdated.
    How do I maintain this calendar using R/3? How do I load this information? I'd rather not to change directly in BW.
    Thanks

    Go to R/3 source system right click and do transfer global settings ,it should update the factory calendar .
    Ravi

Maybe you are looking for

  • I can no longer tab between cells in a table with pages 5.0.

    I use pages everyday for filling in my work booking sheets. I need to have them synching to the cloud, so I can access the client information while on the road. My booking sheet is basically a large table with many cells for name, address, phone numb

  • Mac mini administrator password problems

    i bought a mac mini and i lost the administrator password. i was wondering how to fix this or restore it completely.

  • Error When Attempting to Create a Password File

    hi all, i recevied the following error when attempting to create a password file via the ORAPWD utility. can anyone offer any insight into what is causing this problem? $ ./orapwd file=/appl/oracle/product/9.2.0-64bit/dbs/orapwLEAF password=XXXXXX Un

  • Training for BPC

    Hello Fellows, I am a sales consultant positioning BPC at many places, furthermore, I am also planning to get training for BPC. I am pretty confused at the moment with the following queries in mind: Is BPC a technical (programming type) side of SAP?

  • Available Retraction from BPC to ECC

    Hi Friends ! I would like to know how many available retractors are possible from BPC to ECC: 1) Fund Management - BPC to BI & then Standard Tcode in ECC 2) PCA - Only possible for flat file upload Is there any more retractors? any presentation avail