Fiscal period / fiscal year shift in Reporting

Hello all,
our company has defined 0FISCVARNT = V6 because our fiscal year end in June. I want to provide the time char 0FISCPER in our reports as key and text.
The text table table T009C is maintained as Jan fo period 007, Feb for period 008.
When I run a report and drill down by FISCPER and display text and key and the characteristic 0FISCYEAR is combined with 0FISCPER. Therefore text information is correct for july until December (July 2006 - December 2006) but from January on the result is not correct (January 2006 instead of January 2007).
Is there a way to adjust or to shift the Fiscal year in the query output. Any help would be great.
Best Regards,
Stefan from Munich/Germany

Stefanos,
The result with the Fiscal Year is fine.
Fiscal Year, even though you're reporting January 2007, is still 2006. If you "shift" the Fiscal Year, then the result would be wrong.
Make a simple test, make a drill-down by 0FISCPER and 0CALMONTH. I'm sure 0CALMONTH will show "January 2007".
Regards,
Luis

Similar Messages

  • Delete old Fiscal variant / Fiscal Periods / Fiscal Year from the BW

    Hi
    When initially Loading data we had different fiscal variant for each source system.
    This was found not to be correct and after the initial load we reloaded the same data with a common fiscal variant across source systems.
    Now the problem we have on hand is that we do not want the old Fiscal variant / Fiscal Periods / Fiscal Year to show up in the F4 pop up.
    Is there a way to delete these old Fiscal variant / Fiscal Periods / Fiscal Year from the BW System.
    regards

    Hi,
    Go to your infoprovider, select the required characteristic and in the Infoprovider specific properties under the F4 values for filter option, you can choose "Only values from infoprovider data".
    Just check if this option is available with time characteristics or not.
    Regards,
    Durgesh.

  • 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

  • Reports with variables on fiscal year and want to display the current fiscal period values

    Hi
    i wan to display the fiscal periods in one of the reports when i give input for fiscal year, let say i will pass the fiscal year  as 2012 , then i need to display the revenue for 2012.01,2012.02,2012.03,....2012.12 and in another selection i need to restrict the revenue with the previous year.
    how can we achieve that.

    Hi,
    Refer this thread:Same thing has been discussed.
    http://scn.sap.com/thread/3365593
    Regards,
    AL

  • Extracting fiscal period

    Hi ,
    Can you please let me know the way of extracting the Fiscal Period(Month/Year) from r/3 as we don't have fiscal Period existing in bw so as per the requirement we have to add the Fiscal Period to all reports in bw.
    I have investigated in R3 and found there is a function module bapi_controllingarea_getperiod which returns Fiscal Period and Fiscal Year based on our company fiscal calendar ,so can we call this function module in a program and concatenate these 2 field to get Fiscal Period(Month/Year) and import this into BW?,If yes then please let me know the procedure to do this.
    Can you tell me if any R3 table holding Fiscal period .
    Main condition is that we have to calculate Fiscal Period thru R3 not in BW .
    Thanks & Regards,
    Rashmi.

    Simplest way to do this
    Depending on whether you have multiple fiscal year variants
    if you do then
    Enhance 0comp_code to get the fiscal year variant per co code
    add this to the cubes along with fiscper 3, fiscper and fiscyear
    then look up to comp code to get the fisc year variant
    then take whatever posting data/cal day has been used for fiscla reporting and put this into the automatic time conversion (you dont need to do a lookup
    if however you are lucky and in 99% of cases - there is always a hard coded fiscal year variant
    then just do the same as above but hard code the fiscal year variant in the update rules or the infoprovider properties
    The difficult thign is tryign to identify th base date for use for the automatic fiscal period time conversion
    FI is easy its cal day - but MM? gr date? po date? ir date?

  • Function module to find get the  Fiscal period using date

    Hi Experts,
    I am need of getting fiscal period and year from the given date. Is there any function module exists. Please advise.
    Thanks in advance,
    Viven

    DATA: I_FYV1 LIKE T009-PERIV.
      CALL FUNCTION 'CCODE_GET_FISCAL_YEAR_VARIANT'
        EXPORTING
         COMPANY_CODE           = i_billno-bukrs
         COMPANY_CODE           = S_BUKRS-LOW
        IMPORTING
          FISCAL_YEAR_VARIANT    = I_FYV1
       EXCEPTIONS
         COMPANY_CODE_NOT_FOUND = 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.
      CALL FUNCTION 'ME_DETERMINE_GJAHR'
       EXPORTING
      I_BSTYP         =
          I_BEDAT         = P_DATE
         I_PERIV         = I_FYV1
      IMPORTING
      E_H_MONAT       =
        E_H_GJAHR       = GJAHR1
      E_H_DATUM       =

  • 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

  • 0 fiscper3 (posting period)and 0fiscyear (fiscal year) in bw report

    Hi I need a quick help, please resolve my issue in step by step. Report is required to display the 0 fiscper3 (posting period)and 0fiscyear (fiscal year) in bw report. I have a 0fiscper Fiscal Yr / Period in my datasource and infosource but not 0fiscper3 (posting period)and 0fiscyear (fiscal year). Can any body help me how to add the abap code to convert the 0fiscper Fiscal Yr / Period to display 0fiscper3 (posting period)and 0fiscyear (fiscal year in report or how to add by abap code 0fiscper3 (posting period)and 0fiscyear (fiscal year)in datasource. User will select the value of 0FISCYEAR
    Fiscal year during the execution of report. please help
    will reward all points.
    thanks
    soniya kapoor

    In de update rules from infosource to datatarget you fill the rules like this:
    For 0FISCYEAR:
      result = comm_structure-fiscper(4).
    For 0FISPER3
      result = comm_structure-fiscper+4(3).
    Note that this can also be done by using formula's. If you can't ABAP you may prefer to use formula's.

  • Using fiscal period and Fiscal quarter reporting seemlessly in a BI Query

    Hi,
    We have a very specific issue. Reporting the Fiscal Period( in our
    case we have 53 fiscal periods) and Fiscal Quarter( we have 4 quarters)
    in the same query seamlessly as we would have done using Calander Month
    and Calander quarter in other reports that uses SAP delivered standard
    time dimensions.
    However unlike the Calander time dimension (SAP provided all
    possible...0CALDAY, 0CALWEEK, 0CALMONTH, 0CALQUARTER, 0CALYEAR) where you have all of these inside your info provider, you can get
    aggregation on week, month, quarter etc in your query seamlessly, The Fiscal Year/Period offers a problem in doing report seamlessly.
    When we delve into Fiscal realm, SAP only provided with 0FISCVARNT,
    0FISCPER, 0FISCYEAR and a special period 0FISCPER3. It doesn't provide
    anything like 0FISCQUARTER etc and rightly so, because you can have
    only one 0FISCVARNT in the Time dimension and can have related periods
    (0FISCPER) only for a Row of data in your infocube. For example if you need to model as per the Fiscalweek, you can create a custom Fiscal year variant (Say z1) and can configure to have only 53 periods (Mapped to 0FISCPER) representing
    53 Fiscal WEEK. Similarly for mapping Fiscal Quarter you can create
    another fiscal year variant (Say Z2) and have only 4 periods (mapped to
    0FISCPER also in this case) to represent the 4 Fiscal Quarter. However
    the issue is that for one record you can only map either of those and
    not both since you can only have one Fiscal year variant in one row of
    data in the info provider.
    For example
    If I have two rows OF DATA coming from different sources (One FOR
    Fiscal Week and another for Fiscal Quarter) I can have the following in
    my info provider.
    1> Example data in Fiscal
    Char1 Char2 0CALDAY 0FISCVARNT 0FISCPER Quantity
    X  ......  y .....10/22/07 ....Z1 ....           43’2007 .......10
    X .......  Y .....10/22/07 ....Z2 ....          Q3’2007 .......20
    The issue is how do I report the Quantity in a query in Quarter Q3 as
    (10 + 20 = 30) since both the rows corresponds to FISCAL Q3’2007?
    (Please note that Fiscal week 43’2007(For VARIANT Z1 ) actually is
    Fiscal Quarter Q3’2007( For Fiscal Variant Z2) as per our
    configuration of Fiscal Year Variant configuration Z1 and Z2)
    The same is very simple when I have infoprovider with CALENDAR Time
    dimensions , for example if we don’t have any fiscal reporting
    requirement and just report on calendar time dimension the record in
    the info provider would look like the following ( example)
    2> Example Data in CALENDAR DIMENSION
    Char1 Char2 0CALDAY 0CALWEEK 0CALQUARTER Quantity
    X ........ y .......10/22/07 .......43’2007 .......Q3’2007 .......10
    X ........Y .......10/22/07 ....... 44’2007 .......Q3’2007 .......20
    Here we can use both 0CALQUARTER and get the data aggregated on the
    quarter level in addition to the 0CALWEEK.
    To solve this issue, One option that we are thinking of Using 0CALQUARTER to represent the
    Fiscal Quarter and use Update rule to populate this one. For example
    THE example 1 can be as follows.
    1A> Example of using 0CALQUARTER along with 0FISCVARNT and 0FISCPER
    Char1 Char2 0CALDAY 0FISCVARNT 0FISCPER 0CALQUARTERE Quantity
    X .......y .......10/22/07 ..............Z1 .......43’2007 .......Q3’2007 ..............10
    X .......Y .......10/22/07 ..............Z2 .......Q3’2007 .......Q3’2007 ..............20
    In this case we would populate the 0CALQUARTER by the actual Fiscal
    Quarter and then can use both as per example 2 above. But this is not a
    smooth option since we have various other info providers to join and
    report based on solely Fiscal Quarter etc…
    I am certain that this issue have already been solved by somebody as this bound to happen in any finance application.
    Would appreciate if we can get some light on this regarding the data modelling, reporting etc.
    Thanks
    Arun G.

    You have yourself suggested a solution, which is fine,
    Other option is to have a new characteristic Fiscal Qtr in all the infoproviders ans update the same using a routine in the updaterule depending on the fiscal year variant.
    for eg. for transaction with variant Z1 in one case you can say if fiscal week 01 between 01 to 13 the Fiscal Qtr should be update with1 and if it is between 14 to 26 then update fiscal qtr with 2 and so on.
    For other Variants Z2 you write a different login in the routine ans so on.
    so for all the data irrespective of the variant you will have the qtr as either 1 or 2 or 3 or 4 and you can report on this fiscal qtr.
    assign points if it helps.
    regards
    Venkata Devaraj

  • Report to forecast based on fiscal period

    Has anyone done any financial reports which display data based on fiscal periods? The ProjectData service doesn't expose fiscal period (neither does the REST API under _api/ProjectServer). I saw a previous post (http://social.msdn.microsoft.com/Forums/en-US/7999cdf1-16fd-4efd-b7de-964bfeceb8f6/utilization-reports-by-fiscal-period?forum=projectserver2010general)
    that said to use the BI Center in PWA.
    In the case of Project Online I think what it means is that I need to use the Time entity from Timesheet actuals. Is this correct?
    Thanks,
    Roland

    Hi Roland,
    Indeed I couldn't find any fiscal year in the
    project odata references. Maybe other folks on the forum could give you a different answer. But if it turns to be true, you'll either have to deal with the time dimension, or to extract the raw data by day
    then do a transformation with Excel formula, code, VBA...
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, MCP |

  • Report for printing actuals for a fiscal period

    i have a report which prints the actuals for a fiscal year . Its like each country has their own fiscal year representation , The report is currently printing the data based on its own fiscal year representation , i have to modify the report and want it to print based on US(sep-aug) fiscal representation .. like for example for india its printing with may as fiscal period 1 , instead i want to print it with may data as fiscal period 9 and to print the data from sep-aug for all countries. I dont understand how to give the select statement and how to proceed with this. I appreciate if anyone can help me with this.
    Lets load up the yps_costplan table for loading.
    if they didn't specify a project to single load, go get them all.
    if s_objnr is initial.
    if in first fiscal month, "Sept", then get previous years data to
    fill in the last month, month 12.
    if t_t009b-poper = '001'.
    select * from yps_costplan into table i_yps_costplan
    where yyobjnr gt 'PR00000000' and yygjahr ge yprevyear and
    yygjahr lt yplus1year.
    else.
    select * from yps_costplan into table i_yps_costplan
    where yyobjnr gt 'PR00000000' and yygjahr ge p_fiscal and
    yygjahr lt yplus1year.
    endif.
    When getting all, start with 2003, when doing month, use current
    fiscal year only.
    yygjahr between t_yearm1 and t_yearp1.
    else.
    They secified 1 project, go get his data.
    if not s_objnr-LOW cs '*'.
    concatenate s_objnr-low '%' into hold_projn.
    loop at s_objnr.
    if s_objnr-high eq space.
    concatenate s_objnr-low '*' into s_objnr-low.
    s_objnr-option = 'CP'.
    modify s_objnr.
    endif.
    endloop.
    select posid objnr from prps into table t_prps
    WHERE POSID IN S_OBJNR.
    else.
    concatenate s_objnr-low(sy-fdpos) '%' into hold_projn.
    select posid objnr from prps into table t_prps
    where posid like hold_projn.
    WHERE POSID IN S_OBJNR.
    endif.
    if sy-subrc eq 0.
    loop at t_prps.
    if in first fiscal month, "Sept", then get previous years data to
    fill in the last month, month 12.
    if t_t009b-poper = '001'.
    select * from yps_costplan into table h_yps_costplan where
    yyobjnr = t_prps-objnr and yygjahr ge yprevyear and
    yygjahr lt yplus1year.
    else.
    select * from yps_costplan into table h_yps_costplan where
    yyobjnr = t_prps-objnr and yygjahr ge p_fiscal and
    yygjahr lt yplus1year.
    endif.
    if sy-subrc eq 0.
    loop at h_yps_costplan.
    i_yps_costplan = h_yps_costplan.
    append i_yps_costplan.
    endloop.
    endif.
    endloop.
    endif.
    endif.

    Hi Fris,
       You can do this using a process chain and ABAP program.
    1. Create one process chain and create abap program, include in it. Scedule this chain every day.
       Write a code in this ABAP program to check last day of fiscal period and to raise an event to execute 2 process chain or infopackge.
    From system date find currect period
    (Use FM : DATE_TO_PERIOD_CONVERT).
    Find last day of period(Use FM : LAST_DAY_IN_PERIOD_GET)
    Check system date(sy-datum) is equal to last day of period then you can raise an event(Use FM : BP_RAISE_EVENT).
    Use this event to schedule 2nd chains(contains infopackage) or direct scheduling of infopackage.
    You can create event at : SM62.
    Hope it Helps
    Srini

  • HOW TO GET FISCAL PERIOD WISE DATA BY GIVING FISCAL YEAR AS INPUT

    Hi All,
    I am creating a report where input field is FiscYear(0FISCYEAR). My fiscal year is Oct to Sep and 4 spl periods.
      If we give input as 2014 (current FY) it has to show all fiscal periods as on date. i.e., Oct’13 to Feb’14.  Which should show in columns each period
    separately, like Oct 13, Nov’13, …. Feb’14.
       If we give 2013, it has to show all fiscal periods separately each period in columns. i.e., Oct’12 to Sep’13.
    InfoProvider Data: We have a cube, containing data for 0CALMONTH and Fiscal Year. No fiscperiod in the cube.
      Could any one assist here as it’s a bit odd scenario never come across. All your suggestions and assistance are highly appreciable.
    Best Regards
    Venkat...

    Hi Anshu,
    I am getting the below error when I try to execute in Analyser.
    "No value could be determined for variable". Here is my code in CMOD.
    *Variables for ESAS Project
    DATA: curr_yy TYPE /BI0/OICALYEAR,
          input_yy TYPE /BI0/OICALYEAR,
          prev_yy TYPE /BI0/OICALYEAR,
          zmonth(2) TYPE N.
    WHEN 'ZCALMONTH_ESAS'.
        IF i_step = 2. "tried with i_step 1 also, same error message is showing
    READ TABLE i_t_var_range INTO loc_var_range
              WITH KEY vnam = 'ZFISCYEAR_ESAS'.
    IF sy-subrc EQ 0.
      curr_yy = loc_var_range.
      prev_yy = curr_yy - 1.
      zmonth = SY-DATUM+4(2).
      IF SY-DATUM+0(4) = curr_yy.
        CONCATENATE prev_yy '10' into l_s_range-low.
        CONCATENATE curr_yy month into l_s_range-high.
      ELSEIF prev_yy EQ loc_var_range.
        input_yy = loc_var_range.
        prev_yy = input_yy - 1.
        CONCATENATE prev_yy '10' INTO l_s_range-low.
        CONCATENATE input_yy '09' INTO l_s_range-high.
      ENDIF.
        l_s_range-opt = 'BT'.
        l_s_range-sign = 'I'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDIF.
    Everything is fine in CMOD. However, its giving error in execution. Any idea on this pls...
    Best Regards
    Venkat...

  • Year shift in Fiscal Year

    Hi
    Anyone can help me regarding the above issue. When we will give 1, or -1
    Thnaks in advance.
    Rajani

    Hi Kumari,
    Above all explanations are extreem, hope by this time u r cleare about the year shift, still i would like to give an example
    For year shift -1:
    Your financial year is 1st april 2007 to 31 march 2008,
    FSY: 2007
    Month      Day       Period       Year shift
    1     31     10     -1
    2     29     11     -1
    3     31     12     -1
    4     30     1     0
    5     31     2     0
    6     30     3     0
    7     31     4     0
    8     31     5     0
    9     30     6     0
    10     31     7     0
    11     30     8     0
    12     31     9     0
    Here month 1,2 and 3 are in 2008, but fiscal year is belong to 2007 so to decrees the 2008 to 2007 we gave -1.
    For Year shift +1:
    Your financial year is 1st oct 2007 to 30 Sep 2008
    FSY: 2008
    Month      Day       Period       Year shift
    1     31     4     0
    2     29     5     0
    3     31     6     0
    4     30     7     0
    5     31     8     0
    6     30     9     0
    7     31     10             0
    8     31     11     0
    9     30     12     0
    10     31     1     +1
    11     30     2     +1
    12     31     3     +1
    Here month 1,2 and 3 are in 2007, but fiscal year is belong to 2008 so to increase the 2007 to 2008 we gave +1.
    Hope its clear,
    Boost my skill by asigning the points
    Thanks
    Murali

  • How to get fiscal period based on date and Fiscal year?

    Hi Guys,
               Can anybody tell me how to get Fiscal period based on date and Fiscal Year or fiscal year variant?
    Thanks,
    Gopi.

    Hi,
    Please refer the code below:
    *: Report:  ZFISCALYR                                                  :
    *: Date  :  2004                                                       :
    *: Description: Demonstrates how to return the corresponding fiscal    :
    *:              year and posting period for a company code and posting :
    *:              date or posting date and fiscal year variant.          :
    REPORT  zfiscalyr NO STANDARD PAGE HEADING.
    TABLES: ekko.
    PARAMETERS:     p_bukrs TYPE ekko-bukrs,
                    p_bedat TYPE ekko-bedat.
    DATA: gd_fiscalyr  TYPE bapi0002_4-fiscal_year,
          gd_fiscalp   TYPE bapi0002_4-fiscal_period.
    DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
          gd_fiscalp2  TYPE bapi0002_4-fiscal_period.
    DATA: gd_periv     TYPE t009-periv.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    * get fiscal year and period - (requires date and company code)
      CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    * Alternative fiscal year function module
    * - (requires date and fiscal year variant code from T009 table)
    * gets first entry in fiscal year variant table (will need to choose
    * correct one from table rather than just using first entry)
      SELECT SINGLE periv
        FROM t009
        INTO gd_periv.
    * get fiscal year and period
      CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    *END-OF-SELECTION.
    END-OF-SELECTION.
      WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr,
            / 'Fiscal period is:', gd_fiscalp.
      SKIP.
      WRITE:/ 'From function module: DETERMINE_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr2,
            / 'Fiscal period is:', gd_fiscalp2.
    Thanks,
    Sriram Ponna.
    Edited by: Sriram Ponna on Apr 17, 2008 8:59 PM

  • Restrict Query to Year To Last Fiscal Period

    I have written a query that reports on Cost Centre line Item data. Up until now I had been using the variable 0I_CYFTD Year To Date for current fiscal year. However I now want to only report Year to then end of the last fiscal period. Anybody any idea how I would do this? The only way I can think of is to create my own variable with a customer exit. If that's the case where does the code go and what's the code involved as I'm no ABAP'er. Or is there another simpler way.

    Hi Joel
    You will probably need some abap code in here eventually,
    but could you not use the Previous Period Of Current Fiscal Year (OP_PRFP1) SAP exit.
    Eg. Create a range from 01.2008 to OP_PRFP1 as part of your key figure.
    Regards
    Nick

Maybe you are looking for