Text Variable for Current Cal Year

Hi Experts,
I am performing some Calculactions in the Columns (Key Figures) as Fourmula...
How can i name the Column with the Current Cal Year...
My requirment is to name the column as Column2009 (Current Year)....and in the next  year it should be
Column2010
Please advise me on Text Variable

Hi Raghu,
I followed the procedure you outlined
1. click on the key figure selection, where your are restricting the key figure with the customer exit variable.
2. Now you have "change selection" popup window.
3. In the description you have your key figure name. remove the description and write YTD &text_var_name&
4.keep you cursor on &text_var_name& and select &text_var_name& and then,
Beside "description" you will be able to see a variable ikon. click on that, from the contex menu of the variable ikon, choose the "change variable" option.
5.you will now see a 'change variable'' popup window.
6. give technical name text_var_name. description any thing.
7.in global settings, give type of variable "text"
8. processing type is "replacement path "
9.Reference char is "calmonth"
10. in the replacement path tab, in replacement rule, replace variable with "infoobject"
replace with - "external charecteristic value key"
11. use interval - select "from value" radio button.
12. give 4 for offset length.
13. save & ok.
But the end result i am expecting 2009 but the result i am getting 2009.05
But my requirment is to get 2009
Please advise me on how to proceed
Thanks

Similar Messages

  • Year To Date for Current Fiscal Year

    Hi All,
    I have installed BC variable Year To Date for Current Fiscal Year 0I_CFYTD..
    foloowing error occurs
    Variable 0I_CFYTD could not be replaced..
    Do i need to write any code or Please help.....

    Hi,
    Please check if fiscal year variant is used in the filter. Else the BC variable throws an error. Drag fiscal year variant to the filter area and set a value or variable input for the same.
    Regards,
    Satya

  • Text Variable for a Restricted Key Figure

    Hi,
    I have a version comparison query three Restricted Key figures based on 0QUANTITY each of which are restricted by Version, Value Type and Fiscal Year. All three are in my query columns. The users select 3 sets of version, value type and fiscal year in the selection for comparison.
    They want to see the text of the version they have selected as the description of the column. How can i achieve this with text variables on these 3 Restricted Key Figures which have multiple restrictions. Please advise
    Thanks
    Rashmi.

    Hi Rashimi,
    As u said this can be acheived by text Variable,
    I have adoubt here,are  there THREE columns for Quantity or just ONE column with three Restrictions.
    In case it is three Columns then u can go with Text variables else probably u may have to populate it in three Columns and by using Workbook you can combine them in one Column.....i.e One column with all the restrictions -text.
    And here is how u create a  text variable.....
    Create text Variables,For Example ,say 0FISCALYEAR.
    1)Right Click on the 0FISCALYEAR and Create a input Variable say YFISCYEAR and save.
    2)If ur using 0FISCALYEAR in the RKF,then drag both the 0FISCALYEAR and KF say 0QUANTITY in the new selection.
    3)After the Description of the RKF there is a = sign click on that to VIEW and CREATE Text variable.
    4)Create New Variable ,enter the tech name(say YFYEAR) and dscription and in the same screen choose type Replacement PAth after which u will get a set of infobjects.
    5)choose 0FISCALYEAR
    6)In the Next screen choose the Tech name of the Input variabble(0FISCALYEAR) and save.
    7)In the description of the RKF ,type as 0FISCALYEAR &YFYEAR&.
    Check this too .....
    /people/surendrakumarreddy.koduru/blog/2009/02/26/using-text-variables-with-customer-exits-in-report-headings
    rgds
    SVU123

  • Sap standard variable for currecnt calmonth & year

    hi
    please let me know any sap standrd variable for current month & year

    Hi,
    "OP_RTFPM-Current Month of Fiscal Year", this is also to give month only. If still be in searching just try for month.
    Thanks-RK

  • What varaible is best to use for current fiscal year.

    Hello all,
    I have few restricted key figures which need to be reported as "for current fiscal year" so which ios the best variable we can use for that.In the filter area I have fiscal year variant and comp code do I have to give users the input ready for fiscal year?
    Also then i need comparison between current and previous year for same RKF so I plan to offset the varaible by "-1" .
    Thanks

    It works for me Bhanu. Last I used that it gave me errors so was not sure.
    for YTD i dont see any variable in fiscal year am I looking at wrong place.
    can you suggest something
    Thanks

  • Crystal report formulas to view revenue for current & Previous Year

    Hi all,
    We have a requirement to create a formula in crystal reports to display the current month revenue and previous month revenue along with few dimensions and also current fiscal year revenue and previous year.
    For ex on SAp ecc table CE11000.
    Please provide the syntax for above requirement.
    Quick response is appreciated.
    Thanks.
    DJ

    HI AlunJD,
    Thanks for your quick turnaround.
    Here's the structure of table i have fields like Currency type,Document Number,Fiscal year , Company code,country, Countrygrp,Document type, Sales quantity & Revenue.
    My requirement is to display Revenue for current Fiscal Year and Previous Fiscal year and aswell as Current Month And previous month in the same report.
    Is there any functions to create a formula to display data on above mentioned logic.
    Thanks.
    DJ.

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

  • How to  Create  a selection variable for Fiscal period/year range

    How to  Create  a selection variable for Fiscal period/year range. The idea is to filter the query results using a fiscal period/year range user input rather than a full fiscal year input.

    Hi Priya,
    Open the query in a query designer -> in the left hand side you would find the fiscal year period under the time dimension -> right click -> create variable -> create the variable.
    The better option would be use any of the SAP provided variable. You would find them under the Fiscal year period in the left hand side in the query designer.
    Bye
    Dinesh

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

  • Text variable for Fiscal year/period

    Hi gurus,
    We are on BI 7.0 (PL 15). In G/L i am using the standard 0FISCPER text variable 0T_FPERF in the columns, which should e.g. produce the text "04.2008".
    However instead it displays "4  .0800". Adding Fiscal year/period 0FISCPER to drilldown shows a correct format in the rows "APR.2008", so the problem seems to be only with the text variables.
    I have checked on a reference 7.0 system where the same variable is working fine, so i assume that some fix must be available. Any hints as to what should be performed to correct this display error?
    Points will be rewarded.
    BR
    Morten

    Hello Jamspam,
    I had a similiar problem with indicators in BEX. I had an numerical indicator that displays me value in a very weird way.
    My solution was to upgrade my frontend, with SAP Business Explorer patch.
    Have you got the latest BEX patch (or others) on your frontend? No guarantees that will solve your case, but for me it worked
    Regards,
    Bruno

  • Text Variable for 0CALWEEK: On Structure with Calweek offset

    Good day
    Please assist? I have gone through numerous SDN threads relating to the following, but could not find a solution for my problem.
    1) User wants to see 16 weeks data in columns, each week in own column. I have created a structure for each week with offsets 0 to -16, 0 to -15 and so on to display data. User wants to '0' display even if no data was loaded for a certain week, thus the structure. The data is displayed for 16 weeks. Now I want to replace it with calendar week text. (I have used week 12 to test text variable. week 12 should be displayed as 'example' 2008/42)
    2) There are no calweek text variables available for selection, so I created a new one as 'replacement path', characteristic "Calendar year/week" and 'replace variable with "Name (Text)".
    2.1) The following is the result 12  &0DPM_WV1&. Not what I wanted.
    Where am I going wrong?
    Your assistance will as always, be appreciated.
    Thanks
    CJ

    You have to create 16 customer exit text variables and populate them in the RSR0001 Customer variable exit in i_step = 2.
    http://help.sap.com/saphelp_bw320/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_bw320/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm
    If you always run your query as of current system date and display 16 weeks data till current date, then u can use sy-datum in variable exit to populate these 16 text varaibles. If you are using a user entered calweek in the report varaible and displaying 16 weeks prior to that week in your report, then you need to read the user entered variable inside the customer exit and populate the texts for all 16 weeeks.
    Hope it helps!

  • How can you change text varaible for offset fiscal year

    Hello all,
    I am using variable for fiscal year (0P_GJAHR) and then I am using text varaible (&0T_FYEAR&) so that the fiscal year comes up in the key figure column.
    Now I am offsetting the fical year variable by -1 so that I can get comaprison between current year and previous year but the text varaible still shows the current year, how do you offset the text varaible by -1 ?
    Thanks in advance

    Yes Bhanu actually results pretty ok. I am inputting fiscal year as 2007 and so the offset is 2006. My cibe does not have data for 2007 so the first column is empty and I have data in 2nd (offset) column whic is right data for 2006.
    I will try what you suggested.
    Thanks
    Edited:
    When I say RKF, i created it on LHS and then when I am trying to offset what I do is basically do the restrict again for fiscal year when its on right hand side. I hope I am doing that right?
    Thanks
    Message was edited by: Raj M

  • Using Standard Text Variables for FYPERIOD in Report Title ?

    Hi,
    We have a requirement where the user input the variable 0fiscper to the query (001.2010). How to get the text value of that variable in the query description in the bex query ?
    For example user input, 008.2010. We need to get "Aug 2010 Sales values " where Sales values will be the report text. I want to get Aug (month) and year (2010) before the report title. I have searched in google and sdn and could not find any link, but found a doc for the column header text using the same variable. I have tried the same procedure and its just display the zvariable name and Sales value's instead of the label. Please advise.
    Thanks
    DR

    You can create a Text variable with replacement path of Fiscper as reference char. Select Key in details tab of replacing variable.
    If you are just getting technical name, then it is understood that it is not getting replaced.

  • Text variables for non-input ready variables

    I have a query with a structure in the Rows section.  The row structure contains three selections for different time periods.  Two of the time periods are based on non-input ready variables for Calendar Month.  The user will enter a calendar month and the other two selections will be based on the month that was inputted.  Since the time periods are dynamic, I need the text in the rows to reflect the appropriate Cal. Month value.  I have tried using a customer exit to define text variables but they are not working.  My text variables are called "CMON_TXT_D01" and "CMON_TXT_D02".  If the user selects 'Dec. 2010', the report would look like this
    Dec. 2010  => user inputs this value
    &CMON_TXT_D01&  => customer exit calculates -1 month back from inputted value
    &CMON_TXT_D01&  => customer exit calculates -2 month back from inputted value
    I need it to look like this if the inputted value was 'Dec. 2010'
    Dec. 2010
    Nov. 2010
    Oct. 2010
    I can get the text variable based on the input-ready variable to work but the two selections that are based on the non-input ready variables are not working.  Does anyone know how to get the text variables to work for the non-inpjut ready variables?
    Thanks.

    Hi,
    I would do it this way;
    1) Create a Row Structure
    2) Create Row Selection for Dec 2010 by restricting Cal. Mth. by the User Input Var
    3) Create Row Selection for Nov 2010 by restricting Cal. Mth. by the User Input Var with a Var Offset of -1
    4) Create Row Selection for Oct 2010 by restricting Cal. Mth. by the User Input Var with a Var Offset of -2
    5) Create a Text Var whose processing is by Replacement Path & choose Variable with the User Input Var under Replacement Path options
    6) Edit the Description of each of the 3 Row Selections to contain the Text Var in (5)
    7) The Text Var should automatically reflect the User Input selection & the offsets defined on the same in the Row Selection Captions
    --Priya

  • Function module to read customer balances for current fiscal year.

    Hi,
    Could anyone please tell me about the function module which would display the customer credit balances from the FD10n transaction code for teh current fiscal year. that means from july 2010 to july 2011.

    Hi,
    use the BAPI 'BAPI_AR_ACC_GETCURRENTBALANCE'
      CALL FUNCTION 'BAPI_AR_ACC_GETCURRENTBALANCE' "Closing balance of customer account in current fiscal year
      EXPORTING
        companycode =               " bapi3007_1-comp_code  Company code
        customer =                  " bapi3007_1-customer  Customer
      IMPORTING
        actual_balance =            " bapi3007_9    Carry forward balance and balance
        return =                    " bapireturn    Return Code
        .  "  BAPI_AR_ACC_GETCURRENTBALANCE
    This method provides a customer's balance for the current fiscal year.
    It displays both the balance of standard transactions and the total balance of standard transactions and all special general ledger transactions.
    Read the Documentation of the BAPI.
    Regards,
    Dhina..

Maybe you are looking for

  • Help! I upgraded to Mavericks and now Aperture won't open.

    It says "you can't open the application "Aperture" because it is not supported on this type of Mac.  I would never have upgraded if I had known I would lose Aperture. And I don't want to pay to upgrade Aperture.

  • How to select the inklist items in the active document?

    From the below code, i can get the inklist information. But i could not know how to select the spot(InkType.CUSTOMINK) color items in the illustrator activedocument. var docRef=app.activeDocument; var S1 = 0; for(i=docRef.inkList.length-1;i>=0;i--) v

  • Database in iOS App

    Hi, I'm trying to develop an iOS app but I'm not sure of what's the best option to store and manage data. My starting point is a MySQL database; I've already written the code to access my database (using PHP) and perform some analysis on the stored d

  • About configuring sales organization and sales office

    how can i create sales organization and sales office in SAP ??

  • Time Machine hung while intial backing up to external HD

    Hello all, I am trying to help a client here to do an intial back up with her Time Machine and external HD but it kept on hung up every time. Here's the picture: She have iMac 21.5" with Snow Leopard OS (10.6.8) connected to  2TB Seagate external hd