Offset for Fiscal Period

Hi All,
I have 2 columns in my report. When variable window pops-up, user enters value for 2 mandatory field. (From Fiscal Period and To Fiscal Period). Once i get the value of range, i generate one column based on business logic. Now, in the second column I want to show the results for the same period but for previous yr.
So, if user entry is 001.2007 to 002.2007, first column would display result for 001.2007 to 002.2007, while second column should display result for 001.2006 to 002.2006. I have 2 saperate variables for user entry and i have restricted my KF based on "Value Range" & "Between".
When I m trying to give offset of '-12' for second KF, it accepts the offset for both the variable in the range, but it displays the result for 001.2006 to 002.2007. So, basically it manipluates offset for just one variable.
Can anybody tell me what should i do??

Hi Danny,
In the mentioned link, read Selecting value range limits
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
This is what I was thinking of...

Similar Messages

  • Offset on Fiscal Period

    Hi
    I am trying to compare Prior Year vs Current year revenues for a particular period. My input parameter is Fiscal period.
    I have created two Restricted key figures.
    First one is Revenue key figure restricted by Fiscal period. (User input period)
    Second one is Revenue key figure restricted by Fiscal period with offset -12.
    But I am getting same results in both columns though Cube has data for two fiscal periods.
    For e.g. If user enter 007/2010 i need to see revenues for 007/2010 and 007/2009.
    But i am getting revenues for 007/2010 in both columns.
    Do I need to use Exit variables or will it work with Offset?
    Thank you
    Sree

    Hello Sree,
    I think you can easily get this by using structure for fiscal periods.
    Try to visualize the query designer structure as:
    Revenue
         Structure
               Fiscal period
               Fiscal period - 12
    This will give you the output in format
    Revenue
    2010   2009
    xxx      yyy
    Regards,
    Pratap Sone

  • How to  Create  a selection variable for Fiscal period/year range

    How to  Create  a selection variable for Fiscal period/year range. The idea is to filter the query results using a fiscal period/year range user input rather than a full fiscal year input.

    Hi Priya,
    Open the query in a query designer -> in the left hand side you would find the fiscal year period under the time dimension -> right click -> create variable -> create the variable.
    The better option would be use any of the SAP provided variable. You would find them under the Fiscal year period in the left hand side in the query designer.
    Bye
    Dinesh

  • Problem with BI-IP and Offsets in Fiscal Period/Year

    Hi freinds,
    I got a request that is linked to BI-IP and Query design.
    The request is that the users should always see a complete year by Fiscal Periods (001.2010...012.2010).
    Now the BI-IP should be dynamic. This means in 007.2010 the user should plan 008.2010...012.2010, the previous month are supposed to be the actuals.
    Problem: I do not want to change the query each month in order to move the planning month. I tried to use an offset with 11 month actuals. Saying "current month/Year", -1,-2,...,-11 using 11 restricted key figures. Same I did for the planning month. I now limited the Data to 2010 in the filter and anywhere I could. However, the result columns are showing all 22 Month. 001.2010...007.2010 are the only once which carry data. all other columns are empty.
    I just do not want to see the columns that do not belong to the current year.
    Any ideas or How to's I can use?
    Thanx and best regards
    Joerg

    Sorry, but I can't imagine how that should work.
    I have two Cubes combined under a Multicube. One containing the Actuals and one for the Forecasts. To show the actuals I have to create a restricted key figure that shows the actuals and for the forecast I have to select differently.
    What is the exit variable supposed to do? I could use a SAP Provided variable to find out about the first month and the actual month, but since it will be a restricted keyfigure it will be shown as sum between the two month. I need for each month of the year a column, and the "open" Month should be input ready. And this should be dynamic.
    Thanks for helping
    Joerg

  • Function module for  Fiscal period ( monat field name)

    Hi ,
    please suggest the function module for (monat) Fiscal period. our reqirement is default to previous accounting period from the current month.
    Thnks
    Srinivas

    Hi,
    Refer to the following code:
    DATA: LV_FISCAL_YEAR_VAR(2) TYPE C,
               LV_PERIOD LIKE T009B-POPER.
    CALL FUNCTION 'CCODE_GET_FISCAL_YEAR_VARIANT'
          EXPORTING
            COMPANY_CODE           = S_BUKRS-LOW
          IMPORTING
            FISCAL_YEAR_VARIANT    = LV_FISCAL_YEAR_VAR
          EXCEPTIONS
            COMPANY_CODE_NOT_FOUND = 1
            OTHERS                 = 2.
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
          EXPORTING
            I_DATE               = P_BUDAT
    *       I_MONMIT             = 00
            I_PERIV              = LV_FISCAL_YEAR_VAR
         IMPORTING
           E_BUPER              = LV_PERIOD
    *       E_GJAHR              =
         EXCEPTIONS
           INPUT_FALSE          = 1
           T009_NOTFOUND        = 2
           T009B_NOTFOUND       = 3
           OTHERS               = 4

  • Function module reqd for fiscal period using current date

    Hi,
    Is there any function module which gives fiscal period using current date.
    Thnaks,
    Maheedhar

    Hi Maheedhar,
    Try the code below.
    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
    Regards,
    Amit.

  • Quarter, halfyear and more for Fiscal period

    Hi experts,
    i have a query requirement to create the quarter and halfyear of the fiscal period.
    The problem is that our fiscal period does not correspond to the natural year, starting in october.
    I tried to use the standard 0CALQUART1 and 0HALFYEAR1 and doing a map from 0FISCPER in update rules, but as expected, the result was that 010.2005 = 4.
    I need to get a 010.2005 = 1, and if possible to get the year also... but this is another problem.
    Is there any standard rule to get it?
    Thanks a lot for your help
    Ignacio

    hi
    which fiscal variant ur using.
    or else you can go for update routines are Transfer routines to update the infoobjects
    Hope this helps
    Shiva

  • Dynamic VARIANT FOR Fiscal Period and dates

    Hi
    We have a custom transaction with date and fiscal period as vairable parameters and need to know if we can generate a DYNAMIC VARIANT for these based on FISCAL PERIOD.
    Replies will rewarded

    Hi,
              Use transaction OB29, this is in the IMG.
    Or
    Path..
    SPRO -> SAP REFERENCE IMG -> FINANCIAL ACCOUNTING -> FINANCIAL ACCOUNTING GLOBAL SETTINGS -> FISCAL YEAR -> MAINTAIN FISCAL YEAR...
    <b>Reward points</b>
    Regards
    Message was edited by:
            skk

  • Standard Field for Fiscal Period/Year

    Hi
    Is there any standard table field for <b>Fiscal Period/Year</b> so that i can use it to type my select-option field in the selection screen.
    Thanks and Regards,
    Navaneeth

    Hi,
    Check field BKPF-GJAHR and BKPF-MONAT .
    And/or BSEG-ABPER ( period ).
    Erwan
    Message was edited by:
            Erwan LE BRUN

  • Variable Offset for Fiscal Year Not Working

    Hello,
    My fiscal year variable offsets are not working. I have an input-ready query setup with 3 restricted key figures.
    1) Restricted by FY Variable 0P_FYEAR, 0VTYPE = 20, KF = 0QUANTITY
    2) Restricted by FY Variable 0P_FYEAR (variable offset -1), 0VTYPE = 20, KF =0QUANTITY
    3) Restricted by FY Variable 0P_FYEAR (Variable offset -2), 0VTYPE = 10, KF= 0QUANTITY
    I have in my filter selections Fiscal Year Variant = K4
    Rows have 0STKEYFIG
    Columns have 0FISCPER3 (Posting Period) and the 3 Restricted Key Figures.
    When I run the query, the offsets are not being accepted.  Only the selected FY variable.  The first and second restricted kfs show 2009 data and not 2009, 2008 as it should.  Has anyone else had issues with this?  I am not using 0FISCPER but 0FISCPER3 but I am not sure how that would make a differnce.
    I have created new variables, tried to do positive offsets, tried to include and exclude values int the filter to no avail.
    Thanks,
    Cherie

    I kept my variable offsets in the restricted key figure and they aren't working.  When I just put fiscal year in the column and put the 0P_FYEAR and 0P_FYEAR-1 I get the 2 columns and the offsets filter through just fine.  It seems to only be messing up when they are in the restricted key figures themselves.

  • Infopackage routine for fiscal period

    Hi experts,
              can anyone send me the code to calculate fiscal year period in the infopackage. I think we can use the function date_to_period_convert. But i need the code that gets the period in mmm/yyyy format.
    Thanks
    dave

    Hi Experts,
    I tried the following code, and iam getting the following error.
    <b>E:"= ..." expected after "CONCATENATE".</b>
    The code is
    data: l_idx like sy-tabix,
    L_PER(7) TYPE C,
    LOC_PERIOD LIKE T009B-POPER,
    LOC_DATE LIKE SY-DATUM.
    LOC_DATE = SY-DATUM.
    l_idx = sy-tabix.
              read table l_t_range with key
                   fieldname = 'FISCPER'.
    DELETE l_t_range
    WHERE iobjnm = 'FISCPER'.
    L_t_RANGE-SIGN = 'I'.
    L_t_RANGE-OPTION = 'BT'.
    current fiscalyear period
    call function 'DATE_TO_PERIOD_CONVERT'
    exporting
    I_DATE = LOC_DATE
    I_MONMIT = 00
    i_periv = '45'
    importing
    E_BUPER = LOC_PERIOD
    E_GJAHR = LOC_YEAR
    CONCATENATE LOC_PERIOD LOC_YEAR INTO L_PER.
    L_t_RANGE-LOW = L_PER.
    append l_t_range.
    L_t_RANGE-HIGH = L_PER.
    append l_t_range.
              modify l_t_range index l_idx.
              p_subrc = 0.
    Can anyone tell me whether the code has got the right logic and the resloution for the error please. Thank you
    Dave

  • Defining an exit variable for a specific day based on Fiscal Period

    If I do not have Calendar Day time dimension available for reporting is it possible to define a customer exit variable for a specific day.  The days are the first and last day of the financial year?
    Example
    User Input for Fiscal Period: 2009004
    The exit is to define a value for 01.01.2009 and 31.12.2008 (end of last year)
    Thanks

    Hello Niten,
    yes it is possible. Procedure:
    - add a new column in the report structure
    - hide this column
    - create a new text variable in this column (for customer exit)
    - now you can fill this variable during query execution based on 0FISCPER
    You don't want to filter by this variable. Right?
    Buy,
    André

  • Fiscal Period ----- in BEx Report

    Hi All,
    I have a small issue.
    in my report i want to give single selection for fiscal period like 0102005.
    for these selection i want to display all previous period data in separate column
    like 0012005    0022005 ............ 0102005
         KF value   KF value             KF value
    If any know it please guide me step by step.
    Thanks
    samit

    Hi Saha,
    You can do this with the help of variable offsets. Either you can create a series of restricted key figures, or if there are more than one KF being used, you may want to create a Fiscal Period structure andplace it in the columns too.
    What you will be doing in both will be the same. Restrict the Fiscal Period char with the single entry variable, and for other columns, take the same restriction and set an offset of -1. Keep on increasing the value of offsets for each previous selection that you want.
    For more details on how to set offsets, refer to this post:
    Re: TY POS
    Look here too:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
    Hope this helps...

  • Quarter offset for 0I_CUFQU

    Hi experts,
    I m using 0I_CUFQU to restrict one of my key figures on current quarter.
    How do I offset this variable to restrict that key fig for the next quarter and two subsequent ones after?
    Would restricting the key figure by 0I_CUFQU1 work or is it 0I_CUFQU3?
    We do not have good data in Dev to test this.
    Any thoughts please?

    I guess, you need to go for a new user exit variable to achieve your requirements. Follow the steps.
    1) Get user input for fiscal period (This will be considered as current quarter and remaining quarters will be calculated so that report will be flexible to run for any fisyear).
    2) Create a user exit variables ZCURQTR, ZNXTQTR, ZNXTQTR1, ZNXTQTR2 (interval) and assign to restricted key figures accordingly.  (or use one variable and offsettings).
    3) In the user exit code, determine the user entered period quarter starting period. For example user enters 5/2008, then you derive 4/2008 is starting period of the quarter. Populate user exit variables as below.
    ZCURQTR = 4/2008   (begining interval)
                       4/2008 + 2 (ending interval).
    ZNXTQTR =  4/2008 + 2 + 1 (begining interval)
                       4/2008 + 2 + 1 + 2 (ending interval).
    etc..
    Hope, this helps
    Regds
    Viswa

  • How to get previous fiscal period(Fiscal Period-1)

    Hi ,
    According to my business scenario for reporting-(BI-7) , I want to move FISCPER by 1 . The formula for this is ,
    Formula: (Restricited key figure)Sales Order $ (Prior)=Char = Fiscal Period - 1
                                                                                  KF =  Sales Order $
    I also need a variable for fiscal period for user entry -Single value and mandatory.
    I specifically have the task of not including FISCVAR newhere into my query design.
    Please suggest how to go about implementing the above scenario ?
    Thanks

    hi
    you should create RKFs. The variable can be a exit type which givs the current period. Use offset -1
    http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N05_BB_ConfigGuide_EN_US.doc
    regards
    abiram

Maybe you are looking for

  • IDOC OutBound Error 29: Entry in outbound table not found?

    Dear All,         I configed the customized IDOC,and used BD64,WE20 Generate Partner Profile.the partner type is u2018LSu2019,In We20,I clicked the check button .There is no error in check.Other config also correct. My outbound program main code is :

  • SD billing with excise duty

    Hi All I am creating SD billing for factory sale (pricing procedure JINFAC), which is involved excise duty as well. VF01 is creating two doc , one for Billing document and one for Excise JV (as we opted Excise invoice during billing). The issue is  i

  • Possible to use formulas in chart series data?

    Hello, I need to build chart series from manual values. This is possible but Excel accepts only raw values. When I try to use a calculated value, excel rejects the series format. =SERIES("Supply";(Sheet1!$A$97;Sheet1!$H$47);(Sheet3!$B$10;Sheet3!$B$10

  • Lightroom not showing edits made in ACR

    I edited photos in Adobe Camera Raw from Bridge, but when I look at the same files in Lightroom, they do not appear to include the edits.  I did verify that xmp files were created when I edited the files in ACR.  Why is Lightroom not reading the xmp

  • Color Adjustment trouble

    hai, since yesterday, everytime I restart FCPX all my Color Adjustment pucks are set to -100% to all of my projects. I can see the images but they're uncorrected. When I move one of the pucks the image turns black until I've reset all of them to 0%.