Date is outside the factory calendar range

I am trying to run a BW query. When I click on the calnedar icon field. It gives this error.
Error: Date is outside the factory calendar range
Msg No. FK884
What could be the problem in the query? Has anybody had the similar problem before? I tried to search in SAP notes and could not find anything close to this.
I will  Appreciate your help. Thanks a lot.
Abhi

Hi Abhijit,
We got the same error message in 2010.
1) Check in transaction SCAL that the Factory Calendar ID 01 (i.e. German) is valid to 2009. This explains the error message.
2) Found SAP Note 1136142 about the configuration of default factory calendar ID of F4 Help and hierarchy for Time-characteristics in BI 7.0.
SAP Note Solution:
The key figure attribute obtains its value from the default work calendar as it is maintained in transaction RSRHIERARCHYVIRT (General Settings -> Default Factory Cal. ID).
This setting is valid across the entire system and does not permit any variable selection of the factory calendar for each query.
Furthermore, a value for 0NUMWDAY is calculated only for the period in which the default factory calendar is valid.
3) Check in transaction SCAL that the Factory Calendar ID of our location is valid to 2050.
The problem is solved after changed the Default Factory Cal. ID from 01 to the ID of our location in transaction RSRHIERARCHYVIRT.
Regards,
Ricky

Similar Messages

  • Warning of " Date of  outside  the factory calendar Range"

    Hi Experts,
            I have created a variable  of ocalday,It is taking  # values and it showing warning " Date of  outside  the factory calendar Range".How avoid this warning.Actually intially in the one of infocubes carries the # value for 0calday, now we have deleted it, even then  it taking # values and showing same warning.I have check at variable it doesnt carring any default value.Now to delete the # values from variable so that it should not show any warnings.
    Can any body suggest me any thing.
    Thanks
    Vinod

    Hi Srinivas ,
       Thank you very much for your reply.There is # value in the master and transaction data.Even im not able to suppress this message.As it indicating a msg no 884 which is not there message list in RSRT.
    Can you suggest me any other thing.
    Thanks
    Vinod

  • 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

  • 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

  • The factory calendar

    Hi Gurus,
    I am facing a problem Currently the system is not considering the factory calendar while giving a firm day. For eg, if the firm date is after 20 days, it is not considering the "off-days" in between and treats all the days as working days.
    Regards
    yogendra

    Hi Yogendra,
    It would be helpful if you provide the example of what your seeing to help us understand better.
    If the system is not considering the holidays or weekends of your organization while proposing for externally procured parts, then it is a normal behavior, as external procurement is based on calendar days & internal procurement is based on work days.
    Check & revert if the above answers your query.
    Regards,
    Vivek

  • How to find out the Factory Calendar ID used by  an Organization

    Hi Experts,
    I want to know Factory Calendar ID used by an Organization.
    Which table store the Factory Calendar information for an organization.
    Is there any function module to get the Factory calendar of an organization.
    Please help me ASAP.
    Point will be rewarded for helpful answers.
    Thanks in advance
    Kulvendra Kumar

    Hi
    chk the view v_001p_m
    there u can find ur org nization so there u wull find the calender assigned to them.

  • Function Module to find date by passign the Planning Calendar

    Hi All,
    Can you tell me is there any function Module to find date by passign the Planning Calendar?
    The requirement is i have a planning calender assigned to the Material in the MRP2 view.
    Example: Material XXXXXX is assigned a Planning Calendar Z01.
    Z01 is defined such that Delivery is on Monday only. This calendar says that the material is received from the Vendor only on Mondays.
    So whenever i punch a Sales Order for Material XXXXXX, a PR is automatically geenrated when saving the sales order and the calculation of Delivery dates is also happening at this level.
    Basing on this PR a PO is raised to a Vendor for procuring the Material XXXXXX, now my problem is for example the PO is raised today (30.04.2008), but the Materail XXXXXX is available only on next monday in my plant (05.05.2008) basing on my Planning Calendar assigned in the Materail Master, so i have to inform this dealy to my customer at the time of punching the sales order.
    So is there any function Module to find date by passign the Planning Calendar?
    Thanks for your valuable inputs.
    Regards,
    Sudarshan

    Hi Jorge,
    Thanks for your reply.
    I am unable to open the Function module which you have mentioned below.
    I am working on 4.6 c version of SAP.
    Any ways i have found one function module which is useful to my requirement as stated below:
    DATE_GET_PERIOD
    Thanks and Regards,
    Sudarshan

  • Invalid factory calendar or error in the factory calendar

    When I am trying to post " Goods issue for consumption:" in T.code MB1A getting below error error
    Invalid factory calendar or error in the factory calendar
    I am made chages in OY05 still facing same issue. Please help me out.

    Hi
    The factory calender is not a mandatory field during configuration, but is required for IM postings to occure.
    Check and maintain factory calender:  SPRO\SAP ref IMG\Enterprise structure\Definition\Logistics general\Define, copy, check, delete plant.
    Regards

  • 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

  • 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

  • Find date columns outside the range

    I have a start and end dates and I have to check mark the record if the ship date is outside my start and end date range. To find out whether my ship date is within the range I can use between but to check to see the outside of the range I am having trouble.
    Any one have any idea.
    Thanks in advance.

    What's the opposite of BETWEEN? Not between.
    not between :start_date and :end_date

  • How to find the Factory Calendar ID

    Hi,
    I using the FM DATE_CONVERT_TO_FACTORYDATE to calculate the number of working days between two dates.
    I am using the working day indicator and counting the number of days.
    This FM has the input 'Factory Calendar ID'.
    I have only the service organization as the input. How can i get the relevant Factory calendar ID?
    Thanks in advance.
    Regards
    Shanthi

    Hi,
    You can use the FM:  RH_OM_ATTRIBUTES_READ to retrieve the country for a particular service org.
    Pass  PLVAR= 01, OTYPE = O, OBJID = serv org object ID, SCENARIO= Service or Sale depending in which the attribute country is maintained in org model. You will get the attibute Countryin ATTRIB ->LOW field.
    Regards,
    PP

  • How to display a date also in the alternate calendar format beside the main region calendar format?

    In case I defined alternate calendar and I want to display he date from the main calendar and also from the alternate calendar how can I do it?
    keren tsur

    Hi
    first convert the date to YYYYMMDD
    CONVERSION_EXIT_PDATE_INPUT
    then pass the date to this FM
    Try using this FM
    CONVERSION_EXIT_SDATE_OUTPUT
    Import parameters               Value
    INPUT                           20070220
    Export parameters               Value
    OUTPUT                          20.FEB.2007
    regards
    Shiva

  • Is there an up to date version of the Outdoor Bridge Range Calculation Utility?

    I have found this: Outdoor Bridge Range Calculation Utility
    but it dates back to 2007. Brilliant tool but is there an up to date version with the details of current kit?
    Cheers,
    Andy

    The spreadsheet seems to only rate up to 54mbps. I would have thought we could get more than that by now...
    I have a requirement to replace a laser point to point with a wireless bridge, (dont know why the powers that be have decided laser isnt appropriate anymore). I would need at least a gb, preferably more. The link is only 150m.
    Surely with the right kit there is a way to achieve the data rate needed at that distance without laser?
    Cheers,
    Andy

  • 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

Maybe you are looking for

  • Video chat does not work.

    Ive read countless posts and mine sounds about the same as everyone else's except one thing. I just bought a brand new Macbook last week. I do not have a .Mac account so I use my AIM screen name. My boyfriend also has a brand new Macbook but his is a

  • How to pass cPath in ExportAsXfdf when we call javascipt from our plugin??

    Hi I am able to export file using javascript through my plugin..But if I pass cPath variable also, it does nothing..I am not able to pass to cPath value properly.. what should be the syntax of cPath when we call javascript from plugin?? If I write th

  • I just bought a song and its not playing and the album isnt showing up! HELP!

    I just bought a song off an album. The album cover isnt showing up and the song isnt playing. What should i do?

  • Error -1202

    Please can anyone tell me how to get rid of error -1202 when I try to Edit my account details. I have asked on another site and keep being told to check my time and date. I have checked and rechecked and also changed date and time formats several tim

  • Essbase migration

    Hi Team, I am doing only essbase migration from verion 7.1 to 11.1.2.2 . All i need is Essbase and EAS in the upgraded version. 1) Do i need shared service in the newer version? If yes, do I need Oracle DB because shared service security is stored in