Calendar Year/week 2014 53rd week

Hi Experts,
I have a BEx query that users use for comparison between previous and current Months, between previous and current Year and previous and current week of the year.
In 2013 we have 52 weeks but in 2014 we have 53 weeks
Users want to compare sales on weekly basis based on previous years and the current year but 53rd week on 2014 year is messing up the numbers.
is it possible to exclude or include this 53rd week from the query by using some kind of filter or variable.
Can you please help me the step by step process on how I can achieve this..
Also please advise if I use this BEx query as a source for BOBJ webi query, is it easy to achieve this task in webi and How ?
Will appreciate your help.
Regards

Hi Imran,
I wonder is it really the correct thing to exclude a week of your sales?
Do you want to compare week 10 this year V's week 10 last year - if so you can change your offset to -53 instead of -52.
We use a lot of Customer Exits on time, and where we derive MTD values, we make allowances in the code for 53 week years.  Typically we add the extra week into August (different companies will make different decisions) so in August for last year our week numbers would be 31-34 and this year would be 31-35.  Sept last year would be 35-39 and this year 36-40  and so on.
With regards
Gill

Similar Messages

  • Calendar day and Calendar Year/Week  mapping

    Dear SDN,
    I am unable to view Calendar Year/Week and Calendar Day ...Data..
    I have observed that they have not mapped in the Update rules of 0SD_C03 InfoCube...
    I have checked all the InfoSources (2LIS_11_VAHDR, 2LIS_11_VAITM, 2LIS_11_V_ITM, 2LIS_12_VCHDR, 2LIS_12_VCITM, 2LIS_13_VDHDR, 2LIS_13_VDITM)...
    There in all the Update Rules...
    Update Rules -- Details -- Time Ref.---
    Time Characteristic of Fiscal Year Variant is mapped with Source fields of Fiscal Year variant
    similarly,
    Calendar Year/Month is mapped with Update Date Statistics
    But Calendar Year/Week and Calendar Day are Blanck...
    I am thinking they also should be mapped..
    Please suggest me how to resolve this...
    Help will be greatly appreciated with points..
    Thanks in advance..
    This is very urgent...

    Thanks...
    But i have already assigned my self...
    0calyear/week to Update date statistics...
    and
    0calendarday to Update date statistics..
    I have assigned points to you...
    Thanks for your informatioon

  • Function module to get Fiscal year/week

    Hi,
    I searched SAP forum but could not find specific answer to this question.
    I want to find Fiscal year week (YYYYWW) for a date using Fiscal year variant.
    Can you suggest some function module/method to get the info?
    E.g., if todays date is 06/23/2010
    then Fiscal year week should be 201034. (Depending on Fiscal year variant XX)
    Calendar year week is 201025.
    Thanks,
    Chirag

    >
    Chirag Mistry wrote:
    > C'on guys, help me out!
    That's what the other's have been doing all along!
    AT some point, you have to take responsibility yourself. The forum isn't here to provide people with complete packaged solutions. You have to do some work yourself.
    You either have the fiscal year variant in your system as Brad has suggested, or you will have to develop some logic to figure out what week you are in based on the start date of your fiscal year and the date you are interested in.
    Rob

  • Calendar year per week

    Hi gurus,
    I have a report which is having a variable calendar year per week. when iam giving the variable inputs as for Eg: 52.2008 its showing me data in week column as WEEK 52 (DEC24-DEC31), but when iam giving the variable inputs as 1.2009 iam getting the values but in the week column iam getting as # i mean its not showing me as WEEK 1(JAN01-JAN07).Please guide me accordingly.
    Regards
    Amar.

    Hi Amar,
    Check whether the Text is maintained for the 01.2009 week.
    If you havent maintained the text then you won't get the values.
    Regards,
    Ravi Kanth

  • Can iCal show a years weeks in numbers?

    Hello! In Sweden most people plan their lives using the years weeks insted of months. Is it possible for iCal to also show a weeks number instead of only months, dates and days?
    We say for instance: - "Can you help me with... week 38?".
    It would be of great help if someone can help me with this!
    Tjenis,
    Mikael

    Hi DB,
    Just for interest then, as there seems to be some already on iCal Share.
    Best wishes
    John M
    --Copy below this line into Script Editor and click run --
    --Annual Week numbers
    --John Maisey
    --4/2/5
    set numberOfWeeks to 1000 -- change as needed
    set daysText to "MonTueWedThuFriSatSun"
    set aDate to (current date)
    set day of aDate to 1
    set month of aDate to January
    set aDay to weekday of aDate
    set weekNo to 1
    --Day of week as num. starting with 0
    set aDayText to (characters 1 thru 3 of (aDay as text)) as text
    set dayOff to ((offset of aDayText in daysText) - 1) / 3 as integer
    if dayOff is less than 5 then
         set StartDate to aDate - dayOff * days
    else
         set StartDate to aDate + (7 - dayOff) * days
    end if
    tell application "iCal"
         set newCal to make new calendar at end of calendars with properties {title:"Week No."}
         set myCal to (count of every calendar)
    end tell
    repeat with myCount from 1 to numberOfWeeks
         if (month of StartDate is December) and (day of StartDate is greater than 28) then set weekNo to 1
         if (month of StartDate is January) and (day of StartDate is less than 5) then set weekNo to 1
         set weekText to "Week No. " & weekNo
         tell application "iCal"
              tell calendar myCal
                   make new event at end of events with properties {start date:StartDate, allday event:true, summary:weekText}
              end tell
         end tell
         set weekNo to weekNo + 1
         set StartDate to StartDate + 7 * days
    end repeat
    --

  • Any function module for getting fiscal year week numbers

    can any one provide me function module for getting fiscal year week numbers ? if no function module please let me know work around.
    Thanks!
    Lakshmikandh

    hi,
    Use FM <b>'DATE_GET_WEEK'</b>...
    parameter D1 LIKE SCAL-DATE.
    Data w like scal-week.
    CALL FUNCTION <b>'DATE_GET_WEEK'</b>
    EXPORTING
    date = D1
    IMPORTING
    WEEK = W
    EXCEPTIONS
    DATE_INVALID = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write W+4(2).
    Regards,
    Santosh

  • Fiscal Year Week wise

    Hi SAP Guru,
    My client is UK base want fiscal year week wise as per below:- Fiscal year Oct to Sept.
    Month    Day    Period           Year Shift
    10          28        1                 +1
    11          28        2                 +1
    12          35        3                 +1
    Means 1 period 4 week, 2 period 4 week, 3 period 5 week.
    System is showing (date 35.12.2009 is not valid )error in period 3 and not allow to day 35.
    I have maintain year dep. How can i maintain period in that case. Please advise.
    Thanks in advance.
    Regards,
    Pankaj

    Hi Pankaj,
    I believe your client's fiscal year (2009) is Oct'08 to Sept'09.
    this is how you have to do the config:
    Fiscal year variant XX
    Calender year 2009
    Year Dependent X
    Month  Day  Period  Year Shift
    10       25     01        +1
    11       22     02        +1
    12       27     03        +1
    12       31     04        +1
    01       24     04         0
    02       21     05         0
    So your day is actual date in that particular month.
    I hope this helps.
    Cheers
    Samir

  • Want to create analysis for this year week vs last year week

    All,
    My requirement is to create an analysis for the passed week number of this year vs same last year week no.
    So basically user will pass the week no. and report should display the passed week no. this year sales number plus same week no. last year sales number.
    How can I achieve this?
    Thanks

    If you ask like this ..I would say like using presentation variable for week
    use measure with exp like
    CASE WHEN WEEK=@{WK} AND Time.year=VALUEOF("PREVIOUS_YEAR") THEN #sales END.
    In this case week is from your subject area and PREVIOUS_YEAR is rep variable you might have it.
    there are other options to get output, need details about your rpd and value of week.

  • ICal launches, but no calendars (day, week or month) will open. All menus in the top bar seem normal, but none of them create any action. I cannot find any troubleshooting or instructional articles explaining how to restore or reload iCal. Anyone had this

    iCal launches, but no calendars (day, week or month) will open. All menus in the top bar seem normal, but none of them create any action. I cannot find any troubleshooting or instructional articles explaining how to restore or reload iCal. Anyone had this happen? Is there a fix?

    I tried using Time Machine to restore iCal, tried doing disk repairs... nothing changes the outcome. No windows will open in the application.

  • Only activities of the current calendar year are shown in plannend act.

    Hello Techies,
    We are using the 2007 UI and I have the following problem. Only activities of the current calendar year are shown in plannend activities and interaction history.
    SAP probably made a query only showing a set of data (current year) for performance reasons. I would like to change this in the last 6 months. My users can not see there activities of last week since it only shows 2009.
    How can this be changed?
    Kind regards.
    Frederik

    Frederik
    You can control this by maintaining the view:
    CRMV_ACC_1O_CUST
    Or in the IMG:
    CRM->Master Data->Business partner->Specify Display Options for Business Transactions
    Take care,
    Stephen

  • Circle Sunday Calendar Year

    Hii
       I have a real issue regarding FI Calendar year .In my case the financial runs for April to March.But there is a financial year variant maintained for Nov-Oct financial year also,which taked the circle sunday concept of period definition i.e the dates of a month say 30 Nov can be counted into the month of Dec depending upon the weekday .
    Please help me out to find FM to check for a date under which month it is to be counted?
    Regards
    Ajitabh

    Hi,
    you can use the FM <b>GET_WEEK_INFO_BASED_ON_DATE</b>, pass the date it will give the Monday date and sunday date of the week for the date which falls in.
    Regards
    vijay

  • Changing group from calendar year to GL year

    I am currently using Crystal reports with a ERP system called IQMS.
    I am trying to grab data from our genral ledger year (1 of august to 31 of july) instead of the calendar year.
    The data can come from either the year or the week (52 weeks). I am currently grouping items from the calendar year but cannot figure out a formula for taking say week 30 to week 29 of the next year and grouping it.
    Does anybody have suggestions on how to enter in this formula?

    Stephanie,
    Some DB developers really need to be punched in the throat.
    1st of all weeks are messy little animals all by themselves. they don't play nice with the other date increments. The start of a week rarely coincides with the start of a month or year...
    So lets just say that you are willing to live with the fact that weeks and months don't usually jive and that the use of weeks in the equation will throw of the exact determination of the GL year by a day or few in either direction... Here is what you want...
    IF {V_SHIPMENTS_WEEKLY.WEEK} >= 30
    THEN {V_SHIPMENTS_WEEKLY.YEAR} + 1
    ELSE {V_SHIPMENTS_WEEKLY.YEAR}
    The effect will be:
    weeks 1 - 29 of 2009 = 2009
    weeks 30 - 52 of 2009 = 2010
    weeks 1 - 29 of 2010 = 2010
    weeks 30 - 52 of 2010 = 2011
    HTH,
    Jason

  • Time type Initialization based on financial year instead of calendar year.

    Hi All,
    I'm facing this problem. By using time type i'm capturing the no of worked days for a calendar year. This Time Type is used for calculating Privilege Leave which will be divided by 20 in the year end for Quota calculation. But when I run PT60 for the period 31.03.2014 to 01.04.2014. The Time types are automatically getting Initialized.
    Here Time Evaluation is running based on financial year not as calendar year ? How to change the same to calendar year.
    Already I have searched few solution here. As per the below link
    PT60 generating for financial year but not for calendar year . But i'm facing the same issue.
    Please suggest me the solution for this.
    Regards
    Jagan

    Hi Vivek and sikandar,
    Thanks for the immediate response.
    The Time evaluation is running for Financial year (Apr - mar). But I need it to be run for Calendar Year. I gave PL Quota Time Type as an Example. But its happening to all the Time types.
    Pls suggest me how to run Time evaluation for calendar year.
    Please see the screenshot below (Time Type 9t01, 9t78, 9t80)
    All the above three time types are getting initialized on April, but i want this to happen on 1st Jan.
    I'll share my PCR if needed.
    On 31.03.2015
    On 01.04.2015
    Thanks and Regards
    Jagan

  • Query row structure to restrict on multiple ranges of Calendar Year /Month using Custom exit

    Hi All,
    I have written 2 queries in Bex 7.x which have similar requirement. One uses 0CALMONTH and other 0FISCPER. I will describe scenario with Calendar Year month query.
    Query to have user entry screen for 0CALMONTH. Added 0CALMONTH in Filters section and restricted on mandatory user entry variable.
    Key figures restricted in four ways by creating a row structure with four selections
    Current Month User entered value on selection screen (Restricted on User entry variable)
    Previous Month / Period (Above value offset -1)
    YTD value Range from Previous July / 07.YYYY to current user entered month value (Custom exit)
    LYTD value - Above value for previous year (Above value offset -12)
    For YTD value wrote a custom exit code which uses the user entry variable on 0CALMONTH to retrieve the current month value and then give output range value for YTD.
    The custom exit code when debugged seems to calculate the correct range. However the query output is not working and gives out the same data for Current month and YTD range. Also LYTD value and Previous month value don't show up with any data at all.
    Any tips on where we are going wrong would be helpful.
    Thanks!
    Custom Exit code:
    WHEN 'ZGB_FP_AYTD_PTNR'.
         IF i_step EQ '2'.
           READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'ZFP_AYTD_PRTNR'
                                                                iobjnm = '0CALMONTH'.
           IF sy-subrc EQ 0.
             CLEAR: l_month_curr, l_month_low, l_year_curr, l_year_low,
                    l_calmonth_low, l_calmonth_high.
             l_month_curr = loc_var_range-low+4(3).
             l_year_curr = loc_var_range-low+0(4).
             l_month_low = 001.
             l_year_low  = l_year_curr.
             CONCATENATE l_year_low l_month_low INTO l_calmonth_low.
             CONCATENATE l_year_curr l_month_curr INTO l_calmonth_high.
             l_s_range-low = l_calmonth_low.
             l_s_range-high = l_calmonth_high.
             l_s_range-sign = 'I'.
             l_s_range-opt = 'BT'.
             APPEND l_s_range TO e_t_range.
           ENDIF.
         ENDIF.

    Hi
    try this code
    WHEN '0CALMONTH'.
    CLEAR: l_month_curr, l_month_low, l_year_curr, l_year_low,
                    l_calmonth_low, l_calmonth_high.
         IF i_step EQ '2'.
      loop at i_t_var_range INTO loc_var_range where vnam = 'ZFP_AYTD_PRTNR'.
             l_month_curr = loc_var_range-low+4(2).
             l_year_curr = loc_var_range-low+0(4).
             concatinate '0' l_month_curr into l_month_low.
             CONCATENATE l_year_low '001' INTO l_calmonth_low.
             CONCATENATE l_year_curr l_month_low INTO l_calmonth_high.
             l_s_range-low = l_calmonth_low.
             l_s_range-high = l_calmonth_high.
             l_s_range-sign = 'I'.
             l_s_range-opt = 'BT'.
             APPEND l_s_range TO e_t_range.
           endloop.
         ENDIF.
    This code used for calculate fiscal period interval from your input month.
    For Ex
    user input is 05.2014
    customer exit result as 001.2014 - 005.2014.
    Note: Fiscal year period is Jan - Dec otherwise need to convert the input month details.
    Regards
    Sureshkumar

  • Fiscal year variant DD is not maintained for calendar year 2013

    Hi Experts,
    When I try to copy Reference chart of depreciation to current Company code.
    Below Error shown:
    Fiscal year variant DD is not maintained for calendar year 2013
    Message no. FGV002
    FSV created for 2014 as DD (shortend fiscal year July - Dec) and assigned to company code.am not sure why it is asking for 2013...
    Please help me.
    Thanks in advance
    Srinath

    Hi Srinath.
    The Fiscal year variant has to be maintained for the last open fiscl year.
    Best regards Bernhard

Maybe you are looking for

  • New to the iphone, I cannot connect with the bluetooth to other devices, any help?

    I have a new IPhone 4, I cannot connect with other bluetooth devices - any help??

  • Dynamic Stamps Not Working in Adobe Acrobat Pro

    Hi everyone, the dynamic stamps on Adobe Simultaneous Review are no longer working for us. I have Adobe Acrobat Pro 9 (it works for me) but it's not working for many other people (they have Adobe Acrobat Pro X). Does anyone know how we can fix this.

  • Brain Fart on pure AS3 Project

    I Generally hang out in Flex Land, but by no means would be considered a new guy to the world of AS3.  I am currently creating a pure AS3 app and I can't get the darn thing to get a BG color. I  have the following: package import flash.display.Sprite

  • Wireless internet

    YEs i just bought a new laptop and then bought a router what do i need still for wireless internet at home and what are some companies i can get it from need help

  • Unable to open notification center fully?

    Greetings, all. I recently upgraded to Mountain Lion, and when trying to use Notification center, I find that it does not work. I can try to use the trackpad gesture, and I get a situation similar to this: http://i.imgur.com/Ow5PD.jpg If I click the