Fiscal quarter time characteristic

Hi,
Would you guys know if there is a way to create a new time characteristic "fiscal quarter" and add it to all BW reports automatically?
I do not want to change the transfer rules or update rules because we have many.

Thanks Adam,
I was thinking if I add some ABAP code to the transfer routine at the infoobject level (before the transfer rules). This would apply the changes to all transfer rules. The code would calculate the fiscal quarter based on 0FISCPER3.  But I am having trouble accessing 0FISCPER3 characteristic in the new transfer routine I created for the new custom characteristic (in general tab of infoobject).
Basically, the requirement is to add the characteristic 'fiscal quarter' to all reports without having to change each one individually...
Is there any way to change the transfer rules globally?
(PS: I am new to BW)...
Thanks for your help,
Paula

Similar Messages

  • 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

  • Fiscal Year Time Dimension - Month Time Span

    I have a need to create a fiscal year time dimension and I created using Time Wizard in OWB. When I was developing BI Reports, I found some inconsistencies in Time dimension as it was showing figures in all the months of my first quarter of new financial year that Apr 2009 – Mar 2010. On close inspection of Time Dimension table I found that fiscal_month_time_span value varies from 35 to 28 to 29 for different months. i.e. it’s not matching with corresponding Calendar month. This means I am unable to plot data correctly using fiscal year dimension.
    Maybe this is how it works in Oracle, but this does not solve my problem. Could anyone give me some solution for this ? My Fiscal year is from ‘1- Apr – 09’ to ’31-Mar-10’. In my reports I would like to see transactions for April month when I use month attribute of time dimension like it happens in Calendar time dimension.

    May be someone from
    Forum: Business Intelligence Suite Enterprise Edition can answer this .
    Please post it there.

  • BEx Query - Time characteristic Description problem

    Hi Guys,
    In one of the queries, I have '0I_FPER' as the time-characteristic in the columns section. I have few key figures in my rows section. When i executed the query (filter char. - Fiscal year variant restricted to July - June, 4 special periods i.e. V6), i get separate columns for each month as required. But, the descriptions for the months are July 2005, August 2005 ... June 2005.
    They should get displayed as
    July, 2004 August 2004 ... June 2005
    How do i get the description in the desired format.
    Any help will be greatly appreciated.

    Hi guys,
    I am awaiting a solution. The values are not being filled by any variable. As mentioned before, 0FISCPER has been restricted on 0I_FPER variable. The Fiscal Variant is V6. On execution, the following output appears (with user-entry values for 0FISCPER being 001/2005 - 012/2005):
    July 2005 August 2005 .....  June 2005
    I am expecting something like
    July 2004 August 2004 .....  June 2005
    I have problem only with the column description. The data appears correctly. i.e. Data for July 2004 appears correctly but with heading July 2005 instead of July 2004. I created text variables on 0FISCPER for all the months of 2004. But no help.
    Any help will be greatly appreciated.

  • Time characteristic restriction in BW BPS

    Hi to all,
    I got one question for BW-BPS. This was happened after upgrade of Netweaver
    service pack. Before that it was fine. My question is as follow:
    Under DW workbench when I create an InfoProvider which included time dimension
    that consist of fiscal year, fiscal year/period, posting period, calendar
    year, calender year/ month. I try to select fiscal year, fiscal year/period
    under a planning level, then I select unassigned(#) time characteristic for
    fiscal year/period and save it. System allow for this restriction under time
    characteristic fiscal year/period. However, if I deselect fiscal year, fiscal
    year/period under a planning level and select calendar year, calender year/
    month under the same planning level, then I select unassigned(#) time
    characteristic for calender year/ month and save it. System was not allow for
    this restriction for time characteristic and generate the following message:  
      Message: UPC003- Value# is not permitted for characteristic calendar
    year/month.
    There was no characteristic relationship set for time dimension
    characteristics. I still not understand why system is not allow for
    unassigned(#) time characteristic selection for calender year/ month
    Therefore, I would like to need a support for this. Is it a system error?

    Hi Gupta,
    Thanks for your guide. I already try as per your instruction but not work because when I create a planning level with only 0calmonth, system still not allow me to include unassigned (#) for time restriction. May be I could explain to you why I need to select unassigned (#)  for 0calmonth.
    My explanation is as follows:
      Actually I already create a planning level with selected time characteristic calender year only for example Year 2008 and input value. Now I want to distribute the yearly figure to monthly, therefore I need to create another planning level and perform top down distribution. In the top down planning level, I have to select calender year/month for time characteristic and restrict the period to Jan 2008 to Dec 2008 and include unassigned(#) for the purpose of running distribution function.
    As I have told you in the earlier note which mentioned that the above task was actually worked in the beginning time before we have upgrade our Netweaver service pack. Unfortunately, it not work anymore after the upgrading of Netweaver .
    Do you have any idea regarding the scenario of before and after upgrading of Netweaver. Does it affect the previous settings?
    Hope you can help me to find out more on this.
    Tq.

  • How to get Current Quarter and Fiscal Quarter for a Date - Fiscal Year starts from 1st April

    Hi, 
    I need to calculate current quarter and fiscal quarter in my Sql query.
    I have a column for DateTime Datatype. 
    I need to find out Current Quarter Name like Q12012, Q22012, Q32012, Q42012 and Fiscal Quarter Name as well.
    Now Fiacal Year starts from 1st April, and Current Quarter starts from 1st Jan.
    For Current Quarter of 2012
    Jan-Mar = Q12012
    Apr-Jun = Q22012
    Jul-Sep = Q32012
    Oct-Dec = Q42012
    For Fiscal Quarter of 2012 ( starts from 1st Apr, 2011 )
    Apr2011-Jun2011 = Q12012
    Jul2011-Sep2011 = Q22012
    Oct2011-Dec2011 = Q32012
    Jan2011-Mar2012 = Q42012
    means if its 1st April, 2012,
    its a new Fiacal Year 2013 so Fiacal Quarter Name should be Q12013
    and its Current Quarter Name should be Q22012
    Can you help me to calculate this in a select query for given dates?
    Thanks in advance, 
    Nirav

    This should do it..
    Select
    FORMAT(datepart(quarter,getdate()),'Q#')+FORMAT(getdate(),'yyyy')

  • The time characteristic consistency check has produced an error     DBMAN     62

    Hi
    We are getting an error while updating to one target as The time characteristic consistency check has produced an error""
    * Checked the respective PSA data field  which is fine. Dates are in correct format.
    * RSRV ran for the particular target. It had error but the jobs were successful till yesterday.
    * Data from 01.05.2014 is having the problem ( Which I got from the record number in PSA )
    NB: We are running on HANA database but the respective target is not yet HANA Optimised
    Details Figures Attached
    Any Idea.. What could  have gone wrong
    Regards
    Reshoi R

    Hi
    Record Number 2995 is shown in the figures attached.
    I have already carried out the deletion and automatic repair mentioned in RSCV061 even before posting this question but of no use ( I have shown that also in the figures attached at the posting time.
    Reporting is fine. The problem is while loading the data to the cube. The loading is fine till date 30.04.2014 but from the date 01.05.2014. The record is error while updating.
    The cube is partitioned from month 01.2008 to 12.2015.
    Regards
    Reshoi R

  • Date parameters for the previous fiscal quarter?

    Hello Folks,
    I have this requirement of selecting the dates for the previous fiscal quarter. usually a fiscal quarter is January 2011 - March 2011. But in my case the fiscal year should be December 2010 to February 2011 and if i check in june 2011 it should return Mar 2011 till May 2011 and so forth. So how can i acheive to be able to select these dates i.e 12/1/2010 till 02/28/2011 in the where clause for the current date?
    create table test_A (id int, col varchar(50),change_date date);
    insert into test_A values(1, 'A',to_date('20101201 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(2, 'A1',to_date('20110122 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(3, 'A1',to_date('20110202 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(5, 'A1',to_date('20110306 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(6, 'A1',to_date('20110305 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(7, 'A1',to_date('20110307 000000', 'YYYYMMDD HH24MISS'));
    select * from test_A
    1     1     A     12/1/2010
    2     2     A1     1/22/2011
    3     3     A1     2/2/2011
    4     5     A1     3/6/2011
    5     6     A1     3/5/2011
    6     7     A1     3/7/2011
    I only want to see the following
    1     1     A     12/1/2010
    2     2     A1     1/22/2011
    3     3     A1     2/2/2011

    select  *
      from  test_A
      where change_date >= add_months(trunc(sysdate,'Q'),-1)
        and change_date <  add_months(trunc(sysdate,'Q'),2)
            ID COL                                                CHANGE_DATE
             1 A                                                  20101201 000000
             2 A1                                                 20110122 000000
             3 A1                                                 20110202 000000
    3 rows selected.
    SQL> SY.

  • Remodeling a time characteristic in a cube - Doesn't allow??

    I have a cube containing time characteristic 0CALWEEK.  I would like to use the remodeling toolkit so i can write some custom user exit code to replace the values in this field based on logic.  However I am not allowed to select this field!!  Why doesn't SAP allow you to remodel (change values) in any of the time characteristics in a cube??  Is there any way around this?
    Thanks, Peggy

    You are close to my issue.  This is a regular basic cube.  (no non-cumulative)
    It contains snapshots of an 18 month plan (future dates).  We have over 2 years of snapshots.  Last year the source system sending us the plan data used a calendar that handled the weeks of 2010 differently than the SAP calendar.  (SAP buckets the first 10 days of 2010 in week 1; whereas our company only used first 3 days of 2010 as week 1).
    Anyway, we have about 100 million records in these snapshots to adjust the calendar week to match up with the SAP calendar week.
    All we wanted to do was to use  the remodeling toolkit on the 0calweek field and choose "replace characteristic" and populate with a bit of ABAP code.  However we are not allowed to pick any time characteristics.
    We know we could always use the old standard ways to move data around to dummy cubes and fix, but that takes hours of processing for all the data we have to do.  (actually about 10 cubes this size).
    So we are testing the remodeling toolkit by adding a new characteristic that "references" ocalweek and using Abap to populate that the way we want.  We can move the queries over to the new field.  That seems to be working and fast since work is done using Oracle level commands, instead of data packet by data packet.
    Do you have any other ideas?
    Thanks much!

  • How to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input

    Hi all,
    I need your help how to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input.
    in my query info object is 0CALQUARTER and variable is ZFIS_QTR.
    in 0CALQUARTER fiscal quarter stored in 201301,201302,201303,201304 and 201401 format, for current fiscal quarter 201401 and (current fiscal quarter - 1 ) would be 201304.
    please replay ASAP to deliver the report to client.
    thanks in advance.
    -- Rakesh Nagpure

    I am Getting the same error for both the codes that i have written...
    Do i Need to write sth else in the code...
    Code:
    WHEN 'ZVLIVELEASES'.
      IF I_STEP = 2.
            L_DATE = SY-DATUM.
            SELECT * FROM "DSO_ACTIVE_TABLE"
                INTO TABLE ITAB_LL where "EXPIRY_DATE" > L_DATE.
            LOOP AT ITAB_LL INTO WA_LL.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            l_s_range-low = WA_LL-"EXPIRY_DATE".
           APPEND L_S_RANGE TO E_T_RANGE.
            ENDLOOP.
       ENDIF.
    Error: Error for variable in customer enhancement ZLIVELEASES

  • Fiscal Quarter

    Hi,
    I need to restrict a key figure based on version and on Fiscal quarter. Could anyone of you please tell me how to restrict the key figure for last year quarter?
    For eg. if fiscal quarter = 12007(q1 2007) how to do for fiscal quarter of the last year, i.e. 12006(q1 2006).
    If  I do Offset for the variable Fiscal Quarter as -1,  does it solve the problem?
    Please help me.
    Thanks,
    Riya

    Riya,
    You can use offsets for this.....
    As i said in other post you can restrict with fiscal quarter and version in one column and in another column do the same for last year. Use offsets on quarter to get last year quarter data. Hope this helps you......
    Check for similar example in the below link:
    Re: Aging Report

  • Advanced Custom Field help. Need fiscal quarter/fiscal week.

    A coworker is setting up an MS Project...project, and she asked
    for some help adding a custom field that would convert the Start date field into our Fiscal Quarter Fiscal Week schema, to display as FQFW, e.g. Q1W1. I've written a formula that accomplishes this quite nicely in excel, but I've never even touched Project
    until this week. Apparently it doesn't take formulas quite the same way as Excel does. I tried using the ''Switch" function in Project, and it worked, but it only accepts 14 arguments(right?), and there are obviously 52 weeks we're dealing with. Does
    anyone have any suggestions? Would there be a way to do this using VBA? (I know next to nothing here as well.)
    Formula in excel where A1 is the Start Date:
    =IF(AND(A1>=DATE(2014,2,1),A1<=DATE(2014,5,2)),CONCATENATE("Q1","W",(INT((A1-DATE(2014,2,1))/7)+1)),IF(AND(A1>=DATE(2014,5,3),A1<=DATE(2014,8,1)),CONCATENATE("Q2","W",(INT((A1-DATE(2014,5,3))/7)+1)),IF(AND(A1>=DATE(2014,8,2),A1<=DATE(2014,10,31)),CONCATENATE("Q3","W",(INT((A1-DATE(2014,8,2))/7)+1)),IF(AND(A1>=DATE(2014,11,1),A1<=DATE(2015,1,30)),CONCATENATE("Q4","W",(INT((A1-DATE(2014,11,1))/7)+1)),FALSE))))
    Any and all suggestions welcome.
    Thanks.

    msinnen,
    You're correct, switch statements and if statements can only be nested to 15 levels. However, VBA can get you there. This macro should do what your coworker needs with the following assumptions - the fiscal year starts in January and quarters end on the
    last day of the month, not the last Friday. If either or both of those assumptions are incorrect, then this macro will need some tweaking. Note: the quarter and work week designator will be written into the Text1 field.
    Sub FQuartsandWeeks90()
    Dim t As Task
    Dim Mon As Integer
    Dim Qtr As String, Wk As String
    For Each t In ActiveProject.Tasks
        If Not t Is Nothing Then
            t.Text1 = ""
            Mon = Month(t.Start)
            Select Case Mon
                Case 1 To 3
                    Qtr = "Q1"
                    Wk = "W" & CStr(DatePart("ww", t.Start))
                Case 4 To 6
                    Qtr = "Q2"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 13)
                Case 7 To 9
                    Qtr = "Q3"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 26)
                Case Else
                    Qtr = "Q4"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 39)
            End Select
            t.Text1 = Qtr & Wk
        End If
    Next t
    End Sub
    John

  • Current calday or fiscal period to fiscal quarter

    Dear Experts,
    Is sy-datum calendar day date or fiscal day date?
    How to derive the fiscal period or quarter from sy-datum?
    Is there a function module to use to convert from current day (either fiscal day or calendar day) to derive the current Fiscal Quarter?
    I am not sure which function module can be used. Unable to find in the forum as well.
    Please could you provide me some clues?
    Thanks.
    Best regards
    Bass

    hi Steve,
    try function module 'UMC_FISCPER_TO_CALQUARTER'.
    following is sample code in transfer rules, in update rules use COMM_STRUCTURE for TRAN_STRUCTURE.
    hope this helps.
    data : l_fiscvar type PERIV,
    l_fiscper type UMC_Y_FISCPER,
    l_quarter like UMC_YS_DIMVALS.
    l_fiscvar = TRAN_STRUCTURE-fiscvarnt.
    (infoobject 0fiscvarnt)
    by default fiscal variant = K4 if not specified
    l_fiscper = TRAN_STRUCTURE-fiscper.
    call function 'UMC_FISCPER_TO_CALQUARTER'
    exporting
    I_PERIV = l_fiscvar
    I_FISCPER = l_fiscper
    importing
    ES_CALQUARTER = l_quarter.
    RESULT = l_quarter.
    ABAP Code Needed to convert Fiscal Period/Year to Quarter
    hope this helps.

  • Calculate the current  fiscal quarter based on zero based month index

    Hi All,
    I need your help to Calculate the current fiscal quarter by adding 1 to a 0 based month index, dividing by 3.0(float or double) and getting the ceiling integer then add one to that number to get the “fiscal” quarter, taking care to loop back to quarter one as necessary.
    please help me to get this.
    Thank you in Advance.
    Ram.

    Hi,
    933478 wrote:
    I need your help to Calculate the current fiscal quarter
    The Q datetime format doesn't match your need ?Scott@my11g SQL>select sysdate, to_char(sysdate,'Q') currentQuarter from dual;
    SYSDATE             CURRENTQUARTER
    10/05/2012 17:35:02 2If your input is the 0-based month, then you could just :Scott@my11g SQL>with monthes as (
      2  select level-1 mon0 from dual connect by level <=12
      3  )
      4  select mon0, to_char(to_date(mon0+1,'mm'),'Q') quarter from monthes;
          MON0 QUARTER
             0 1
             1 1
             2 1
             3 2
             4 2
             5 2
             6 3
             7 3
             8 3
             9 4
            10 4
            11 4

  • Date time characteristic converted in a string in Universe OLAP

    Hi there,
    We are facing to the following issue. Maybe one of you has been already facing to.
    We have created a BO universe on top of BI queries (based on MDX) and we make WEBI reports.
    We note when we update/refresh the OLAP structure, all characteristics (Number and date) are converted/considered as a character and string and we loose in that way the time information.
    This is very ennoying when sorting on time dimensions as WEBI can only sort on Alphabetic order.
    Indeed, we would like to display the last 13 month of a key figure as from the last month.
    As the time characteristic is automatically converted by the Olap refresh structure in a string, we can't display the last 13 months in logical/natural/calendar order.
    Ex: NOV 2007 | DEC 2007 | JAN 2008 | FEB 2008 ....DEC 2008
    Any idea :
    - why the 'Refresh structure' command automatically convert into a string?
    - how to force him not to convert to string and keep the date information?
    - order date as the logical/natural/calendar one?
    Beforehand, thanks a lot

    Hi Ingo,
    I'm using 0CMonth or 0CALMONTH which are SAP characteristics.
    Do you know how to sort data by date and not by string?
    When we recuperate infoobejcts from BI queriies, all objects are string and all LOV are sorted by string which don't help us.
    imagine we have JAN 1996, JAN 1997,... FEB 1996 etc etc.
    A nightmare
    Laurent

Maybe you are looking for