Offset issue for Fiscal Year Quarter

Dear All,
There is a requirement to develop a report for balance sheet to compare the fiscal year quarter like if user is going to give input 20143 then comparison quarter is 20142 where I did offset (-1) and if user give input as 20141 then the comparison quarter is 20134 where I am using offset as (-7).
So I have incorporated both offset in one variable. Now the issue is if I will run for any quarter then it is giving error in the run time. Could anyone suggest that how I could achieve this, whether I have used correct offset interval?
Query Key Figures Selections:
Bex Analyzer Selection Error:
Regards,
Abhishek Jain

Hi,
I wouldn't do it in that way i.e. one column where you count previous quarter for quarters 2 3 4 (offset -1) and another column for counting previous quarter for quarter 1 (offset 7).
There should be just one column where you count just previous quarter. Use an EXIT to count previous quarter for any value of quarter.
Regards, Leszek
something like this can be used:
WHEN 'ZPREVQUARTER'.
* QUARTER(1) TYPE C.
* YEAR(4) TYPE C.
* have to be defined after DATA: keyword !!!
   IF i_step = 2.
         LOOP AT i_t_var_range INTO l_s_var_range
           WHERE vnam = 'ZCURRENTQUARTER'.
           EXIT.
         ENDLOOP.
         CLEAR: l_s_range.
         YEAR = l_s_var_range-low(4).
         QUARTER = l_s_var_range-low+4(1).
         IF QUARTER = 1.
          YEAR = YEAR - 1.
          QUARTER = '4'.
         ELSE.
          QUARTER = QUARTER - 1.
         ENDIF.
         CONCATENATE YEAR QUARTER INTO l_s_range-low.
         l_s_range-sign = 'I'. "loc_var_range-sign.
         l_s_range-opt = 'EQ'. "loc_var_range-opt.
         APPEND l_s_range TO e_t_range.
      ENDIF.

Similar Messages

  • Variables for Fiscal year YTD, MTD and Quarter to data

    Hello Gurus,
    I have a fiscal year that runs from September to August. Is it possible to create a customer exit variable for Fiscal year YTD, fiscal year MTD and fiscal year QTD (quarter to date) based on sy-datum and not though user entry.
    If yes, then how should I restrict my key figures so that the user don't have to enter any date and the varaibles derive the data based on sy-datum.
    Looking forward to your expert advices
    Thanks,
    Rishi

    Hi Rishi,
    I understand your query some extent,You can create Characteristic varaible with processing type  Customer exit for fiscal year MTD and fiscal year QTD (quarter to date) based on sy-datum.
    If you want to see fiscal year MTD and fiscal year QTD  values in the column level, you have to create Text variable with replacememnt path.
    Do as follows.
    1) Create Characteristic varaiable  with processing type Customer exit. Search for required code in the SDN.
    2) Create the restricted keyfigure on required keyfigure.  Restrict it on fiscal year MTD and fiscal year QTD  with Char variable to enter year value.
    3)After maintaining the restricted keyfigure  (In the same step ) Create a text variable to get the value populated with the year specified with the processing type Replacement path with characteristic Fiscalyear.
    I hope above steps definetely help full for you.
    If any case you need  help let me know.
    Thanks,
    Chandu.

  • We are facing an issue of Fiscal year varint for 2LIS_03_UM  DS

    Dear All,
    When I am extracting the data for 2LIS_03_UM  DS from Quality system ,we are faicng an issue of Fiscal year varint (V3 Type)
    I have also transferred the Global settings  items in to BI system.  
    Please let me know something else required from my side.
    Regards,
    Srinivas Padugula

    Go to EXTRAS - DISPLAY GENERATED PROGRAM -
    here you will get the program that is generated for the transformation... go the line where the system generated code FILLS the FYV...
    It should be something like this
    *<<<    Rule ID: '12'.
              IF lssupp-_12 EQ rs_c_false.
                currrule-ruleid = '12'.
          Step ID: '1', Type: 'TIME'.
                currrule-stepid = '1'.
                l_fscvtval = G1-FISCVARNT.
                IF <_ys_SC_1>-CALDAY CO ' 0'.
                  CLEAR G1-FISCPER3.
                ELSE.
                  l_timvl = <_ys_SC_1>-CALDAY.
    Put a break - point there.. then in the DTP go in debug mode.. you will reach the above code... you can simulate the error why its coming
    What are the other time parameter you have in your cube?? I think its issue of FVY when you load data to another dependent time character... e.g. 0FISCPER3... FVY defines what value should go in 00FISCPER3... if the FVY is normal.. 0FISCPER3 = 1... if FVY is from April - march... 0FISCPER3 = 4
    Edited by: Shailesh Khandarkar on Dec 15, 2010 10:03 AM

  • Custome variable exit for fiscal year/period

    Hello BW Gurus,
    Q1[1,2,3] Q2[4,5,6] Q3[7,8,9] Q4[10,11,12] quarterly periods
    I have a custom variable exit as shown for fiscal year period
           IF LOC_VAR_RANGE-LOW+4(3) =< '003'.
              L_S_RANGE-LOW+4(3) = '001'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '003' AND
                                              LOC_VAR_RANGE-LOW+4(3) =<'006'.
              L_S_RANGE-LOW+4(3) = '004'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '006' AND
                                                LOC_VAR_RANGE-LOW+4(3) =< '009'.
              L_S_RANGE-LOW+4(3) = '007'.
           ELSE.
              L_S_RANGE-LOW+4(3) = '010'.
           ENDIF.
    Now this works fine to give me the Current Quarter ....say if user puts 005/2007 i get the data Current quarter as [4+ 5] i.e. April and MAy data. Now for <b>Previous Period</b> I gave an offset as -3 to -1 inorder to get data for Q1[123] but the requirement is changed and I want the same time period i.e. [1+2] and not the entire quarter since the Current Quarter calculates only for 4 and 5.
    I hope u are getting my point....please give your suggestions will reciprocate with lots of points

    Hi gaurav,
    Basically If I am selecting period 005 I am getting the data for 4 and 5 as Current Quarter i.e. April is the starting period of that Q2.
    Similarly the previous Quarter should also give me data for period 1 and period 2.
    Right now the offset I gave is -3 to -1 on my custom variable so i am getting data for the entire previous quarter which is Q1[1,2,3] but in reality i just want data for period 1and period 2.
    Can you please help me in this
    Appreciate your concern
    Thanks

  • Error saying 'Posting period 000 is not defined for fiscal year variant K4'

    Hi All,
       When I try to add a new entry in the transaction OB52, I get an error message saying 'Posting period 000 is not defined for fiscal year variant K4'. The entry that I add is,
    Variant           :  0001
    Account Type: +
    From Period    : 1
    Year               : 1995
    To Period        : 12
    Year               : 2010
    From Period2  : 13
    Year               : 2000
    To period2      : 16
    Year               : 2010
    Please let me know what customising needs to be done to solve this issue.
    Thanks a ton.
    Best Regards,
    Jeff

    Hi,
    Hava you checked in OB52 screen, by default 0001 posting period variant will be there for +, A, D, K, S account types.
    If it is already existed in your OB52 screen, you won't create one more record with the same name. You have to edit the existing 0001 posting period with new values.
    Thanks
    Chandra

  • Enable fiscal year/quarter selection in a query

    Hello all,
    I want to have an characteristic fiscal year/quarter similar to fiscal year/period (0FISCPER) in my query. Unfortunately I can not find such a characteristic in the time infoObjects in my cube and in the administrator workbench.
    Our Fiscal year starts in July. So the first quarter is July - September. The BW release is 3.5.
    How canI enable a fiscal yearquarter selection in my query?
    Any ideas would be great.
    Thanks upfront and Best regards,
    Stefanos from Munich/Bavaria/Germany

    Stefanos ...
    A couple of options for the same :
    1. Have 0FISCPER in your cube and map the same to the custom characteristic in the update rules.
    2. Have the custom characteristic in the cube in a separate dimension
    3. If you have the same in the cube - have a variable against that and execute your query...
    By doing the above you can get the same in the query.
    Arun
    Assign points if useful

  • Delta Fail - Fiscal year variant FP is not maintained for fiscal year 2011

    Afternoon all,
    One of our overnight deltas failed with the error msg
    "Fiscal year variant FP is not maintained for calendar year 2011"
    I've since in SPRO under Maintain fiscal year variant created the correct entry for 2011 which mirrors the R3 source system. However when i run a repeat delta the same error occurs.
    Thinking i may have missed a setting i have since transferred the global settings for fiscal year variants from the source system in RSA1 and again ran a repeat delta...same error.
    On the advice from other threads in the forums i've checked in OB29 and it appears fine, and also checked tables T009 and T009b again without success.
    Does anyone know of anything else i can try?

    hi,
    hope run the delta after the attribute change run could solve the issue.
    hope u may have the below posts already if not chk out
    Fiscal variant maintence
    Maintaining Fiscal Variant Between R3 and BW
    Fiscal variant not maintained for Calender year
    Ramesh

  • Variable for Fiscal Year Period in cube "0ECCS_C01" - Urgent

    Hi all,
    I have created a query based on cube "0ECCS_C01". I have restriced the characterstic " Fiscal Year Period" on  "Period/Fiscal Year (Single Value Entry, Required)" variable. Output of the query are just 2 numbers : sum of "cumulative value GC" and sum of "period value gc" for given period. This query is working fine in query designer. The variable takes input in following form "001.2008". I have checked that in analyzer that the 'key' value of the variable is in this format "001.2008".
    Now in VC , when i place "001.2008" in start point coding for fiscal year, it is giving error. Can any one please tell me that why it is throwing an error.I have given the same format as i gave in query designer. or shud i give period in some other format??
    Please respond.
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    Hi,
    can you give us further information about the data type in the cube resp. the infoobject, which is used in the cube for the fiscal year/period?
    Maybe you can try 0002008. Can you check which values you can enter when you execute the query in the web, so that the value helps for the variable comes up?
    Best Regards
    Marcel

  • Error: "posting period is not defined for fiscal year variant" in  FBICS3

    Hi,
    I got error  "posting period is not defined for fiscal year variant" when I execute t code FBICS3.
    I checked in OB29 &  t code FBIC010 & noted that the fiscal year variant had ben maintained.
    Please advice.

    HI,
    It was noted that the mentioned t code had been maintain but below mentioned error appear:
    Posting period  is not defined for fiscal year variant
    Message no. GU506
    Diagnosis
    You have tried to determine a posting date in fiscal year variant for period , fiscal year , but this period is not defined for the variant.
    Procedure
    You maintain fiscal year variants in table T009.
    It was referring to t code OB29. I have checked the detail, in OB29 also details maintain.
    Please advice why the error still prompt.

  • Splitting is not working for fiscal year 2008

    hai experts,
    The splitting is not working for fiscal year 2008. This is critical for month end.
    pls explain me ful cycle and advise me what i have to do,
    thank you

    Hi
    Please check the documentation in the links below.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/1c/2ed140ed61712ae10000000a155106/content.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/87/3da04028f40160e10000000a1550b0/content.htm
    This gives yuo a brief on Document splitting. Please let me know if you need any further help. Please do award points if found useful.
    Karthik

  • Budget control - Assigned funds are less than payment budget for fiscal year in document item

    Dear Experts,
    We are using Former budgeting, when ever we run the transaction FMBV getting the following message to a particular user.
    Budgeting
    Assigned funds are xxxx BHD less than payment budget for fiscal year
    2014 in document item XXXX /XXXXX .
    And also when purchasing creates the PO getting similar message to a particular user.
    Purchase order 450000XXXX
    Assigned funds are XXXX BHD less than the commitment budget for
    fiscal year 2014 in document item 010 XXXX /XXXXX .
    How to know where these users were maintained.
    Thanks for the help

    Hello Itai,
    Sorry for my late reply. Have you been able to find a solution for this?
    If not, please update, otherwise please make this thread as answered.
    Sorry for the delay...
    Kind regards, Mar.

  • Version 0 is not defined for fiscal year 2012.

    Hello Experts,
    While am tring to release  a work order, i am getting the below error.
    Version 0 is not defined for fiscal year 2012.
    Message no. GP626
    Diagnosis
    The version 0 is not defined in controlling area DE06 for the fiscal year 2012.
    You have to maintain the fiscal year-dependent version parameters for all actual versions for which multiple valuation is updated.
    System Response
    The version 0 cannot be used for fiscal year 2012.
    Procedure
    Maintain the fiscal year-dependent version parameters for the version 0.
    Execute function
    By this what i understood is we need to change the Settings for each fiscal year for the version 0 in controlling area DE06.
    i.e. we need to add the fiscal year 2012 in that.
    Is this correct????
    If yes what will be the impact of adding 2012 in that screen?
    i think its a soft config only.
    Please let me know the correct process
    Thanks in Advance,
    Satya

    Version 0 is not defined for fiscal year 2015.
    What to do next ? Please help with it.

  • BSC:  Display values for Fiscal Year/Period

    Hi all,
        We are trying to create a small test scenario to know about balance score card. We have a cube which has Actual and Plan data in one KF diffentiated based on Value type character. Time character is fiscal year/period.
    We want to display a graph which displays actual and plan for fiscal year/period wise. But when we execute the score card it shows the total year's plan and actual for the individual fiscal year/period. But ideally it should display actual and plan for the respective fiscal year/period.
    we have created two value field in the measures of score card. and formula a/b (Plan / Actual ) is used.
    Please guide us in solving the problem.
    Regards,
    PM

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi
    <Br>
    Do you have Fiscal Year Period in the Rows of your BW Report? If not, please try that.
    <Br><Br>Hope it helps.
    <Br>
    Cheers
    Abhijit
    <Br>* It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

  • Custom exit variable for fiscal year/period

    Hi BI Experts
    1) In one of the column i just want Budget data to be displayed for the entire year..i.e even if the user enters 005/2006 for fiscal year /period that column should display 001/2006 to 012/2006 Budget.
    I have created a restricted KF for 0AMOUNT restricted by version(for Budget), valuetype (for Budget )
    now how do I assign variable for Fiscal year/period...and the problem is posting period is not populated ...I mean there is no transformation for that...
    Can you share your experience on that ...full points wil be awarded...
    Thanks

    Hi Ajay and Pradhiba
    I am really sorry for assigning you guuys points ...wasa bit busy ...
    The problem is that the year and posting period is not populated...there fore I cannot use those time characteristics...
    Now I have only fiscal year/period populated..now i want
    if the user enters 005/2006 ....i want my first column to calculate the data for 001/2006 to 012/2006 ...thats the req...
    can u share ur ABAP experience in that...
    thanks

  • Transfer global settings for Fiscal year

    Hi friends,
    There are two entries are posted for Fiscal year in R/3.. In BW side, I know that replicate transfer global settings is good option to get R/3 data for the Fiscal year.. here there is no fiscal year option.. but there is fiscal year variant options.. i want to know how can i replicate global settings by which option and which mode should use.....
    Guide and help me...
    with regards,
    Jaya

    Hi,
        I doubt if we have such option for Fiscal variant. I maybe wrong.
    But try to get the data for Fiscal Variant in a flat file and load it to BW.
    or
    Check the the table T009B if the Fisc variant is Updated.
    If not, there must be some option for that.
    Regards,
    Balaji V

Maybe you are looking for

  • How to edit data from a "View Table"?

    I am importing data from a "table view" where in sql it joins several tables into one view. When I passed it in using the template it doesnt have the "Edit command column" like other direct link tables. Is there anyway I could make a view table edita

  • IMac starting to really bog down

    By bog down i mean that every operation has a noticeable lag time before initiating. I have a mid-2010 iMac 3.2 GHz Intel Core i3 512 MB ATI Radeon graphic card 12 GB 1333MHz DDR3 in 4-4-2-2 formation I'm using about 75% of my 1 TB hardrive (more tha

  • Place multi page pdf at a consistent zoom

    I have minutes that need to be placed into InDesign at say 50% of their original size.  What is fastest way to do this in CS4? The minute pages are individual pages so I am selecting 3 at a time. Thanks

  • One last question about upgrading my old computer

    I  purchased an older HP computer P6243W (it's all I can afford on my VA disability) I'm looking to upgrade the video card buy purchasing a low priced PCIe Express X16 video card I need a little more video power to play diablo 3 (please forgive my ig

  • VOIP lab

    I am new in VOIP. i don't have much idea about voip. In my university i have cisco equipments. Can anyone send me a simple voip lab. Like; with 2 IP phone, 2 cisco switches and 2 router... thats i have.. waiting for any gud like or information where