V3 Fiscvar to Calender months

Please see this scenario
I have data coming from my ODS into a cube. The data is based on periods (ie no date). My reporting requirements are monthly.
I woudl like to leave the ODS alone but create a time conversion from the update rules to convert from Period to Calender Month. I have tried using the FISCPER_CALMONTH in the update rules but i keep getting an error saying Formula element is not allowed here in the section where I put the year.
Is there any other way for this to be done?
I would also like the 4 special periods to be considered.
Thanks

Hi,
I donot understand why are you using the Year in that formula .You need to use <i>Fiscal year period</i> time characterstic (may be use need to use Fiscal year variant also) in that update rule formula.
With rgds,
Anil Kumar Sharma .P

Similar Messages

  • Display of calender month text instead of values in BEx report.

    Hi,
    I have calender months in the reporting columns, values of these reporting columns are dynamic in reports. We need to replace these values with text of the calender months. I have seen it at some places but do not remember how to do it now.
    Can some one has idea on this, will update on this post please.

    Hi
    if you want to display in columns along with the data then right click and select properties and the select the disply as Text .
    If you want to display in the header go the properties and in the header (Title area where u provide desxcription) instead of ur description enter the text variable &0T_CMONV& or you can select the text variable from the list .
    Regards
    Ram

  • Current Calender month in Varient

    Hi all,
    I'm running abap program where the input has Calender month (MM/YYYY).  So i have created the varient where this calender month selection will always be the current month whenever this program executes.   Say for eg. if i'm running today it is 02/2008, if im running next month it is 03/2008.  How can i define this in variant's Selection Variable.   The type of the calender month is char6.  the Calendar month is mandatory to execute this program, this to automate the process, as not to change variant values periodically each month.
    Thanks
    Sreedh

    hi,
    Step 1: Go to transaction SE38 to specify the Program name and select u2018Variantu2019 radio button and u2018Displayu2019.
    Then it will lead you to next screen u2018ABAP:Variants u2013Initial Screenu2019 as shown below: Specify the variant which needs to be created or changed. 
    Step2: Specify all those values which are static on the selection screen in this step. Then click u2018Variant Attributesu2019 to define selection variable for u2018Date Createdu2019 on the selection screen.
    Step 3: In this step, provide suitable meaning for the variant. As we need to define selection variable for u2018Date createdu2019 item on selection screen, check the box under L
    Step 4: In the previous step, select u2018Selection Variablesu2019 on the menu. It leads to the next screen as shown below. As we have decided to create selection variable for u2018Date createdu2019 item only, in this screen you get to see the variable as u2018Date createdu2019. Here you are provided with three options.
    T: Table variable from TVARV
    D: Dynamic Date Calculation
    B: User defined Variables. 
    From the provided options as per our requirement select u2018Du2019 option. This can be done by clicking the Traffic lights under u2018Du2019as shown below to know that the particular option is selected.
    Now click the black arrow  and you will be prompted with search help of different formulas for the selection variable.
    Step 5: Find the suitable formula as u2018Current date u2013 xxx, current date + yyyu2019 and select it. This will lead you to the next screen to enter the values for xxx and yyy. So, provide values as 15 for xxx and 0 for yyy. Save the variant and this will conclude the creation of dynamic variant with the help of selection variable. This variant can also be used in the background jobs.
    i tried pasting the link but some issue is ther..open google and type how to make dynamic variant in sap see the first result...its very useful

  • Derive quarters using Calender month range as input

    Hi Gurus,
    In a particular query, the mandatory input is 0calmonth range. Variable used is 0CALMONS.
    Users enters 24 months i.e 02/2006 - 02/2008 as an input and during runtime,Key figures data should display in quarters.
    I have 10 Key figures( Inventory) in Rows and calender/month in free chars.
    Can you please help me getting this?
    Plz tell me the steps from variable creation and writing code in cmod.
    Thanks in advance.
    Priya
    Sample format -
    Quarter -  Feb 2006 - Mar 2006          April 2006-June 2006       Jul2006-Sep - 2006 etc
    Inventory      100                                      50                                  100
    Projected     100                                      50                                    50
    Receipts       50                                     100                                    50

    Hi,
    I have added 0CALQUARTER to my cube and pulled that information into the report.
    Since I am pulling current Inventory information, I need only last month of that quarter information only.
    means, I want to display only March Inventoty in QRT1 and june Inventoty in QTR2
    How can I achieve that?
    Currently it is pulling this way...
    Ex:                   Jan       Feb     mar     Qtr 1   April           May        Jun     Qtr2
    Inventory             10       20        30       60         5                10        20        35
    But I wanted to have like this ..
    Ex:                   Jan       Feb     mar     Qtr 1   April           May        Jun     Qtr2
    Inventory             10       20        30       30         5                10        20        20
    Thanks for your help
    Priya

  • LOV custom sorting in prompts for calender month

    Hello Everyone,
    I want to do sorting in prompts in webi for Calender Month in the form (Jan,Feb,Mar....)
    Whereas, it comes alphabetically As (Apr,Aug and so on....) i want to know that can we find the solution for the same.
    I also want to know if yes can we do it in webi itself or we will have to do it on Information Design Tool?

    Hi Foram. I, too, am using HANA as my backend. Here's one way you can sort your data-driven prompts that appear in Web Intelligence:
    Open your business layer within the Information Design Tool.
    Verify that the column to be displayed in the Webi prompt (e.g., "Month") has been defined in your business layer.
    Select the "Parameters and Lists of Values" button.
    In the "List of Values" frame, press the down arrow and then select "List of values based on business layer objects".
    Give the the list an intuitive name; e.g., "Month LOV".
    On the Definition tab, press the "Edit Query..." button.
    Drag the column to be displayed in the Webi prompt (e.g, "Month") to the Result Objects frame.
    Press the "Sort dialog..." button.
    In the Sort dialog box, press the "Insert Sort Object" button.
    Select the column to sort on; e.g., "Month" and then press the OK button.
    Verify the sort type; e.g., "Ascending".
    Press the OK button.
    Press the Preview button to confirm the results.
    Save and publish the universe to your repository.
    Open your Webi report.
    Enter into Design mode.
    Open the Query Panel.
    Select the appropriate query.
    In the Query Filters frame, select the prompt (e.g., "Month") and press the "Show prompt properties" button.
    In the Prompt Properties dialog box, in the Prompt Properties frame, make sure "Prompt with List of Values" is selected.
    Press the OK button.
    Press the Close button.
    Press the Refresh button.
    Confirm that the prompt (e.g., "Month") is sorted properly.
    Hope this helps!
    Chris

  • Fiscal period to calender month FM

    Hi Friends,
        Is there any function module to pass the fiscal period and fiscal year value and get calender date, month and year.
    Thanks & Regards,
    Vallamuthu.m

    Hi,
    There are FMs for fetching first and last day of fiscal period.
    * This Function Module will get Start date based on the Period, Year and
    * Fiscal Year Variant
      CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = rlv_gjahr
          i_periv        = rlv_periv
          i_poper        = rlv_poper
        IMPORTING
          e_date         = lv_mfdate
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
    * This Function Nodule will get End date based on the Period, Year and
    * Fiscal Year Variant
      CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = rlv_gjahr
          i_periv        = rlv_periv
          i_poper        = rlv_poper
        IMPORTING
          e_date         = lv_mldate
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
    Ganga

  • Variable for calender month in BEX Query

    Hi all ,
    I am new to BI .
    Can any one please guide on how to create a month year variable that I can get calculated from a date..
    For Example
    if billing date is 01.02.2009 then my variable should have 02.2009 in Query   .
    Regards,
    Shashank

    Hi Shashank,
        You can achieve this by creating a customer exit variable for calendar month.
    Function module :
    READ TABLE i_t_var_range WITH KEY vnam = 'Date variable name ' INTO loc_var_range.
       IF sy-subrc = 0.
        year = loc_var_range-low(4).
        month = loc_var_range-low+4(2).
         CLEAR l_s_range.
         l_s_range-sign = 'I'.
         l_s_range-opt  = 'EQ'.
         CONCATENATE year month INTO l_s_range-low.
         APPEND l_s_range TO e_t_range.
       ENDIF.
    Hope this will help you. Let me know if you have any questions.
    Regards
    Suvarna

  • Forecast consumption within Calender month

    Hi,
    When the forecast is released from Demand Planning to Supply Planning (SNP) in weekly buckets there will be crossover of the forecast for the weeks that are in the Month end/Month Beginning, the week could fall into different months.
    Even though we restrict the forecast consumption to the calendar month, it could still be consuming some forecast in the weekly bucket that overlaps the end of one month and the beginning of the next month.
    How to overcome this problem. I need to restrict the consumption to present month, wheather the bucket is day or week.
    I already seen the post by Dan Hofstatter , its very useful for me. But still the above problem.
    http://wiki.sdn.sap.com/wiki/display/SCM/Forecastconsumptionwithinfiscalperiod(APO-DPwiki)
    Appreciate the response.
    Thanks
    Vinay

    Hello Ravi,
    thanks for the response. Infact this is what I expected. Maybe I will raise a feature request on that question 2 because from business side it sounds logically.
    Thanks,
    David.

  • Exit for replacing Calender month  with Calday

    Hi gurus,
    In my query  I have 2 key figures, key figure1 will work on Calday value entered by User . Key figure 2 is working on Calmonth value entered by User .Although the calmonth the user will have to enter will be the same one to which the calday would belong .
    To avoid the dupilcation and the chances of user entering mismatch day and month in the selection  I need to write an exit.Any help will be appreciated

    refer this doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a

  • Planning Values for past calender month

    Dear all
    My planned values for past month will be moved out of Planning version.Where can i view my planned values for the Product group and materials for the past months/year.
    S Anil

    HI
    You can check History of PIR through MD62 itself.Select particular row, Goto Menu, Select Item History(Shift +F6).
    Or
    You may pls execute transaction MD73.
    Plz select option "3 :History Planned ind reqmnts " in the display options and execute the report.
    Regards
    Anupam Sharma

  • Code to derive previous calender month based on System date

    Hi Exerts,
    I have a requirement to derive 0calmonth ( mmm.yyyy ) from System date in the update rule..in BW 3.5
    Can anyone post the code please? We need to consider 1st day of the year tooo..
    Thanks,
    DV
    Please do not dump your ABAP requirements here
    Edited by: Pravender on Mar 16, 2011 5:32 PM

    have a look at function module RSARCH_DATE_CONVERT

  • How to create a text variable for Calender Yr/Month depending on the prompt for calendar year

    Hi everyone
    Please assist on this issue:
    i have created a Bex report that has an offset for 12 months from the current calender month, i tried to use text variables to replace the calender months but i just learned now text variables from Bex dont work in BO, so I would like to create a prompt in BO to enter Calendar Year and then based on the input(Calender Year) the Webi report must display a 12 months for that Year.
    Please also indicate where exactly  i have to click in order to get that "Helpful icon "  when the my issues have been resolved, because i searched it and havent seen it anywhere on the communications
    Thanks in Advance
    Ole

    Hi Gill
    In BO I recieve my all months for existing data  and when i create a prompt for Calender Year the months in the report still has those text varibale for exampl if i enter 2011 on the prompt the text remains for the year that was already there wen i created my text variable... so its not dynamic.....
    So if i have text variables in Bex it will display like this in Webi in which it wont change if i put in 2011 as input for the prompt...

  • To show all months of qty values for each fiscal year in report?

    Our cube contains different fiscal years of order qty/delivered qty for a material (e.g. material A).  We use fiscal year variant V9 (Oct. - Sep).  We would like to generate the following query result to list the material, order qty, fiscal year, and then for each calender month, the delivered qty value for the corresponding fiscal year:
    Column title:
    Material --- Order Qty --- Fiscal Year --- Oct --- Nov --- Dec --- Jan --- Feb --- Mar --- Apr --- May --- Jun --- Jul --- Aug --- Sep
    Just give two rows of data for material A:
    1st row data example:
    A (material) --- 23 (Order Qty)  --- 2006 (fiscal year) --- 2 (delivered qty in Oct of the calendar year 2005 )  --- 4(delivered qty in Nov of the calendar year 2005 ) ---1 (delivered qty in Dec of the calendar year 2005 ) --- 5 (delivered qty in Jan of the calendar year 2006 ) --- .... 2 (delivered qty in Sep. of the calendar year 2006)
    2nd row data example:
    A (material) --- 45 (Order Qty)  --- 2007 (fiscal year) --- 3(delivered qty in Oct of the calendar year 2006 )  --- 6 (delivered qty in Nov of the calendar year 2006 ) ---1 (delivered qty in Dec of the calendar year 2006 ) --- 5 (delivered qty in Jan of the calendar year 2007 ) --- .... 2 (delivered qty in Sep. of the calendar year 2007)
    How to generate this query?
    Thanks!

    hi Chandran,
    Actually in each row data for material in different fiscal year, all the KFs in columns should be restricted to the fiscal year value.  What we do is to use selections other than structure or RKF.  What we is following listed in details that you can check if what we do is correct:
    Under KF structure:
    1. Create a selection for the 1st KF (Order Qty).  In this selection, Order Qty is restricted with the characteristic 0FISCYEAR.
    2. Create a formular as 2nd KF for the FY value.  This formula KF use the value of a formular variable with Replacement Path of the the characteristic 0FISCYEAR.  But somehow this KF value shows "X" values in this column.  We defined this Replacement Path variable with the Reference Characteristic as 0FISCYEAR and all others keep default.  But don't know why this column shows "X" values. We also add  0FISCYEAR to the row, and find the one does have data in the row.  Any idea why put it in formular variable onto column not working?
    3. Create a selecction for the 3rd KF (Oct). In this selection, restrict Delivered Qty with the characteristic 0CALMONTH2 (Calendar month) and further restrict 0CALMONTH2 to a fixed value: October
    4. Create a selecction for the 4th KF (Nov). In this selection, restrict Delivered Qty with the characteristic 0CALMONTH2 (Calendar month) and further restrict 0CALMONTH2 to a fixed value: November.
    Then the following steps are similar to step 3 and 4 to create all other Month columns.  We wonder in all these selections, would we have to restrict them further with 0FISCYEAR?
    Therefore we've got two questions:
    1. Why in step 2, the formular variable doesn't work and the FY column shows "X" values?
    2. Do we need to further restrict the delivered qty with the characteristic 0FISCYEAR for each month column which corresonding to the fiscal year in the same row?
    Thanks alot and we are keeping giving you reward points!

  • How to get the last day of a month?

    HI,
    I want to know how to get the last day of a month.
    In my JClient form, I tried to get it by using oracle.sql.Date method, that is:
    lastday=oracle.sql.Date anydate.lastDayOfMonth();
    But it does not work. The result is lastday=anydate.
    Why?
    Stephen

    You can use the Calender class...
    Calendar c = Calendar.getInstance();
    and then something like...
    c.add(c.MONTH, 1);
    int dayOfMonth = c.get(Calender.MONTH);
    c.add(c.DAY_OF_MONTH, - (dayOfMonth-1) );
    other usefull functions are:
    System.out.println(" YEAR : " + c.get(Calendar.YEAR));
    System.out.println(" MONTH : " + c.get(Calendar.MONTH));
    System.out.println(" DAY_OF_MONTH : " + c.get(Calendar.DAY_OF_MONTH));
    System.out.println(" DAY_OF_WEEK : " + c.get(Calendar.DAY_OF_WEEK));
    System.out.println(" DAY_OF_YEAR : " + c.get(Calendar.DAY_OF_YEAR));
    System.out.println(" WEEK_OF_YEAR : " + c.get(Calendar.WEEK_OF_YEAR));
    System.out.println(" WEEK_OF_MONTH : " + c.get(Calendar.WEEK_OF_MONTH));
    System.out.println(" DAY_OF_WEEK_IN_MONTH : " + c.get(Calendar.DAY_OF_WEEK_IN_MONTH));
    System.out.println(" HOUR : " + c.get(Calendar.HOUR));
    System.out.println(" AM_PM : " + c.get(Calendar.AM_PM));
    System.out.println(" HOUR_OF_DAY (24-hour): " + c.get(Calendar.HOUR_OF_DAY));
    System.out.println(" MINUTE : " + c.get(Calendar.MINUTE));
    System.out.println(" SECOND : " + c.get(Calendar.SECOND));
    System.out.println();*/

  • Last 6 months of data from current date

    Hi Experts,
    I have a requirement in WebI to display last 6 months of data based on current date.Actually I have a column called "Employee Contract Start date" in my report.Suppose the end user executes the report today,then he should be able to see the Employee's data whose contract started today and in the last 6months from current date.
    Also I have dimension object name "Employee Contract Start Date".
    Please be noted that I am getting the data from Bex Query and I am working on BO 4.1 version.
    I have Objects "Calender day" , "Cal.year/Month" , "Calender month" , "Employee Contract Start Date" in the BEx Query.
    Could anyone please propose me, what are the ways to meet this requirement?

    Hi Cris,
    We can get the 6 Months date in webi.
    Check the below blog , will help you.
    http://scn.sap.com/community/businessobjects-web-intelligence/blog/2014/01/21/time-variablesdimensions
    Regards,
    Javed

Maybe you are looking for