Text Variable (offsets)

Hi,
Please I will like to confirm if it is possible to make use of a variable offset in a text variable. How can I do this from the query designer ?
I have already restricted the charateristic with a variable and offset, but I'm not sure if this will automatically affect the text variable (of the same chracteristic) used in the description of the selection or whether it requires a text variable offset (??) to achieve this.
Any suggestions will be appreciated.
Regards,
Uche

hi Uchenna,
if you have created text variable (with replacement path from that characteristic), the offset on characteristic variable will reflect to the text variable, e.g
you have zyear with offset +1 and +2 and the year itself,
then your report may look like
zchar    2006 2007 2008
a        xx   xx   xx
b        xx   xx   xx
hope this helps.

Similar Messages

  • Cal year Text Variable Offset

    If you have a text variable based on 0CALYEAR say ZT_CAL as user input, can you have column headings based on an offset from the user input value? For example, the user inputs 2004 and I have 2 columns (current year and prior year). The current year shows up fine based on &ZT_CAL& but I can't make the prior year show up as 2003 using &ZT_CAL-1& or &ZT_CAL&-1.

    Your approach does not work since my key figures are not RKF separately restricted by time. I am familiar with replacement path text variables working with restrictions.See the following typical example from APO:
    Sales - Current year xxx
    Sales - 1 Year Ago xxx
    Sales - 2 years Ago xxx
    All 3 key figures have the same 0FISCYEAR value. So when I run the query I need for the first row (or column) to say Sales - 2004, the 2nd row to say Sales - 2003 etc. based on a variable input of 2004.

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

  • Setting offset in text variables

    Hi,
    I had a requirement to get the header values to be dynamically populated based on a value from the table.
    I need this value to be decremented locally for each and every column heading. Each column involves some calculations from RKFs . Is there any way to have the offset for text variable locally so that I can avoid writing code to populate each and every column header.
    Thank You for your help in advance.
    K.Manikandan.

    Hi,
    create your text variable with processing type of customer exit and NOT ready for input.
    In CMOD, code the following being given ZTEXT your text header showing the period and ZINPUT representing the variable input by the user
    DATA: loc_var_range LIKE rrrangeexit.
      WHEN 'ZTEXT'.
        IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZINPUT'.
            CLEAR l_s_range.
            "loc_var_range-low will be like 'yyyymm'
            CONCATENATE
                loc_var_range-low+4(2)
                loc_var_range-low(4)
            INTO  l_s_range-low.     
            l_s_range-sign     = 'I'.
            l_s_range-opt      = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    You can even make it nicer by doing something like mm.yyyy
            CONCATENATE
                loc_var_range-low+4(2)
                loc_var_range-low(4)
            INTO  l_s_range-low.    
    or anything else of your creativity
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • Is variable offsets can be used for characteristics, text and formulas?

    hi all,
    can anyone let me know whether variable offsets can be used for characteristics, text and formulas.
    if so cany one send me examples of using offsets to my email id [email protected]
    regds
    hari

    You use offsets on dates (0CALMONTH, 0FISCYEAR, 0DAT and so on) and of course the corresponding texts.
    If you have 0CALMONTH in your query and you want to do the same thing not only for the current month but for the past twelve months, they you just minus 1, 2....11,12 for each selections, and at the same time you can create text variable for the description of each month.
    thanks.
    Wond

  • Offset in Text variable

    I need to create a text variable to display the forecast for 2009 2010, 2011, I have successful created  one for 2009 by using replacement path, but I can not find how to offset the year like what we can do for regular year variable by using + 1 to get 2010 value, Anybody know hot to do it?
    Thanks,

    Hi,
    Use the following code to get Current Day and Current day-1 like that, here I'm giving for Calday, so based on your input, you can alter the following code.
    You cerate Text variables for 2009, 2010, i.e. current year, current year+1, current year +2 like that then alter the following code.
    ****Begin*****TO get the Date (TEXT VAR) based on ZCDAY Input variable***********
        WHEN 'ZT_DAY' .
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              l_s_range-low+0(2) = loc_var_range-low+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = loc_var_range-low+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = loc_var_range-low+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    ****End*****TO get the Date (TEXT VAR) based on ZCDAY Input variable***************
    ****Begin*****TO get the Date-1(TEXT VAR) based on ZCDAY Input variable***********
        WHEN 'ZT_DAY1' .
        DATA: ZT_DT1 TYPE SY-DATUM,
              ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
          CONCATENATE ZT_YR ZT_MT ZT_DY INTO ZT_DT1.  "YYYYMMDD
          CALL FUNCTION 'DATE_CREATE_2'
            EXPORTING
             i_datum_ein                   = ZT_DT1
             I_KZ_INCL_AUS                 = '1'
             I_KZ_INCL_EIN                 = '0'
             I_KZ_ULT_AUS                  = 'X'
             I_KZ_ULT_EIN                  = 'X'
             I_STGMETH                     = '0'
             I_SZBMETH                     = '0'
             I_TAGE                        =  0
           IMPORTING
             E_DATUM_AUS                   = ZT_DT2.
              l_s_range-low+0(2) = ZT_DT2+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = ZT_DT2+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = ZT_DT2+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    ****End*****TO get the Date-1 based on ZCDAY Input variable***********
    Thanks
    Reddy

  • Issue with text variable by replacement path

    Hello All
    I have a date field called ZDATE1 (it is based on 0DATE). I have used this this IO in a query and have create variables on it (ZSTARTDT and ZENDDT), Start and End date. And my KFs are based on these 2 dates: Quantity - Start Date & Quantity - End Date  / Product Value - Start Date & Product Value - End Date. Those are my descriptions for my KFs.
    Now, I want the replace the descriptions "Start Date and End Date" with the actual values that I am entering like 09/01/2010 and 09/10/2010. Ex: Quantity - 9/01/2010 & Quantity - 9/10/2010.
    Therefore, I create 2 Text Variables,
         1. ZSTART, Replacement Path, Ref Char (ZDATE1), Replace by Variable ZSTARTDT, with KEY, offset - blank
         2. ZEND, Replacement Path, Ref Char (ZDATE1), Replace by Variable ZENDDT,      with KEY, offset - blank
    And I put these text variables in the descriptions. But when I run the query, I still see: Quantity - &ZSTART& and Quantity - &ZEND&.
    Note that my ZDATE1 which is based on 0DATE does not have a master data table or text table; it is purely transaction data. Does that mean, my text replacement path variables wont work.
    Any suggestions??

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Text Variable with Replacement Path

    Hi,
    I want to create a report which will show me 5 years of data. I have used a variable for Fiscal year which will be given by the user. Now I created a 5 key figures with offset to show the 5 years of data. 
    I used a text variable with replacement path based on Fiscal Year, to display the year in the column heading. But I am only able to get the correct year in the first column. Rest of the column is showing me the same heading. Actually the offset is not working for the text variable.
    Can anybody let me know how could we achiev the column heading for the columns with offset.
    Thanks

    Prashanth,
    I have used a replacement variable in the exact situation. Instead of years, I have different months. I have used this variable on 0CALMONTH. I also have two more keyfigures where CALMONTH is offset by -12 and +1.
    This variable works perfectly for me as expected.
    Did you check the data to make sure that your offset is working? This is was I did for Offsetting and i am sure you have done the same thing.
    Right click on the variable, "restrict". A window opens with the values. With the variable selected in the right side, right click "Specify Variable Offsets". If the replacement variable is built on this infoObject, it should work.
    Hope it helps. Let me know if you still can not find a solution.

  • Replacement path with text variable

    Hi experts,
    My client requirement is " when he enters the current year or current day then it should display the Description of that particular year r month r day."
    Can anyone explain me in detail how to create replacement path with text variable on FISCAL YEAR?
    Hope will solve my issue soon.
    Thanks in advance
    Jani Sk.

    Hi,
       goto the properties of your KF and click on the variable button side to that of the description field and click on new/Create option.Enter the technical name description for the text variable and select Replacement path as the Processing type and in the nxt screen select Fiscal year as the replacement variable and in nxt screen  specify as Key and provide offset values if necessary and click on finish.now select the variable by clickin on the variable button next to the description field.it comes after the description of the KF.Now run the query.
    Thanks,
    Sandeep

  • Error in Display of Text variable

    Hello gurus,
    I have a requirement in which power user wants to see the output as follows :
    Product sold of Current year for months --- to -
         /  Product Sold of Previous year for months --- to -
    So if on Selection screen ,user enters months 01/2005- 05/2005
    it should show the
    Product sold for 01/2005-05/2005  / Product sold for 01/2004-05/2004
    So i created 2 text variables one for start period and second for ending period.
    I included this in the display of 1st column.
    It is coming perfectly.
    Now how shall i include or do this for 2nd column.
    In second column i just set the offsets value so data is coming right
    If i restrict those with time chara.
    But in display of 2nd column ,
    WHAT SETTINGS I DO FOR TEXT VARIABLES.
    plust the requirement is that.
    User shall enter the Value of range of months only ONCE.

    Hi Noviced
    1.  Create a variable having user input enabled for calmonth range.
    2. Create a customer exit variable
    3. Restrict one KF with this cust exit variable and one with user input variable
    4. Cust exit variable will give the value of previous year months.
    5. Write the code in CMOD under ur project
    DATA: loc_var_range LIKE rrrangeexit,
                 l_s_range   LIKE rrrangesid.  "Header line for E_T_RANGE for export
    WHEN 'ZTEXT'.
    IF i_step = 2.
    READ TABLE  i_t_var_range INTO loc_var_range WITH KEY  vnam = 'ZINPUT'.
    v_year = loc_var_range-low+0(4).               " Take the year
    v_month_start = loc_var_range-low+4(2) . " Take the starting month
    v_month_end = loc_var_range-high+4(2).   " Take the ending month
    v_year = v_year - 1.
    CONCATENATE v_year v_month_start INTO l_s_range-low.
    CONCATENATE v_year v_month_end  INTO l_s_range-high.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    Thanks
    Tripple k

  • Using Text Variable in BEx Formula

    Hi Everyone,
    I have two columns in BEx query. First column shows the value based on variable ZFISCPER_M(based on fiscal year/period).
    The other column shows the value for period ZFISCPER_M minus 1 (I have used offset in variable).
    So if my user inputs 009.2009, the first column will show values for 009.2009 and 2nd column will show values for 008.2009.
    In the third column I have formula : 2nd column minus 1st column. I want to use text variable to display column heading. The heading in the 3rd column should be 009.2009.
    Can anyone guide me how to achieve this?
    Regards
    Utpal

    Hi Rakesh,
    My first column shows cumulative balance upto 009.2009; My second column shows the cumulative balance upto 008.2009; In the third column I am trying to display balance for the month - not the cumulative figure. So for the third column my heading should be For the month 009.2009
    But when I substract col 2 - col 1in third column; the text variable finds two different values(009.2009 & 008.2009). Hence it is not displaying any text.
    I hope this makes my question clear.
    Regards
    Utpal

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

  • How to Create a Text Variable

    Hi Experts...
    Can you please explain me how to create a Text variable...
    In my Cube i had 3 different date fields....
    and as per my requirment i need to create a rolling report for which will display data for 6 months rolling.
    As the date field which i need to use is not mapped to Time Char's (Cal Year,Cal Month...etc)
    For that reason i created below customer exit variable and used offset variables to achieve the rolling 6 months report
    Code used for Customer Exit VAriable:
    WHEN 'ZC_Cmonth1'. " Current Cal Month Car Expiry
    IF i_step = 2.
          CLEAR l_s_range.
    determine date
        LV_SYDAT     =  SY-DATUM.
        LV_YEAR_ACT  =  SY-DATUM+0(4).
        LV_MONTH_ACT =  SY-DATUM+4(2).
    Set begin date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '01' INTO LV_DATE_LOW.
    Set end date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '31' INTO LV_DATE_HIGH.
    Fill ranges-tab with: include all values between beginning of year
    and actual date
      CLEAR E_T_RANGE.
      CLEAR L_S_RANGE.
      L_S_RANGE-SIGN = 'I'.
      L_S_RANGE-OPT  = 'BT'.
      L_S_RANGE-LOW  = LV_DATE_LOW.
      L_S_RANGE-HIGH = LV_DATE_HIGH.
      APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    Now i need to create TEXT VARIABLE that will display the Month Name in the column name
    Please update in detail step how to create a Text Variable

    In your specific requirement select the which ever the keyfigure you want  to analyse, go to edit mode of keyfigure propeties there select the newvariable type and create the Text variable by maintaining the proper offset start and length and also maintain the in whcih format u want see the month name in column headers. Maintain the Text format or key format. it totally depends on u r requirement.
    Hope it will help ful for u.
    Bye,
    Chandu.

  • How to get the Text variables in the Columns Headings

    Hi,
         My requirement is I need to get data for weekly wise and for the last 10 weeks also. For this purpose I used the restricted KF based on the variables (customer exit) and offset. Also used the text variable for displaying from and to days in the column headings. I am getting the right text for the first column only. But the text offset is not considering.
    Ex 07/04/2007 to 07/10/2007      06/27/2007 to 07/03/2007 like that.
    I used the two text variables one for from data and other for to date using the customer exit. I am getting the same text as of the first column for the subsequent columns also. Please help me for getting the right text in the columns.
    Thanks,
    visu

    Hello ,
               The quite simple way is to create a text variable with replacement path , as it replaces the value of customer exit used in the report.
    create two text variables
    First variable:
    1 Replace variable with -
    external characteristic key value
    For interval use ---from value
    2.Secod text variable
    Replace variable with -
    external characteristic key value
    For interval use ---To value
    offset start -0000 offset length0000
    use these variables in the column headings.
    hope it is clear,
    assign points if useful

  • Variable offset for date - a year ago

    I have this sales report with the following columns:
    1. Current Day Sales
    2. Month to Date Sales (this Year)
    3. Month to Date Sales (last Year)
    I'm using a range variable for 0CALDAY for column 2 (Month to Date Sales this year).  i'm having problem with column 3.  how is it possible such that the date is automatically assigned to last year's values?  using offset would mean -365, however, this may not work during leap years?
    please help

    Hi,
    Refer the 'Examples for using Variables' in 'Bex Query designer' of sap help..
    Examples for Offset Variables
    You want to use a query to carry out a comparison of two years.
    Year Comparison
    You want to compare the costs of a year of your choice with the costs of the previous year.
           1.      In the Query Designer, create a new structure and add a new Selection for each year that you require.
           2.      Only use one key figure (for example revenue) in this example query. Add this key figure to the filter or add it to the selection.
           3.      Use a characteristic value variable for the characteristic Calendar Year (0CALYEAR):
    Select the characteristic value variables for Calendar Year and, from the context menu (right mouse click), choose New Variables. The Variables Wizard appears.
    If you always want to reference to the current year automatically, use the SAP Exit variable 0CALYEAR (or as appropriate for another time characteristic).
           4.      Move the defined characteristic value variable into the selection.
           5.      Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
                                a.      Select the characteristic value variable and from the context menu, choose Enter Variable Offsets.
                                b.      Enter –1 as the offset and choose OK.
           6.      Choose OK.
           7.      Enter a description.
    Example: Use the name of the key figure, for example, revenue, for the name and use a text variable for the name of the calendar year. See Using Text Variables.
    When creating a new text variable, enter Replacement Path as the processing type, and choose calendar year 0CALYEAR as the characteristic with display as key.
           8.      Create a second selection with the same characteristic value variable and do not set an offset here.
    Also use a text variable in the description in this case.
           9.      Move the required characteristic into the rows.
       10.      Save the query.
    After execution, the query should appear as follows:
    Variable screen entry: 2002 (or no entry when using the SAP Exit Variable).
    Year Comparison
    A characteristic
    Revenue 2001
    Revenue 2002
    Value 1
    100.000
      90.000
    Value 2
    200.000
    180.000
    Value 3
    300.000
    400.000
    Comparison with Cumulative Previous Year Period
    For example: You want to compare the periods 1-8 of a particular year with the same periods for the previous year.
           1.      Create a new structure in the Query Designer and add a new Selection.
           2.      Move a key figure, for example, Revenue, into the selection.
           3.      Use a characteristic value variable for the characteristic Fiscal Year/Period (0FISCPER):
    Select the characteristic value variables for Fiscal Year/Period and from the context menu, choose New Variable. The Variables Wizard appears.
    Use the SAP Exit variable Current Fiscal Year/Period (0FPER) if you always want to reference to the current year.  If you set the variable as entry-ready in the Variable Editor, after executing the query, the variable screen then appears with which you can change the default values were necessary.
           4.      Move the characteristic value variable, such as OFPER, into the selection.
           5.      Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
           6.      Under Selection, choose Value Area and choose the tab page Variables.
           7.      Add the characteristic value variable, for example 0FPER, to the selection once again for the second value of the interval.
           8.      Select the characteristic value variable and from the context menu, choose Enter Variable Offsets.
                                a.      As an offset, enter -3 as the from value and 0 as the to value. Choose OK.
                                b.      Choose OK.
           9.      Enter a description, such as Revenue for current year.
       10.      Choose OK.
       11.      Select the selection and from the context menu, choose Copy and then Paste.
       12.      Now select the second selection and from the context menu, choose Edit.
       13.      Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
       14.      Select the characteristic value variable again and from the context menu (the right hand button), choose Enter Variable Offsets.
                                a.      As an offset, enter -15 as the from value and -12 as the to value. Choose OK.
                                b.      Choose OK.
       15.      Enter a description, for example Revenue for previous year.
    Also use a text variable in the description in this case.
       16.      Choose OK.
       17.      Move the required characteristic into the rows.
       18.      Save the query.
    After execution, the query should appear as follows:
    Variable screen entry: 01. 2002 to 08. 2002
    Comparison with Cumulative Previous Year Period
    A characteristic
    Revenue 01. – 08. 2001
    Revenue 01. – 08. 2002
    Value 1
    100.000
      90.000
    Value 2
    200.000
    180.000
    Value 3
    300.000
    400.000
    Two text variables replaced with characteristic values were used for the descriptions here. One is filled with the from-value for the column with an offset of 0 and a length of 3, the other filled with the to-value with an offset of 0 and a length of 7. You can find additional information under Example for Variable Replacement.
    Comparison of Cumulated Values for Two Years
    You may want to compare the cumulated values up to the current period of the current year with those of the previous year.
    For this example, use the variable 0FPER (current fiscal year period) and the variable 0P_FPER (your chosen fiscal year period). You use these two variables to set the interval limits.
           1.      In the Query Designer, create a structure with two selections:
    ¡        1. selection: Cumulative Amount for current year
    ¡        2. selection: Cumulative amount for previous year
           2.      With the first selection (cumulative amount for current year) , move the time characteristic 0FISCPER into the selection and select it.
           3.      Choose Restrict from the context menu (right mouse click).
           4.      Choose Value Area between as the selection and go to the tab page Variables.
           5.      Double click to choose the variable 0P_FPER as the from value and variable 0FPER as the to value. The result is an interval from the chosen period to the current period.
           6.      Define the second selection (cumulative amount for previous year) and proceed as for the first selection.
    ¡        Add the variable 0P_FPER as the from value and variable 0FPER as the to value here.
    ¡        Set an offset of –12 for both the from and the to values:
    Select the interval and from the context menu (right click), choose Enter Variable Offsets. Enter –12 for each.
    The result is an interval that has been moved 12 periods ahead.
           7.      Add the key figures and additional characteristics for the query.
    After executing the query, you get a variable screen for the variable 0P_FPER. You need to enter the start period in the current fiscal year.
    You can also suppress this entry by deactivating the indicator Entry-ready in the Variable Editor for the variable 0P_FPER and entering a default value (for example, 001.2001 for 2001). You only have to change this value once per year.
    You have now defined a query that compares the cumulative values for two years.
    The variables with SAP Exit delivered by SAP have the following behaviors:
    Variable 0FPER (current fiscal year period): Displays the values of the current fiscal year period.
    Variable 0P_FPER (any fiscal year period): Displays the values of any fiscal year period. You can set the fiscal year period in the variable screen when executing the query in any way you require.
    Variable 0FYTCFP (fiscal year up to current fiscal year period): Displays the values of the first period up to the current period of the current fiscal year.
    Variable 0FYTLFP (fiscal year up to previous fiscal year period): Displays the values of the first period up to the previous period (current period –1).
    You need to use the variables 0FPER and 0P_FPER in the above example for the comparison of cumulative values for two years.  When using the variables 0FYTCFP and 0FYTLFP, only values for one month are displayed for year transitions with an offset of –12.
    Regards,
    Prema

Maybe you are looking for

  • Creating a combined timeline based on several timelines in several tables

    Hi, I need to extract a timeline for a customer based on valid_from and valid_to dates in several tables. For example: I have a table named customers with an id, a valid_from and a valid_to date and a table named contracts with an contrat_name, custo

  • Notebook returned from "HP Support" with dvr missing and will not power on

    I had originally called in to support to ask them to help me stop the automatic update from Windoze 8 to Windoze 8.1 and to also shut off the reminder notices about that.  Tech support supposedly walked me through that, but after that, the next time

  • How do I remove a book from my iTunes mac library without a trace that i have ever had it?

    I have a book that I would no longer like in my iBooks lbrary because I want my library full of thingsI only want to read. I want to delete a book, but when I right click it there is no "remove" option. Can someone please help me?

  • Backing up iTunes Library

    Excuse me if this is a duplicate.  This web page, took my entire question with details, when I click post, said there was an error and deleted it.  I think.  I can't find it. I am trying to understand doing back ups and restores of the iTunes library

  • About credit memo

    sir when i am creating credit memo after Releasing Credit Memo to Billing the amount  the accounting  is not created how to slove this error regrads senthilkumar