How to define financial year to start in November and end  in October

Hi,
I am trying to build a report with following columns
Resort, Month, YTD Rooms, LY YTD Rooms.
Filter on Year==2010
The above measures
YTD=Year to date rooms
LY YTD = Last Year Year To Date Rooms
The results would be
AF, Jan-10, 300, 350
AF, Feb-10, 200, 280
Now for this client the financial year, starts in November, therefore their year should be Nov-09 till Oct-10.
How can set the Year to be from november to October with a timestamp function?
Thanks and Regards
Giuliano

Here's an idea you might want to try in the Presentation Layer base solely on what you shared so far:
Assuming that the report will always be run in the "current year" as you have in your example, than this should work:
1) Put a dummy column in your report with this CASE statement:
CASE WHEN Table.Month ((LIKE 'JAN%' OR Table.Month LIKE 'FEB%' OR Table.Month LIKE 'MAR%' OR Table.Month LIKE 'APR%' OR Table.Month LIKE 'MAY%' OR Table.Month LIKE 'JUN%' OR Table.Month LIKE 'JUL%' OR Table.Month LIKE 'AUG%' OR Table.Month LIKE 'SEP%' OR Table.Month LIKE 'OCT%') AND (Table.Year = CURRENT_YEAR)) OR ((Table.Month LIKE 'NOV%' OR Table.Month LIKE 'Dec%') AND (Table.Year = CURRENT_YEAR - 1)) THEN 1 ELSE 0 END
Put a filter on this column and set it to 1.
2) Add another filter on CURRENT_YEAR and CURRENT_YEAR -1.
NOTE: In my example, CURRENT_YEAR is a repository variable you should have (name could be different, but it should be in number format).
The way this works is that the second filter filters your report overall on all data for "this year" and "last year." The first filter works with the data within this potential two-year period. Within this time frame, you want the data, for the months of Jan - Oct, where the year = current year and (which in logic, uses the logical operand "OR"), you want the data for the months of Nov - Dec when the year = current year minus 1. This filter will filter out Jan - Oct of "last year" and Nov - Dec of "this year," leaving you with the time period you are looking for.
Play with the syntax, cause I didn't build this one, but it should work.

Similar Messages

  • About start-of-selection and end-of-selection

    Hi all,
      what is the functionality of start-of-selection and end-of-selection events in reports.

    Here we go :
    Start-of-selection is the event where you will code ur sql statements, this is the event which will be triggered automatically even for normal programs, not only for reports even if you dont specify this event in the program.
    At Selection screen is the event to validate the input values given in the selection screen using initialization event.
    First in the sequence AT SELECTION SCREEN event will be triggered and then START-OF-SELECTION.
    END-OF-SELECTION, will fire only when you actually write it after the selection of the data is over. Usually between the START and END OF SELECTION you fetch the data and after the END OF SELECTION, you process the data and write that as output as display the same as ALV.
    If helpful pl reward.
    Cheers.

  • How to calculate financial year

    Hi,
    How to calculate financial yearfrom 01.04.2008 to 31.03.2009.
    regards
    nani

    Hi,
    use the below FM's
    GM_GET_FISCAL_YEAR
    GET_CURRENT_YEAR
    CALL FUNCTION 'GET_CURRENT_YEAR'
    EXPORTING
    BUKRS = '1000' " Company Code
    DATE = SY-DATUM " Date to find fiscal year for
    IMPORTING
    CURRM = w_currm " Current Fiscal Month
    CURRY = w_curry " Current Fiscal Year
    PREVM = w_prevm " Previous Fiscal Month
    PREVY = w_prevy. " Previous Fiscal Year
    but this will help you for a particular company code ACE_CHECK_FISCAL_YEAR
    Thanks

  • How to view Financial Year details in Scorecard

    Hello all ,
    We are using SSM 7.5 SP 04. We have built a scorecard with monthly KPIs. The financial year for my client is April to March. So , he wants to see the monthly data and the FY data in the scorecard. But , the timeperiod drop down box shows only 2 options for checking the yearly data ie. Year , Year to date. It is assuming calendar year and the data is coming for Apr to dec of 1 year and jan to march of second year.
    It is a compulsory requirement for the client to check the FY data. Is there any setting change to be able to see the FY data from Apr to March ? Also , the client wants to see the data for all the 12 months in the FY year. But only 11 months data is displayed.
    Thanks
    Vijay

    Hi Vijay,
    You need to set the calendar year before any data is loaded into the Model. If data is already loaded, you cannot change the calendar year. In this case, you just need to remove the data, change the fiscal year, and load the data again.
    Check the following note for the steps to follow in order to bring data from queries with FISCAL YEAR or FISCAL MONTH characteristics:
    https://service.sap.com/sap/support/notes/1325802
    Best regards!
    Ricardo Vieira

  • Finding the value of the text starting from x1 and ending at x2

    Dear All,
    While reading a notepad's each line, I need to take the each lines value starting from say 15th position to 20th position. If i use it_notepad-text+14(5) and the text does not contains any data, it generates dump.
    pl. guide. Is there any function module to get the value of the string with starting and ending position.
    Regards,
    Vidhya

    I think the best is what G@urav suggested. Simple catching this exception will solve your issue
    data: word type string.
    loop at it_notepad.
       try.
           word = is_notepad-text+11(4). "get the required word
       catch cx_sy_range_out_of_bounds.  "and catch the exception in case the word is too short
       endtry.
    endloop.
    This way you won't get dump and will be able to skip the line which don't have required number of chars.
    Regards
    Marcin

  • I can't facetime with anyone, it starts the call and ends it immediately on its own. Any suggestions on what I am doing wrong?

    I can't facetime with anyone, it starts the call but ends it immediately on its own. Any suggestions on what I am doing wrong?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • How to define a trigger to start a switch scanning task

    I am writing a program in LabWindows/CVI using DAQmx library which handles PXI-2567 card. I have created a new switch scanning task, by the function DAQmxSwitchCreateScanList, that uses the specified scan list. I would like to start this task synchronously with the signal generated on one of trigger line. I thing, that this is possible using DAQmxSetTrigAttribute function where I can define the trigger type to start the task. Unfortunately, it only allows setting the type of trigger but is not clear for me, how can I set the source and edge type for the signal which will start the task.
    Best regards,
    Miroslaw Koziol

    Hi Ion,
    Below I will try, most clearly as I can, present a problem which I was struggling.
    I have a system that consists of 3 PXI modules: PXI-4461, PXI-6653 and PXI-2567. One digital-to-analog channel on PXI-4461 generates sinusoidal signal which supply my DUT. I need to measure 2 voltages on DUT by one analog-to-digital channel on PXI-4461 (I know that PXI-4461 has 2 analog-to-digital channels but for various reasons such an approach cannot be applied). Each of the voltages must be measured by the integer number of periods and it has to be done continuously (for example 8 periods of one voltage and 8 periods of second voltage and so on). Therefore, a DDS on PXI-6653 is used to generate the signal which frequency is integer times smaller than the frequency of the supply signal. This signal is routed through the trigger line to PXI-2567 and controls the switch which alternately joins the measured signals to the analog-to-digital channel of PXI-4461.
    The signal on DA channel must be generated continuously so this task is started and does not stop until the application is closed. Moreover, the generation is started synchronously with the rising edge of the signal generated by the DDS on PXI-6653. It is easy to start this task synchronously to the signal generated by the DDS because on PXI-4461 module a specialized trigger line for analog outputs exists.
    The measurements done by the AD channel on PXI-4461 are started and stopped by the user of application. The start has to be done synchronously with the DDS signal. This is also not a problem because on PXI-4461 module a specialized trigger line for analog inputs exists. Unfortunately, I do not know how to start a switch scanning task in the same moment of time when the measurement task is started. If I do not do start these two task together I do not know which voltage samples I receive in my application.
    Therefore, I need to know if is it possible to assign a trigger line to start the switch scanning task and set the source and edge type for this signal.
    Best regards,
    Miroslaw Koziol

  • Af:ConvertDateTime how to control the year to start with 19xx or 20xx

    Hi,
    I am facing an issue. I have a af:inputDate component with af:convertDateTime with pattern MM/dd/yyyy and secondary pattern= MMddyyyy.
    The issue is when the date is entered as 101147 the date gets converted to 10/11/2047 but the user wants it to be converted to 10/11/1947
    Th requirement is if the two digits entered for year(yy) is less than the last two digits current year(2011) the year should be 20yy else it should be 19yy
    example: if entered date is 052104 it should get converted to 05/21/2004
    if entered date is 062198 it should get converted to06/21/1998
    if the entered date is 07132009 it should be 07/13/2009 (no conversion here)
    if the entered date is 07131986 it should be 07/13/1986 (no conversion here)
    Kindly reply

    This one is a tricky problem - a side-effect of JSF doing a lot of things automatically is that sometimes it does too much.
    I don't have a great solution, but here's a couple of ideas:
    (1) Try using multiple <h:form>s on your page (not nested one inside the other, but separate). Data will only get updated in the form that contains the button that got pressed.
    (2) Use an intermediate model layer, and discard updates as appropriate.
    Neither of these are beautiful solutions - the second is way ugly - but they might help. Long-range, I'd love to see something like "subforms" supported in JSF that can provide finer grained control over what gets processed (validations, model pushes, etc.) and what doesn't without resorting to the blunt hammer of multiple HTML forms.
    I'm a little confused about "the model is updated with the value of the components whenever the form is submitted, and regardless of whether the value of the components has changed or not.", because JSF is checking the old value and using ".equals()" to see if its changed. Note, however, that it's not caching the old value across the request, but simply going back to the model on the subsequent request, which may (or may not) explain the behavior you're seeing.
    -- Adam Winer (EG member)

  • How to define join in physical layer between cube and relational table

    Hi
    I have a aggregated data in essbase cube. I want to supplement the information in the cube with data from relational source.
    I read article http://community.altiusconsulting.com/blogs/altiustechblog/archive/2008/10/24/are-essbase-and-oracle-bi-enterprise-edition-obiee-a-match-made-in-heaven.aspx which describes how to do it.
    From this article I gather that I have to define a complex join between the cube imported from essbase to my relational table in physical layer.
    But when I use Join Manager I am only able to define jooin between tables from relation source but not with the imported cube.
    In My case I am trying to join risk dimension in the cube based on risk_type_code (Gen3 member) with risk_type_code in relation table dt_risk_type.
    How can I create this join?
    Regards
    Dhwaj

    Hi
    This has worked the BI server has joined the member from the oracle database to cube. So Now for risk type id defined in the cube I can view the risk type code and risk type name from the relational db.
    But now if I want to find aggregated risk amount against a risk type id it brings back nothing. If I remove the join in the logical model then I get correct values. Is there a way by which I can combine phsical cube with relational model and still get the aggregated values in the cube?
    I have changed the column risk amount to be sum in place of aggr_external both in logical and phsical model.
    Regards,
    Dhwaj

  • How to define different open interval rule for GR and IR?

    Hello all
    In the beginning of a Fiscal Year (until January 15 u2013 20) I have the following problem:
    Users are, mistakenly, posting service entry sheets (SES) or material document, with posting date of a new fiscal year, from purchase order from previous FY. As a result, budget is consumed from the new fiscal year. I do not want to carry forward this PO, I want to post this material document in the previous FY.
    I tried to close posting for VT 54 for the new FY (only for the first 2 weeks of the new FY. I used FMMI), but then I can not post invoices, and I do want to post invoices.
    I am looking for a way  to close FY in FM for SES or material document only, and not for invoices. Is any one know how?
    More details:
    I use ECC6 with ENHP 4.
    I use Former budget.
    PBET is not active.
    Value types 51 and 54 are relevant for budget.
    Thank you for your answer
    Uri Noyman

    Hello Uri,
    "Users are, mistakenly, posting service entry sheets (SES) or material document, with posting date of a new fiscal year, from purchase order from previous FY. As a result, budget is consumed from the new fiscal year."
    I wanted to ask you for some clarification here: I would expect the SES consuming the reference PO, rather than consuming budget.
    Also, please have a look at this part of the online help:
    [Closing operations|http://help.sap.com/erp2005_ehp_04/helpdata/en/f0/ca4266260211d28a430000e829fbbd/content.htm]
    In the 'Implementation considerations' part, it's stated:
    It is not necessary to carry out closing operations with the fiscal year change in the system if you do not use period-based encumbrance tracking or, whilst using the Budget Control System, have activated multi-year budget execution. If you therefore decide not to carry out closing operations, budget already used remains in the old fiscal year and cannot be used in the new fiscal year. Open commitments are correctly reduced in the old fiscal year if you process them further in the new. (For example, a purchase order from 2005 can be reduced by an invoice arriving in 2006.)
    Are you finding those SES actually are consuming budget instead of reducing the reference PO?
    On the other hand, you might also think about using Multi-year budget execution, it may also be helpful in your scenario.
    You can find the information here:
    [http://help.sap.com/erp2005_ehp_04/helpdata/en/f0/ca5716260211d28a430000e829fbbd/frameset.htm]
    'Recording Actual and Commitment Data  ->Multi-Year Budget Execution '
    Hope you will find this information helpful
    Kind regards
    Mar

  • How do I remove residual frames at the beginning and end of a video?

    I'm making a short clip with black slugs at the beginning and end. But there are two or three residual frames from the incoming clip after the black clip that stay at the beginning and end of the video and I can't remove them.  I've tried trimming the beginning and end of the video several different ways, and the frames won't disappear. They stay in the video when I make a DVD. The very first and very last frame have sprocket holes in them on the edge of the frame. I'm baffled. Is this an artifact of using the trial version?

    chances are they are from a fade.  have you zoomed in really really close and checked if there is a small fade in or fade out?  happens to me all the time, and with the fade out, you can't do anything to fix it (that I've found) except replacing the clip from your Browser.  See my similar question here:
    https://discussions.apple.com/thread/3589714
    Hope that helps.

  • Financial Year Wrongly defined in SAP-B1

    Hello Experts,
                              In SAP-B1, We have Wrongly defined Financial year  i.e(01 January 2011to 31 Dec2011) Instead of (01 April 2011 to 31 March2012). Now, System not allow to chnage the financial year, because the end date  automatically gets disabled.
    I have tried two solutions for this as bellow,
    1)Tried to end this 2011 year by extending the year by (01 Jan-2012 to 31 March 2012), but it fails because end date automatically become 31 Dec2012 and get disabled When i enter start date 01 Jan 2012.
    2)Then, I tried to Close this year by defining new financial year as (01 April 2011 to 31 March 2012), but it gives error as, 'Financial year Overlaped'.
                       Please, hepl me for this problem and provide solution. it is very urgent.

    Hi suhas,
    Welcome To SAP Community Network Forum
    You have to create new period From 01-Jan-2012 To 31-Mar-2012 with Sub period define with month and No of period define 3.
    Thanks,
    Srujal Patel

  • How to shift to new financial year

    Hi All,
    I would like to know the process to shift to new fiscal year, as from April new financial year is starting.
    so what i hav to do, is there any way in B1.
    Artee

    You may check these documents:
    Tips in Year End Closing (Documentation Resource Centre)
    [https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700001111052006E&_SCENARIO=01100035870000000183&]
    Expert Empowerment Session
    [https://websmp102.sap-ag.de/~sapidb/011000358700001209192007E/EoP_YE_2007.pdf]
    The link provides tip and tricks when doing a Year End Closing (using the Period End Closing function).

  • Financial Year Change

    Dear Sir,
    Our company is presently following Financial Year Oct to Sep . Current Financial Year 2010 , started on Oct-2009 . Comapny has decided to change the Finacial Year from April To March .  As per the decision , the Current Financial Year 2010 , will be of period Oct-2009 to March-2010 (6 month period)  and will be closed on 31-Mar-2010 .
    From April-2010 , new Finacial Year 2011 will start .
    We are presently on ECC-6.0 and have Fixed Asset also implemented .
    We request you to kindly guide us , as how should we go ahead to make these changes possible and what steps we need to follow to make the desired changes .
    Kindly pl note that March-2010 closing will take some days and hence in April there will be situation when transaction are posted in FY-2010 and FY-2011 both .
    We request you to pl help us .
    Rgds
    B Mittal

    Hello,
    Adding further, check these also.
    1 Maintain Activity prices - KP26
    2 - Release of Standard Cost Estimate - CK40N
    3 - MM period close and open - MMPV
    4 - FI period open
    5 - Parked documents to be posted - FBV0, MIRO
    6 - Reposting of Inter Office CC - KB61
    7 - Bank Reconciliation
    8 - Update Section Code where missing - J1INPP
    9 - Maintain GRIR clearing - F.13
    10 - Provision for current month - FB50
    11 - Depreciation entry - FB50
    12 - Exchange rate - To be Updated
    13 - Revaluation of foreign currency open items - F.05
    14 - Recognition of Inventory at Bonded warehouse - FB50
    15 - Maintain Statistical Key Figures - KB31N/KP46
    16 - Variance Calculation of Process Orders - KKS1
    17 - Settlement of variances - CO88
    18 - Assessment cycles - Aux/WH CC to Main CC - KSU5
    19 - Assessment cycles - Functional CC to SBU CC - KSU5
    20 - Assessment cycles - SBU CC to COPA - KEU5
    21 - Profit Center Reposting - 9KE0
    22 - Balance Sheet Adjustment calculation - F.5D
    23 - Transfer Profit Center to AR & AP - 1KEK
    24 - Transfer Inventory to PCA - 1KEH
    25 - Assessment Cycle - Dummy PC to SBU PC - 3KE5
    26 - Check for "Delivery made, not Invoiced" - VF03
    27 - Match GL and PCA - KE5T
    28 - Match PCA and PA
    29 - Top Down Distribution in COPA - KE28
    30 - Reclassification of GL balances
    31 - Balance Carry forward (Year End Only) - F.16
    32 - PCA Balance Carry forward (Year End Only) - 2KES
    33 - Transfer to FI - 1KE8
    assign points if useful

  • Is there a way of adjusting WEEKNUMs to match a financial year?

    Hi
    I am wondering if there is a way to have Numbers 09 adjust the WEEKNUMs so that they match the financial year, starting in the first week of April (UK). Given that I will have to do tax returns which match the financial year, it makes sense to match my accounts/Numbers files with the financial year.
    Thanks
    Nick

    nick_harambee wrote:
    I am wondering if there is a way to have Numbers 09 adjust the WEEKNUMs so that they match the financial year, starting in the first week of April (UK). Given that I will have to do tax returns which match the financial year, it makes sense to match my accounts/Numbers files with the financial year.
    I guess the place to start here is 'Which numbering system do you want to modify for this?'
    1) ISO Week: The International Organization for Standardization (ISO) ISO8601:2000 Standard
    All weeks begin on a Monday. Week one starts on Monday of the first week of the calendar year with a Thursday.
    2) (Not included as week starts on Sunday. Otherwise same as #3)
    3) Excel(and Numbers) WEEKNUM function with an optional second argument of 2.
    Week one begins on January 1st; week two begins on the following Monday.
    4) Simple week numbering.
    Week one begins on January 1st, week two begins on January 8th, and week 53 has only one or two days(for leap years).
    For modified system 1 (ISO), replace "calendar year" with "financial year". For modified WEEKNUM and Simple Week Numbering systems, replace "January" with "April"
    The nice thing about #4 is that it is "simple", and that simplicity extends to the ease of starting with any specific date. No correction factor is needed for the transition from one calendar year to the next.
    The shifting start dates of Week 1 of #1 and of Week 2 of #3 add a complication, but if these can be determined, the rest of the year can easily be numbered using the same formula as #4.
    Here are the three choices, with formulas below.
    SWN
    Start Date: April 1, constructed from A1.
    Table 1::B2: =INT(DATEDIF(DATE($A$1,4,1),A, "D")/7)+1
    (Results modeled on) WEEKNUM
    Start Date: Monday preceeding April 2
    Table 2::B2: =(DATE(Table 1 :: $A$1,4,1)-WEEKDAY(DATE(Table 1 :: $A$1,4,1),3))
    Table 1::C2: =INT(DATEDIF(Table 2 :: $B$2,A, "D")/7)+1
    (Modeled on) ISO
    Start Date: Monday preceeding first Thursday in April
    Table 2::B2: =IF(WEEKDAY(DATE(Table 1 :: $A$1,4,1),3)<4,(DATE(Table 1 :: $A$1,4,1)-WEEKDAY(DATE(Table 1 :: $A$1,4,1),3)),(DATE(Table 1 :: $A$1,4,1)+7-WEEKDAY(DATE(Table 1 :: $A$1,4,1),3)))
    Table 1::D2: =IFERROR(INT(DATEDIF(Table 2 :: $C$2,A, "D")/7)+1,53)
    Note: IFERROR traps the error that occurs when April 1 falls on a Friday, Saturday or Sunday, and assigns the days before the first Monday to Week 53. You may prefer to consider (and label) this Week 0. To do so, replace the 53 at the end of the formula with 0 (zero).
    None of the formulas will give 'correct' results beyond one year after the starting date.
    Regards,
    Barry
    EDIT: Noting your newest post, I think you may want to consider the Simple Week Numbering system, using a starting date of April 6.
    Barry
    Message was edited by: Barry

Maybe you are looking for

  • Problem Calling Query in Custom Tag

    I am using this code to call a custom tag called broadcast.cfm <cf_broadcast query="fe" orgID = "4"> The query fe is an included file on my site and is available to the page I'm calling the custom tag from. In the custom tag I am referencing the quer

  • Problem when typing into Speech Agent...

    THis seems to happen A LOT!!! I will click into a field to type my speech and after I'm done typing, I look up, and at some point it stopped typing! I am using a Wacom Bamboo Create and I thought maybe I was touching it by accident and clicking out o

  • IPod 5G Movie Length Limit?

    Greetings, I had earlier ripped The Lord of the Rings: The Return of the King (extended edition) onto my iPod 5G as two separate MP4 files (since it came on two DVDs). However, I didn't like having one movie broken up as two files. So I converted the

  • Mobilty Group and re-authentication

    Hello All I have to WLC's a 4402 and 5508   in a mobilty group. they are both running 7.0.116.0. They are configured to use Web Authentication. We are having complaints that Users are having to re-authenticate when moving around the office. My theory

  • TextCleanup script in IndyCS2 gives error

    Hi, I'm running IndyCS2 ver. 4.0.5 on Mac OS X 10.4.10. I've loaded the "TextCleanup" script, along with its companion text file, "ASFindChangeList.txt". (have not tampered with either file.) The script starts out normally, but towards the end (20 li