Fiscal Year in the columns outside KF structure

Dear Experts,
I have a manual Entry variable for Fiscal Year range.
In the query designer columns , I have a KF structure containing quarter level columns.
The FY is outside this structure. So, for each FY user entered in the FY range variable, the report will show the set of KFs at quarter level.
How can i refer to this FY values at runtime such that current date can be used to compare with the FY and Quarter in the columns?
The requirement is, if the current QuarterFY  is less than   the current QuarterFY, the TEXT variable for the columns should show 'Actual' else show 'Plan' .
I am not sure how to reference the FY range entered by user considering that the FY is placed outside the KF columns to automatically display all the FY entered by the user without the use of the FY range variable restricted in the KFs.
Please advise.
Thanks.
Bass

Dear Sunnybt
Copy Riyes,  I find your response interesting. Please could you elaborate your idea of using condition in more detail.
Sorry for my late response.
Allow me to clarify my statement, which you are right, is unclear.
By :
"if the current QuarterFY is less than the current QuarterFY"
I mean :
eg. user enters FY range : 2009 to 20NN  (eg. 2017)
KF_column1_FY2009_Q1______KF_column2_FY2009_Q2____KF_column3_FY2009_Q3______KF_column_FY2009_Q4______KF_column_FY2010_Q1______KF_column2_FY2010_Q2____KF_column3_FY2010_Q3______KF_column_FY2010_Q4_____KF_column_FY_NNNN_Q1
For each column, where the FY can be any year range entered by user,
the Text Description of the Column should show either 'Actual' or 'Plan' based on what is the current FY Quarter at runtime.
If the FY Quarter (eg. 1st column is 200101) is before current FY Quarter (i.e 201103), then the Description of this column should be "Actual" , else "Plan".
In my current design, I am unable to use customer exit text variable to meet this requirement.
So, I like to check with you for fresher ideas.
If not , I would use a workbook, which I am avoiding as the user needs to drilldown and I believe drilldown is not possible in workbooks where report layout needs to be rigid or cell positions fixed. Of course, unless there is a way out of this which I do not know.
Best regards
Bass

Similar Messages

  • Fiscal year in the columns outside the key figure structure

    Dear Experts
    I have a report requirement to show the keyfigures in the columns from year 1 to year 10 and in each year there are 4 keyfigures each restricted to 1 quarter for 4 quarters.
    So, there are too many keyfigures to create.
    I am using fiscal year in the columns outside the Key figure structure containing the keyfigures restricted at each of 4 quarters.
    So, when the report displays, all the 10 years will automatically be displayed.
    The problem is one of the 4 quarter level keyfigures needs to be restricted by calendar year.
    How can I read what is the fiscal year for each column at runtime so that I can reference this value to determine the calendar year ?
    As you know, each FY spans 2 Calendar Years. So, i need to restrict this on the 4th keyfigure by calendar year but while having the FY outside the keyfigure structure i can get all the FY, I am not sure how to access this value at runtime so that eg.
    if FY for column 1 is 2010, i can set calendar year to be 2010 to 2011.
    Hope you can give me some clues.
    Thanks you Gurus!
    Best regards
    John

    Dear Sunnybt
    Copy Riyes,  I find your response interesting. Please could you elaborate your idea of using condition in more detail.
    Sorry for my late response.
    Allow me to clarify my statement, which you are right, is unclear.
    By :
    "if the current QuarterFY is less than the current QuarterFY"
    I mean :
    eg. user enters FY range : 2009 to 20NN  (eg. 2017)
    KF_column1_FY2009_Q1______KF_column2_FY2009_Q2____KF_column3_FY2009_Q3______KF_column_FY2009_Q4______KF_column_FY2010_Q1______KF_column2_FY2010_Q2____KF_column3_FY2010_Q3______KF_column_FY2010_Q4_____KF_column_FY_NNNN_Q1
    For each column, where the FY can be any year range entered by user,
    the Text Description of the Column should show either 'Actual' or 'Plan' based on what is the current FY Quarter at runtime.
    If the FY Quarter (eg. 1st column is 200101) is before current FY Quarter (i.e 201103), then the Description of this column should be "Actual" , else "Plan".
    In my current design, I am unable to use customer exit text variable to meet this requirement.
    So, I like to check with you for fresher ideas.
    If not , I would use a workbook, which I am avoiding as the user needs to drilldown and I believe drilldown is not possible in workbooks where report layout needs to be rigid or cell positions fixed. Of course, unless there is a way out of this which I do not know.
    Best regards
    Bass

  • Creation of shortend Fiscal year for the Merger of two Companies.

    Company 'A'is getting Merged with the Company 'B' on 15th February 2010. Company 'A' is suppose to submit all the financial details to the Company 'B' on 15th February 2010, furthermore the users with the Company 'A' should not be allowed to post any transactions after 15th February 2010.(Max they should be given 10 days grace period for closing the financial year)
    The current fiscal year for the Company 'A' is from April to March. However, as per the above mentioned scenario it is required to have fiscal year from April to February.i.e. a shortened fiscal year.
    Please note that Company 'A' is using the version 4.7.
    Steps we have already proceeded with
    1. we created a Shortened fiscal year "Z1"from April to Feb 2010 (Monthly basis) wherein we have taken only 15 days for the month of Feb 2010.
    2. we have created an another Shortened fiscal year(weekly basis) wherein we have taken six weeks as posting period.
    3.We assigned the Fiscal year Variant to the company code.
    4.After assigning when we want to check the details of the assets in the Asset explorer AW01N.the system is reflecting an error "
    SYST: Error when calculating first day in fiscal period   > F1
    Message no. AA654
    Please provide us with the solution for the above mentioned scenario.
    Thanks and Regards,
    Tejprakash Chaurasia.

    Hey,
    I am facing a similar scenario at my client place, thought if i could get insights on how you resolved the issue identified...
    We are yet to configure the shortened fiscal year settings.
    Thanks
    Pradeep

  • Variable to display data from Current Fiscal Year to the MONTH entered

    Hi Friends,
    In the Quey Designer I require a CHARACTERISTIC VARIABLE for the 0CALMONTH which should have the following features:-
    1.Input Month(e.g JUN 2008)
    2.Mandatory
    3.Ready for Input
    The query should show the following OUTPUT:-
    The data should be displayed from the CURRENT FISCAL YEAR to the value of the Input MONTH entered.
         e.g For Input  =  DEC2008
               Output = from APRIL 2008 to DEC2008.
    Do we have a standard variable for this or we have to go for a Customer Exit??
    Thanks in Advance!!!
    Vivek

    Hi,
    Create a customer exit as follows.
    WHEN 'ZCMTD'.
    you variable name
    data: ZCMTD_LOW like sy-datum.
    ZCMTD_LOW = sy-datum.
    ZCMTD_LOW+4(2) = '04'.
    *replacing last two symbols (month) in the current month with '04'
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = ZCMTD_LOW.
    *initializing low interval limit
    L_S_RANGE-HIGH = SY-DATUM.
    *initializing high interval limit
    L_S_RANGE-SIGN = 'I'.
    *defining interval as inclusive
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDCASE.
    Thanks,
    Ashok

  • 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.

  • Find the fiscal year for the date

    My fiscal year starts from 1st of august to july31
    if i pass the period Aug-2011 need to know in which fiscal year it falls in
    Expected output as 2012.
    How can i write simple query

    hI,
    893185 wrote:
    select EXTRACT (YEAR FROM ADD_MONTHS ('AUG-2011', 5)) from dual
    The above is giving non numeic character. How can i write the sqlThe first argument to ADD_MONTHS is supposed to be a DATE, not a string.
    Use a DATE instead of the string 'AUG-2011'. For example:
    EXTRACT (YEAR FROM ADD_MONTHS ( TO_DATE ( 'AUG-2011'
                                            , 'MON-YYYY'
                         , 5
         )

  • How to change the fiscal year in the controlling area?

    I want to change the fiscal year mentioned in the controlling area. The problem is that the controlling area is assigned to a company code and number ranges have been defined and cost center hierarchy has been created.
    Please suggest me what to do?
    Thanks in advance

    Hi
    If its a Productive system - You cant change the FY.. You need to take SAP SLO Service.. Its a chargeble one
    If its a Test system and data is posted, then you need to delete the data 1st of all... I advise create a new contr area / comp code
    "Activate components & Control Indicators" - Just COPY 2011 and make it 1900 or any year of your choice
    br, Ajay M

  • 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.

  • Need year on the top after Offsetting

    Hi ,
    My requirement requires me to show Actual cost incurred in a project for current year and the year before.I have used fiscal year in the columns and have used it to offset by -1.The report displays the selected year on the top of column 1 but does not show 'year-1' on the top of other column.although it shows the correct data.any help will be appreciated

    I dont see any apparent reason why the text for the 2nd variable is not displayed, when the first column header with the current year is displayed.
    Check ur text variable and the way it has been declared in the column heading.
    BTW - ur subject is very misleading and no connection to ur issue, a better subject would have been better

  • FI-AA Impact on changing the year dependent fiscal year period from 445 to 435

    Dear Friends,
    May I have your comment on the impact of below change
    Currently using Year Dependent fiscal year variant K5 and period end closing is *445
    future we want to use the same fiscal year dependent variant K5 , however the period end closing will be *435
    *445 Periods - 1st month 4th sat, 2nd month 4th sat, 3rd month 5th sat will be the closing periods
      similarly for the rest of the months in a year
    *435 Periods -  1st month 4th month, 2nd month 3rd sat, 3rd month 5th sat will be the closing periods
      similarly for the rest of the months in a year
    Impact on Asset Module and other  modules will be a great help
    Regards
    SB

    Hi Sanjai,
    SAP do not recommend to change a Fiscal Year Variant that has already
    been assigned to a company code and has already some postings. This
    will may create database inconsistencies
    Please check the following SAP notes which will give you an
    idea of some adverse effects that may happen as a result of a change
    based on the modules/components you have implemented in your system.
    427920     Analysis program for fiscal year conversion
    210861     Changing fiscal year variant in production system
    193713     SAPF070: Change of fiscal year variant
    672255     Shortened fiscal year/changing fiscal periods
    The change of the fiscal year or the change of the fiscal periods
    has an effect in many modules, for example, in FI, FI-AA, FI-SL, FI-LC,
    EC-CS, IM, CO, EC-PCA, MM, PP, SD, PS, PM.
    Corresponding risks (for example, data inconsistency, system standstill)
    can arise from incorrect changes to the fiscal year or from incorrect
    changes to the fiscal periods in a live SAP system.
    You can refer to the following wiki page also:
    http://wiki.sdn.sap.com/wiki/x/jYXrCw
    I hope you find this information helpful.
    Regards,
    Jose

  • FI Impact on changing the year dependent fiscal year period from 445 to 435

    Dear Friends,
    May I have your comments on the impact of below change
    Currently using year dependent fiscal year variant K5 and Period closing is *445
    Future we want to use the same year dependent fiscal year variant K5 and period end closing is *435
    *445 Periods - 1st month 4th sat, 2nd month 4th sat, 3rd month 5th sat will be the closing periods
      similarly for the rest of the months in a year.
    *435 Periods - 1st month 4th sat, 2nd month 3rd sat,  3rd month 5th sat will be the closing periods.
      similarly for the rest of the months in a year.
    Impact from FI perspective and other modules would be of great help
    Regards,
    SB

    Hi Sanjai,
    SAP do not recommend to change a Fiscal Year Variant that has already
    been assigned to a company code and has already some postings. This
    will may create database inconsistencies
    Please check the following SAP notes which will give you an
    idea of some adverse effects that may happen as a result of a change
    based on the modules/components you have implemented in your system.
    427920     Analysis program for fiscal year conversion
    210861     Changing fiscal year variant in production system
    193713     SAPF070: Change of fiscal year variant
    672255     Shortened fiscal year/changing fiscal periods
    The change of the fiscal year or the change of the fiscal periods
    has an effect in many modules, for example, in FI, FI-AA, FI-SL, FI-LC,
    EC-CS, IM, CO, EC-PCA, MM, PP, SD, PS, PM.
    Corresponding risks (for example, data inconsistency, system standstill)
    can arise from incorrect changes to the fiscal year or from incorrect
    changes to the fiscal periods in a live SAP system.
    You can refer to the following wiki page also:
    http://wiki.sdn.sap.com/wiki/x/jYXrCw
    I hope you find this information helpful.
    Regards,
    Jose

  • Impact on changing the year dependent fiscal year period from 445 to 435

    Dear Friends,
    May I have your comments on the impact of below change
    Currently using Year Dependent fiscal year variant K5 and period end closing is *445
    Future we want to use the same year dependent fiscal year variant K5, however the period end closing will be *435.
    *445 Periods - 1st month 4th sat, 2nd Month 4th Sat & 3rd Month 5th sat will be the closing periods
    similarily for the rest of the months in a year.
    *435 Periods - 1st month 4th sat, 2nd Month 3rd sat & 3rd Month 5th sat will be the closing periods
    similarly for the rest of the months in a year.
    Regards,
    SB

    Hi Sanjai,
    SAP do not recommend to change a Fiscal Year Variant that has already
    been assigned to a company code and has already some postings. This
    will may create database inconsistencies
    Please check the following SAP notes which will give you an
    idea of some adverse effects that may happen as a result of a change
    based on the modules/components you have implemented in your system.
    427920     Analysis program for fiscal year conversion
    210861     Changing fiscal year variant in production system
    193713     SAPF070: Change of fiscal year variant
    672255     Shortened fiscal year/changing fiscal periods
    The change of the fiscal year or the change of the fiscal periods
    has an effect in many modules, for example, in FI, FI-AA, FI-SL, FI-LC,
    EC-CS, IM, CO, EC-PCA, MM, PP, SD, PS, PM.
    Corresponding risks (for example, data inconsistency, system standstill)
    can arise from incorrect changes to the fiscal year or from incorrect
    changes to the fiscal periods in a live SAP system.
    You can refer to the following wiki page also:
    http://wiki.sdn.sap.com/wiki/x/jYXrCw
    I hope you find this information helpful.
    Regards,
    Jose

  • Vendor Ageing Analysis Report for the postings for this fiscal year

    Hi All,
    I require report that lists every supplier that my company has spent money in this fiscal year, need the actual average payment terms, number of days etc. And also how much has been spent with each supplier.
    Kindly let me know the report or the process to extract this data from SAP R/3 system.

    Regarding Ageing analysis of Vendor below three reports may meet your requirements provided transactions to the vendors are done in disciplined manner.
    S_ALR_87012078 - Due Date Analysis for Open Items
    S_ALR_87012084 - Open Items - Vendor Due Date Forecast
    S_ALR_87012085 - Vendor Payment History with OI Sorted List
    Regards,
    Alok

  • How to get the First day in a Week in a Fiscal Year

    Hi guys,
    I have a Requirement to calculate the First day in  a Week  in a Fiscal year .
    The FM GET*FIRST_DATE and all are for Calender year.
    Is there any FM to calculate the First in a Week in a Fiscal year.
    For eg. They will give 200826.
    In this 26 is the Week.
    I need to find the First date value in that Week.
    Thanks,
    Gokul

    Hi Gokul...
    Instead of using the funtion module you can just write the 3 statements of code to get the first day of the week.
    Its similar to the above one but instead of writing case statement you can achive the following.
    data : w_res type i,
             w_data type d,
    w_res = w_date mod 7.
    w_date = w_date - w_res.
    write w_date.
    This works.
    Regards,
    Siddarth

  • 2 structures in the column,structure not displaying in the output(RSRT)

    Hello BI Folks,
               I have a requirement where the user enters the input(text variable)
    say 03/2011 then the report output should be Jan,Feb,Mar.
    say  05/2011 then the output should be Jan,Feb,Mar,Apr,May,likewise.
    The report output should be:(if the text variable is---02/2011)
    Brand          Jan              Feb                     Mar                      April                      May                       June                  July                 Aug             Sept           Oct                Nov           Dec
              Sales Foc Sales Foc  Sales Foc  Sales Foc  Sales Foc  Sales Foc Sales Foc Sales  Foc Sales  Foc Sales  Foc Sales  Foc
      A      455    56     38      
      B                03     32
      C
      D       90      2      75     69
    I am acheievin this by using creating 2 structures in the columns.
    1 structure is for jan-dec & another structure for the KPIs(sales,FOC).
    I am writing customer exit to read the text variable & get the data for the variable read.
    lo_year = sy-datum+0(4).
    lmon =sy-datum+4(2).
    READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'text_variable'.
    l_s_range-low = loc_var_range-low.
    ln_value = l_s_range-low+4(2).
    DO ln_value TIMES.
      l_counter = l_counter + 1.
      CONCATENATE 'customer_exit_mons' l_counter INTO lv_text.
      CASE i_vnam.
        WHEN lv_text.
          IF i_step = 2.
            CONCATENATE lo_year lmon '01' INTO lv_startdate.
         **  Call a function module to arrive the enddate.
            CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
              EXPORTING
                day_in            = lv_startdate
              IMPORTING
                last_day_of_month = lv_enddate.
            l_s_range-low = lv_startdate.
            l_s_range-high = lv_enddate.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            CLEAR l_s_range.
          ENDIF.                                                "End IF
      ENDCASE.                                                  " End Case
      lmon = lmon + 1.
    ENDDO.                                                       " End of Do loop
    CLEAR: ln_value , lv_text .
    The problem is i am not getting the query ouput atleast not the query structure.Is there any other way to achieve this type of output.
    Note:--The text variable wil be based on 0calmonth.
               The custmer exit variables Jan-dec is based on 0calday.
    Edited by: shreyaJ on Nov 18, 2011 11:49 AM

    Hi crazymatts,
    Thanks for ur reply.
    There is no data in the text variable (0CALMONTH).
    But i think the structure atleast gets displayed in the output,am not gettin even that.
    And there is no reference characteristics on the text variable.Its a manual input variable which i will be using in my code.
    Thanks,
    Shreya J.
    Edited by: shreyaJ on Nov 23, 2011 8:12 AM

Maybe you are looking for

  • How can I close a remote front panel by closing only the browser window?

    I control a remote front panel in a browser (from the client PC). If I don't use the 'close' - button in my program to end the remote front panel, but instead of this the 'x' of the browser window (in the right bottom corner), my program won't be clo

  • My lumia 720 stops responding

    My Lumia 720 stops responding. This is happening frequently while unlocking screen or sometimes while doing some other task. This issue has come up after gettiing updates

  • Buyer Setup & Approval Escalations

    Hello, Need your help on the below issue: Today many people who have Standard PO & Blanket Release approval also have the ability to approve a Blanket Purchase Agreement. As per our business policy, we are separating Blanket Release approval (Materia

  • How to tell Adobe Media Player NOT remember played videos?

    Whenever I try to play videos, e.g. *.flv files. Adobe Media Player remember it. Steps to reproduce: 1. Launch Adobe Media Player 2. Click "My Favorites" on top menu. 3. Click "My Personal Videos" tab. Now, I have to remove them manually. I checked t

  • Condition class and calculation type missing for conditions downloaded from

    Hi All,   I have downloaded all the condition types from R/3 using dnl custcndall I have even downloaded the following using r3as dnl_cust_cnd dnl_cust_prc dnl_cust_price But I have noticed that for the downloaded condition types, condition class and