Interval variable

We have created an interval variable for fiscal year and one for period.  Both are processed by customer exit.  these variables have a from and to field which values are defaulted in.  They work when executed in BEx, but when they are executed in the web the To field shows no value.
Anyone know if there is an Oss note to fix this or if anyone knows how to fix this?
help is appreciated.

Try executing in the debug mode from RSRT2 and after setting a break point in the user exit. You will be able to see whether the value from derived from the exit is assigned to the variable.
Thanks.

Similar Messages

  • Fixed length time interval variable

    Hello experts,
    I would like to define a time interval variable between a start date (entered by the user) and end date which is exactly 12 periods after the start date (the system somehow calculates the end date = start date + 12).
    The same principle should be used for different periods such as day, week, month. For instance for a calendar day variable it should calculate the end date = start date + 12 days, for a calendar week start date = start date + 12 weeks etc.
    How such behaviour with a variable could be achieved ?
    Thanks in advance
    Rado

    Hi,
    Just create a variable ZCDATE of user exit type and code in the exit ZXRSRU01 to populate it.
    DATA: ZE_T_RANGE TYPE RSR_T_RANGESID WITH HEADER LINE.
    Current date
        when 'ZCDATE'.  " Your Variable
          IF I_STEP = 2.
            ZE_T_RANGE-SIGN    = 'I'.
            ZE_T_RANGE-OPT     = 'EQ'.
            ZE_T_RANGE-LOW     = SY-DATUM.
            APPEND ZE_T_RANGE TO E_T_RANGE.
            clear ZE_T_RANGE.
          ENDIF.
    Thanks,
    Debasish

  • Allowing customer exit interval variables to be "Ready for Input"

    Hi BI fans,
    I am looking to construct a Pie Chart where the default view will show the Year-To-Date data. At present, we are utilizing a customer exit variable (from the 0FISCPER characteristic) to carry out this task.
    It is also required, however, to allow the user to manually adjust the start <u><b>and</b></u> end date of this period. Is it possible to have a customer exit interval variable which will allow the user to modify the start and end date – and thus facilitate specified time periods?
    I look forward to hearing from you,

    Hi
    Use a BI Content variable like 0I_CFYTD - Year to Date For Current Fiscal Yearm, this variable is a interval variable and will default from fiscal period 1 to the current period.
    If you edit the variable and set it to ready to input then when you run the report at the variable screen you can change the period on which you want to report.
    hope this helps

  • Interval Variable in Arcplan

    Hi,
    I'm creating a report in Arcplan based on a BEx query. There is an interval variable in the query so how will i achieve the same functionality in Arcplan??

    what is this arcplan? let me know your issue in more detail.
    thanks,
    mahantesh

  • Display interval variables value in BeX

    Hello Gurus,
    I am using Bex BI 7.0 to build my reports. I can't see how to display the value of variable values I have selected in the beginning of the query.
    To clarify with an example I want to choose the period from January to March and to display this selection in the report I have built.
    The only way I was thinking about was to create a Text variable to display in the title of the query but I noticed it displays only single value and don't manage interval like these.
    Is there any other tricks?
    Thanks in advance
    Massimo

    Very good Jaya. I have solved my problem and I rewarded it. The only problem that still remains with this feature is that in a query I use a filtered key figure to obtain cumulated value for period. The "from period" is fixed (january) and the "to period" is given by my period variable.
    I noticed that in this case the text variable return me no value. Is there any another trick to manage text variable in filtered key figure like that?
    Regars
    Massimo

  • Restricted Key Figure with interval variable

    Hi,
    I've a restricted key figure for KF 0AMOUNT restricted by 0FISCPER. There is a variable restriction on 0FISCPER which determines the period interval in customer exit.
    e.g. 001.2008 to 009.2008
    The problem is, in query this RKF is returning only the values for period 009.2008. It should return the total for all the periods.
    Can you tell me what could be missing?
    Regards,
    Amit

    Hi Amit,
    please check the cutomer exit, as the range might not be properly defined in the exit.
    Firstly check if the variable is defined as range or single value, and if defined as range please check the below mentioned lines in the exit:
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    as they stand for:
    SIGN     (I)ncluding [ ] or (E)xcluding ] [
    OPT     Operators: EQ =, BT [ ], LE <=, LT <, GE >=, GT >, CP, and so on.
    hope it helps
    Regards,
    Umesh

  • Sample interval variability

    The attached vi is used to sample eight analogue channels at an interval of 31,250microseconds or 32Hz with a cRIO-9074. When I look at the data file there is a sampling interval variation of up to plus or minus ~150microseconds but when I monitor the output from DIO7, which gives a 12msec pulse for every acquisition, with a counter/timer,  the variation is ~1microsecond.
    Could somebody suggest why there is such a difference and what measures could be taken to reduce the sampling rate variation.
    Best regards,
    nos
    Attachments:
    sample data 13 [marina].vi ‏71 KB

    Thank you for your response. With regard to your questions see below.
    I assume that when looking at the data file, you're using the timestamp to work out the interval?
    That is correct, see attached Excel file; the included plot works out the variability by subtracting the actual sampling interval from the desired interval and plotting the results against sample number.
    I would therefore expect a relatively large variation, especially if you are looking at the microsecond scale (and I also assume you are running the code in Windows, not RTOS).
    The code is running on the cRIO-9074 and uses a timed loop that is synchronised with the Scan Engine.
    Do you need an absolute time? If you are only after interval timing, use the Tick Count (ms), this will give you a more accurate reading.
    Absolute time is not required; as shown in the attached file the first data sample should have a time stamp of zero, with each successive sample incrementing by the sampling interval.
    Best regards,
    nos
    Attachments:
    data file 1.xlsx ‏259 KB

  • Cummulative last 3 months of each month from Calmonth Interval variable

    Hi,
      we have one complex scenario where we have to display dispatch quantity against the Calendar Month (user input variable).
    for example if user enters; FROM:  january 2009  TO:  march 2009, the dispatch quantity should be calculated as cummulative of last 3 months of each month as follows;
    (jan 2009Dec 2008Nov 2008)(Feb 2009Jan 2009Dec 2008)(Ma 2009feb 2009jan 2009)
    the same way we need calculate cummulative last 24 & 36 months for each month from user entry.
    Thanks,
    Janapati N

    Hi,
    Thanks for you replay and documentation, but it doesn't give me excatly the functionality I'm after. The only MTD calculation code the document provides is the calculation of the following functionality:
    "Month to Date (MTD) u2013 From the 1st of month to u201CKey Dateu201D - for current year." This doesn't give the the functionality I want, which is to retrieve a given vaule for a Key Figure for the last dates of the months in a year to calculate MTD and YTD.
    This way I have created the query is to have multiple hidden Key Figures that calculates the MTD and YTD.
    In Columns in Query Designer it will look something like this:
    Selection: MTD January--> Date = 31.01.2008, Key Figure (Always Show)
    Selection: YTD January --> Date= 31.01.2008, Key Figure (Always Show)
    Selection: MTD February --> Date= 29.02.2008, Key Figure (Always Hide)
    Formula: MTD February --> MTD February - MTD January (Always Show)
    Selection YTD February --> Date = 29.02.2008, Key Figure (Always Show)
    And so on....
    This is off course a simplified version, but it shows the core of the solution. What I want to achive here is that the dates used to get the Key Figures (last date of a month) is calculated as flexible as possible, so that the users can go back and forth in time without worrying about the leap year problem and so on. I have now used an offset from the last date of last year and this is good for all the normal years, but when it is a leap year the query will use wrong dates to get the key figure vaule for the last date of each month.
    Any ideas on how to achieve this without creating 12 different Customer Exit variables (one for each end date of each month)?
    Thanks
    Regards
    Oddmar Lid

  • Interval variable for Calendar Day

    Hi Experts,
    Please help!
    We are working with CE VC 7.2, our model has an input form to a variable on calendar day (data source: BI Query).  We would like to input a date range using a from and to date picker. 
    How do we populate the values from the date from and date to - there used to be a value help option on BI variables in 7.0 - however, we don't see this option anymore on 7.2.  Is there another way to do this. 
    Please advise.
    Thanks, Anna

    HI,
    I am working on CE 7.1 version and in this if you take the "Date From" and "Date To" variables are as of type "DATE" while defining the data, it will show up as date fileds attached to input box.
    you can directly enter date and/or you can select the date by clicking on date picker.
    I am sorry if it is not like this in 7.2, I can not test also
    PradeeP

  • Calculating the difference for 2 values by  using an Interval variable year

    Hi Gurus,
    i created a report with one KF using a variable year intervall.
    By selecting for e.g intervall [2003-2005] (the intervall is not fix) the report display KF 2003, KF 2004, KF2005.
    Now i will like that the report shows dynamically:
    KF 2003, KF 2004 = Value of 2004- Value of 2003, KF 2005 = Value of 2005- Value of 2004.
    I have only Frontend Access.
    Any idea how to do this?

    Hello
    I found a solution for your problem but this solution will work only if your third group contain the client number.
    So I hope this will work for you.
    - You have to go in your third group and create a summary column. This column will calculate the total of 'total lease' in source property and reset at 'client number'
    - After, you create another summary colunm. This column will calculate the total of 'Lease Paid' in source property and reset at 'client number'
    - You create a formula column and you write down this formula:
    function CF_1Formula return Number is
    temp_num number;
    begin
    temp_num := :cs_2(lease paid) - :cs_1 (total lease);
    return(temp_num);
    end;
    And after, on your report, you create a text with this formula as source and you put it in the right group.
    Hope this will help you
    Karine

  • Key Date variable; Interval in query properties for Time Dep. Masterdata

    Hi,
    I've been searching on the forum, and I think I know the answer already, but still I'd like
    to ask you all whether it's possible to create a Key Date Interval variable to be used in the query properties.
    As far as I can see you can only report by a single key date used in the query properties field for time dependant masterdata, but my customer has asked me to investigate the possibility to enter a date range.
    As all masterdata is time dependant I don't see how this would work, but if someone can shine a light on this maybe there is a solution available?
    Thanks for your help.
    M.

    Hi marc
    I understand your problem.
    I had an idea for a workaround.
    If you can create master data compounded with Valid from and Valid to both of these characteristics , how the query is computing
    the keyfigures.
    Every change in valid from or valid to is unique for the system in this case.
    Thanks
    N.Ganesh

  • Looking for Calendar functionality for a Date Variable

    Hi Experts,
    Currently iam creating a WEBI Report where the source system is SAP BI System. I have a BEx Query with some characteristics at the row level and keyfigures at the column level. I have a Date Interval Variable (Based on 0DATE and optional), where the user will input the From and To date to execute the query. I have created the universe on top of this query, but date inteval variable appears as a character in the form of LOV. When i use this universe and buid the report in WEBI, the User Prompt for date is appearing as List of date values for this date interval variable, where as my requirement is to have date calendar for this date interval variable.
    I did some r&d on top of this, when the date varibale as single value and optional, iam able to get the date calendar, but when i use the Date interval Varibale it takes as a character. I searched the forum, but i didn't find any solution.
    Is it possible to have a date calendar for a date interval variable in BEx?? or its is only for single value date varibale.
    Kindly suggest
    Regards
    Santosh

    Hi,
    you stated it correctly that the calendar shows up in case of a keydate and in case of a single value but not in case of a range.
    in addition the underlying characteristic needs to be type DATS
    Ingo
    Edited by: Ingo Hilgefort on Dec 8, 2009 1:35 PM

  • Line By Line with adjustable interval....

    hello...I'm going to be straight forward...I'm a noob and I have been charged with a task which is a bit over my head. I'm not looking for anyone to do anything for me (i.e. sample code)...I'm really only here for pointers..
    My task is to implement a timer feature into buffered reader. basically I'm using a class which converts CSV to XML and I need to change it so that I am able to set a timer (basically) for how long the buffered reader object goes to the next line in the CSV file.
    Am I barking up the right tree?

    I'm working with a collection of classes. One which handles a user editable properties/config file...I plan to add a time interval variable to pass to a timer function later...I guess my real issue is this:
    There are two other classes, one which stores single records of the CSV file in an array, and then another class which compiles all of the records into a larger array organized by an XML template in the config file I mentioned earlier.
    My guess is that I need to put a timer function in the class which feeds the single records to the class which compiles all of the records and reorganizes them (just to prevent them from being made into an xml file all at once...because the end-user wants the xml file to slowly grow so the data can be tracked by a custom app on their end) The class I need to alter is feeding the records from the csv file to another class...is there any way to change the size of a buffered writer by way of a user determined variable?

  • How to get the current month for a variable based on info object 0FISCPER3

    Hie Gurus
    I am working on the financial reports i am failing to derive the Current month from the variable based on infobject 0FISCPER3 PERIOD .
    I would also like to get the same month from the prevoius year. Any ideas?

    If I understood correctly, you need in your repot
    Current Month Plan This year || YTD Plan This Year || Current Month Plan Last Year || YTD Plan Last Year
    Your variable 0I_FISCPER3 must be on the object 0FISCPER3 which is nothing but just the Fiscal Period. This variable is a user entry mandatory Interval variable.
    if you are entering a range in the input screen for this variable, you will get cumulative values. If you just need to get the value for a month in first column your report, you will have to create another variable of type Customer Exit which will read the "To value" entered for the variable 0I_FISCPER3 and columns for Current Month should be restricted on this variable.
    if you are entering a single value in the selection screen of this variable, current month column should be restricted on this variable with "Equal To" operation and YTD colmns should be restricted to "Less Than Equal to" operator with this variable.
    0FISCPER3 just have posting period and not year, so you will have to use varialbes for 0FISCYEAR separately.
    Please let us know if it helps or if you are using some other variable based on 0FISCPER3 or 0FISCPER.
    Regards,
    Gaurav

  • Customer Exit Variable on Cal Year/Month Error

    Hi Experts
    My requirment is to develop a Restricted Keyfigure...
    The restriction is based on 0Calmonth (Calendar Year/Month)
    The sales from beginning of calendar year up to last "closed" month in a Calendar.
    Ex: in June i want to see 01.01.2009 to 31.05.2009 data.
    in October i want to see 01.01.2009 to 30.09.2009 data.
    When user execute the report
    in Jan 2010 i want to see 0 as there is no closed month in that particular year.
    in Fed 2010 i want to see 01.01.2010 to 31.01.2010 data.
    For that purpose i created a variable
    Customer Exit on calendar Year/Month
    Variable represents : Interval
    Variable is : Mandatory
    Variable is Ready for Input (Uncheck)
    in CMOD...i had written The below Code
    WHEN 'ZYCCM' . "Current Year Culm. to Last Closed Month
    DATA :Month(2) type c,
    Start_Month like rsd_c_timnm-calmonth,
    End_Month like rsd_c_timnm-calmonth.
    Month = sy-datum+4(2).
    if Month = '01'.
    Start_Month = '000000'.
    End_Month = '000000'.
    Else.
    concatenate sy-datum(4)'01' into Start_Month.
    End_Month = sy-datum(6) - 1.
    Endif.
    CLEAR L_S_RANGE.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    L_S_RANGE-LOW = Start_Month.
    L_S_RANGE-HIGH = End_Month.
    When i execute the report i am getting an error
    "No Value Could be determined for Variable ZYCCM"
    Please update what went wrong and how to Correct error

    Hi
    Thanks for the update..
    Modified code as below
    WHEN 'ZYCCM' . "Current Year Culm. to Last Closed Month
    DATA :Month(2) type c,
    Start_Month like rsd_c_timnm-calmonth,
    End_Month like rsd_c_timnm-calmonth.
    Month = sy-datum+4(2).
    if Month = '01'.
    Start_Month = '000000'.
    End_Month = '000000'.
    Else.
    concatenate sy-datum(4)'01' into Start_Month.
    End_Month = sy-datum(6) - 1.
    Endif.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = Start_Month.
    L_S_RANGE-HIGH = End_Month.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND l_s_range TO e_t_range.
    But when i executed the report....the report is executed sucessfully but the restriction applied to only Jan 2009
    When i saw the KF definition in RSRT 
    I EQ JAN 2009
    I am expecting
    BT JAN2009 APRIL2009
    Please help
    Tahnks

Maybe you are looking for