Problem In Variable Offset BI 7.0

Hi,
  In SAP BI 7.0   i have cerated a variable on Posting date with Interval now i have to restrict that with  Variable off set 0 and -7,
For that  Under Show dropdown list i have selected Valuranges.  and in next dropdown box i have selected between
Then when i am selecting my variable from Select from list when i am seclting Variables i am not able to see my variable .
I have tried so many times but it is not showing any newly creatd variable. insted of value ranges if i select variables i can see my created variable in the list but if i select value ranges and between i am not able to get my variable as per my requirement i need to pass two offset value.
Any one having any sugestion/ idea please share with me.
Amit

Hi Amitpati, From your context, I assume you would like to view the Posting Dates for 1 week duration. I'm just giving a possible  workaround for this scenario. 1st RKF: create a variable for 0CALDAY on the row/col structure which is the 1st element. In the second RKF use an offset -7 to query on the past 1week data. Use a formula to compute difference between KF elements 1 & 2. Pls let me know if I'm correctly following your query. Assuming you may be using current date as posting date, you may have a look into Key Date; which is listed on the Query Properties on the right most tab. Also, you may try changing the query using 0CALWEEK in cube; but this being a task to change the structure would be the last priority. Thanks!

Similar Messages

  • Problem with variable offset for 0CALMONTH

    Hello Community,
    I have a problem with using variables offset for time characteristic 0CALMONTH
    Let's say my current query looks like this:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (Keyfigure)
    What I want do now is to add a previous year comparison. So that it should look this way:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (selected months)
    LY_Sales...........50..................100................100   (selected months - 12)
    (LY_Sales should show figures of 01.2005, 02.2005 and 03.2006 in this example)
    I used new selection for LY_Sales with variable offset for 0CALMONTH -12 but that didn't work. Figures in second line are zero. The desired figures would show up (if I expand the selected time intervall wide enough) in 01.2005, 02.2005 and 03.2005 but that's of course not what I want.
    Please help if you can!
    Regards,
    Ulrich

    Hi,
    We can get an an other way by using CELL editor caoncept.
    First create teh query like this:
    ...................01.2006..........02.2006........12.2006.....01.2005...02.20005...12.2005  Sales ..............100................125..............200.............50...........100.........100 
    Sales ..............100................125..............200.............50...........100.........100
    Then hide the 2005 years' kf:
    ...................01.2006..........02.2006........12.2006
      Sales ..............100................125..............200 
    Sales ..............100................125..............200
    Though the call editor concept overwrite the second rows(selection) content with hidden columns of second row(selection) one by one .i.e first cell of 2nd row will be overwritten by 13 th cell of second column.similarly second cell of 2nd row will be overwritten by 14 th cell of second column........
    First row(selection) : Cal year Charactertic with restriction 2006.
    second row(selection) : Cal year Charactertic with restriction 2005.
    With rgds,
    Anil Kumar Sharma .P

  • Problem with variable offset

    Hi, I am using BI 7.0.
    I have a query with 0calmonth in rows, I need the last 12 months, so I did 0calmonth from variable -1 to -11. I have the 12 rows with the month description correctly.
    I have 8 columns with formulas and  filter.
    I can see the rows of the month I executed with the numbers without problem, but in the other rows (months before) of all the offset I don´t have the result.
    Does anyone have any idea? I made it Z with other object and Z variable, but still the problem.
    I tried with differents months, but the same problem.
    Thanks in advance
    Tomas

    Tomas,
    Any chance your variable on Cal Month is in the free Characteristics or the Filter?   If so you entire results area is restricted to this value irrespective of what offsets you have put on.  You will need to put the variable into a selection.
    Regards
    Gill

  • 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

  • Variable Offset for Customer Exit??

    Hi,
    is it possible to have a variable offset for customer exit time variables?
    E.g. I have a variable current month but can I also create a one-year offset of that?
    In our system that doesn't work (but also the current month variable doesn't work...)
    thanks
    Sabine

    Hi,
    As it is mentioned by Mr.Voodi,it definately works.
    You only has given the answer for your problem .i.e you need to make sure the Customer exit variable is working proper.So take a look on the code used for it.
    With rgds,
    Anil Kumar Sharma .P

  • Variable Offsets are working only partially

    Hello experts, at first I thought that an offset I placed on a variable for 0FISCPER was not working. I am trying to do a report which gives me the value of couple of Key Figure "Earnings", for a certain Fiscal Period and this same Period but for the last year. That is (please consider each "/" as a blank space):
    ////////////              Earnings  //////////////////               Earnings
    ///////////           on FiscPer   ///////////        on LastFiscPer
    ///////////           (E.G. 01.2008)  ////////      (E.G. 01.2007)
    Char1 /////////         $       ////////////////////////////                      $
    Char2 ////////         $       /////////////////////////////                      $
    Char3 ///////         $        //////////////////////////////                     $
    I am using a variable that I created, which takes a user input. On Selection "Earnings on FiscPer" I placed the variable with no offset. On Selection "Earnings on LastFiscPer" I placed the same variable, with a -12 offset.
    The problem I have is that it is not working. The offset is not working, it just displays the value for the Fiscal Period given by the user, not last year's Fiscal Period. However, the funny thing is that if I place the offset as +12 and give as input las year's Fiscal Period, the offset works and displays the value for the next year's Fiscal Period. So the variable offset works only on one side, with possitive offset values. I have tried different approaches (some coming from other posts from this forum) but I cannot get the offset to work with negative values.
    How can I manage to get this to work? Any ideas?
    Edited by: Pedro Olvera on Apr 28, 2008 6:17 PM

    Hi Pedro,
    i will try to answer your questions:
    a) range of values instead of individual value for variables:
    -> if u use a range of values for one KF u will always get cumulated values for this range
    -> for example: 0FISCPER3 with range 001-016 and 0FISCYEAR 2008 -> u get the sum of all periods for year 2008
    Idea : i have a query where i have a KF with a range. I defined a solid start period (0FISCPER3) for example 001 and have an input ready variable for end period, called "Period to". Also u have input ready variable for 0FISCYEAR. This KF shows me the sum until the defined end period for a user defined year.
    b) 0FISCPER3 in lines or columns:
    IF u now drop 0FISCPER3 in free characteristics in query designer, u are able to do a breakdown in BEx Analyzer for 0FISCPER3 in lines or columns.
    Szenario:
    1) u have created your KF as i descriped in IDEA
    2) u have dropped 0FISCPER as free characteristics in query designer
    3) At BEx Analyzer u go to query properties -> put 0FISCPER3 in columns (-> maybe u change with properties display options for 0FISCPER to text -> it dispays for 0032008 -> Mar 2008)
    4) Press ok
    5)  Right click on your KF and choose "Add drill down according to" -> Choose "posting period" (0Fiscper3)
    6) Do a horizontal drilldown for posting period with drag and drop
    -> Now u have a drill down for posting period in your KF, but also for all other KF too
    -> To avoid this u can customize workbook settings
    1) Change to design mode
    2) open properties for analysis grid and disable display options for "Hierarchy icons"
    Another way is to delete the hierachy icon
    -> u now only see a drilldown with posting period for these KF u wanted to have a drilldown to.
    If u now only want to see posting periods which have values and disable all which have no values, u can activate zero suppression for lines and columns in query properties.
    Voila, u have a worbook which now shows for your KF all availble posting periods in one year without creating 16 monthly key figures. In addition u can change the inner year range of summation of period values
    Hope it helps
    Regards
    Edited by: Tobias on Apr 30, 2008 8:35 AM
    Edited by: Tobias on Apr 30, 2008 8:36 AM
    Edited by: Tobias on Apr 30, 2008 8:36 AM

  • Variable Offsets-Bit Tricky

    Dear Friends,
    It is very surprise with variable offsets (0CalWeek) in my Query. 
    I have a query where I have 2 structures.
    In Rows, I have 3 selections in structure and one characteristic. The three selections are Different Product Groups let say <b>A, B., C</b> and characteristic is <b>Product</b>. So the Products are listing in the report according to <b>A, B</b> and <b>C</b>.
    In Column, I have a Key Figure structure where I have <b>Stock,</b> <b>Age</b> (in No. of Months). The stock and Age are displayed against to Product.
    Apart from the stock and Age, The User want to separate the Product Ages in to 4 categories like <b><6 Month Age Product Stock, <12 Month Age Product Stock, <24 Month Age Product Stock, >24 Months Age Product Stock</b>. I created these selections using Boolean operators taking in to consideration of Age and Stock.
    I have two variable selections for this query, <b>Country</b> (Mandatory) and <b>Cal Week</b> (Mandatory, User Entry/default). The <b>Stock</b> Key Figure is restricted with Variables <b>Calweek</b> and <b>Country</b>. Up to now the Report is working fine.
    Now the User has new requirement is to calculate <b>Previous 12 weeks Sale</b> (in Units) of Product and then he wants to compare <b>Previous 12 weeks Sale</b> with each of <b><6 Month Age Product Stock, <12 Month Age Product Stock, <24 Month Age Product Stock and >24 Months Age Product Stock.</b>
    To Calculate <b>Previous 12 Weeks Sale</b> I have <b>Actual Sales</b> as Key Figure in Cube. In Selection, I restricted sales with <b>0Calweek variable</b> with offsets and like that I made 12 selections. I created formula for <b>previous 12 Weeks Sale</b>.
    Now my problem is When I introduced this <b>Previous 12 Weeks Sale</b>, The other columns <<b>6 Month Age Product Stock, <12 Month Age Product Stock, <24 Month Age Product Stock, >24 Months Age Product Stock</b> are not populating with Stocks but <b>Previous 12 Weeks Sale</b> is working fine.
    If I remove <b>Previous 12 week Sal</b>es and all 12 selections then all the ageing Columns are working.
    This is bit tricky, Please suggest me a suitable solution for this. Your help is highly appreciated.
    Thanks,
    SB

    Hi,
    12 weeks means 3 months.Right?
    try by creating selections month wise. i.e. create 3 selections by restricting sales with offsets on months instead of 12 weeks .
    Hope this helps!
    (what about your previous thread?issue is resolved?if so,pl close it by assiging points )
    Message was edited by: Murali

  • Variable Offsets for Weeks

    We have a custom created infoobject for fiscal week, which is basically week number within fiscal variant, fiscal year, and fiscal period. So fiscal period 1 contains weeks 1-4, period 2 contains weeks 5-8, etc.
    Our problem is in the use of variable offsets in query definitions. If we use 0FISCPER, BEx knows that the "-1 offset" for 2005001 is 2004012, not 2004999. Similarly, for 0CALWEEK, the week before 200501 is 200452, not 200499. So for our custom infoobject, how do tell BEx that the fiscal week before 200501 is 200452? Anyone know how we can set this up?
    Thanks in advance for any info you can provide.
    Rachel McGregor

    Yes, we figured we would probably need to do something in the user exit. We did not create the infoobject with reference to anything else since we added some custom attributes.
    What exactly should we do in the user exit? We want to create a structure with a whole bunch of selections for week number, week number-1, week number-2, week number-3, etc. all the way back to week number-104 (i.e. we want 2 years' worth), with a single prompt to the user for week number.
    Any suggestions?
    Rachel

  • Special Periods and Variable Offset

    Our fiscal year variant includes 12 periods and one special period (Period 13).  I created a rolling 12 month query which uses variable offsets to define each column.  If the user enters 3/2006, I would expect to see the next columns to show 2/2006, 1/2006, 13/2005, 12/2005....
    Instead the query ignores the special period and jumps directly from 1/2006 to 12/2005 - therefore the postings for Period 13, 2005 are not displayed.  From what I've found so far this is standard SAP BW functionality, but has anybody had any luck getting around this?
    Thank you.

    Jeff,
    If I enter 13/2005 into the leading column variable, I can see that there are transactions posted to Period 13 which are not included in the results of Period 12.  We have another query where the user can enter a period range using an interval variable for 0FISCPER (i.e. from Period 10/2005 to Period 2/2006) and it brings back results for Period 13/2005.  However this other query that uses the variable offset to define the rolling periods does not return the Period 13 results.  I thought about adding Period 13/2005 to Table T009B, but I would prefer not to set this up in BW without doing the same in R/3, and I'm not quite sure about the implications of adding an extra (not special) period to the Fiscal Year variant in R/3.
    Sven,
    I use 0FISCPER for posting period, and I created a structure for the twelve periods.  There is a variable (0P_FPER) for current posting period in the first column, and the rest of the columns use offsets to go back the 12 months.  For example the second column is (0P_FPER - 1), the third column is (0P_FPER - 2), etc.  It seems that my problem is related to the fact that the offset ignores the special periods, while the fiscal period interval variable recognizes these periods.
    Thanks very much to both of you for your replies!
    Janet

  • Problem with variables in formulas when using CrystalReportViewer

    Post Author: Aksu
    CA Forum: Formula
    Hi! I have a problem with variables in Crystal Reports formulas, when using CrystalDecisions.Windows.Forms.CrystalReportViewer class from VS2005-project. ReportViewer always gives error:*************Crystal Report Windows Forms ViewerThis field name is not known.Details: errorKindError in File C:\{dir&#93;}\{file}.rpt:Error in formula <mCustomerAttributes>.'Dim result As String'This field name is not known.Details: errorKind ************* Report without variables works fine with Viewer and in Crystal Reports Designer report with variables works also fine. I have tried with both "formula-syntaxes" - basic and crystal. But Viewer always gives error when trying to define new variable.I think the problem might be with CR -versions, because VS-project has formerly been designed to VS2003 and CR9 or 10. Now I'm using VS2005 and CR11. Though I have changed all references to new CrystalDecisions-asseblies (Ver.11.0.3300.0), when I debug the project and checkout the Viewers ReportSources FormatEngine Shows version CR9_2.... I have no idea where it gets this version...***************DEBUG-view when Viewer is created *******************CrystalReportViewer    |_        ReportSourceClassFactoryName ... , Version=11.0.3300.0 , ...    |_            ReportSource            |_                FormatEngine    {CrystalDecisions.CrystalReports.Engine.FormatEngine}                        |_                        ClientVersionHeader    {CrystalDecisions.Shared.ReportServiceVersionHeader}                            |_                            |    version = 920     (int)                            |_                                Static members                                            |_                                        VER_CR9    = 920    (int)**************************************** Could anyone have any answers or tips for this problem? I'd really appreciate it... ---Aksu

    Has anyone been able to answer this question?
    I am having the same problem:
    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.
    Edited by: Tim Haley on Nov 25, 2008 11:11 PM
    Edited by: Tim Haley on Nov 25, 2008 11:12 PM

  • Problem returning variables from dynamic SQL/PLSQL

    Hi, I have a problem I am trying to solve using a very short piece of dynamic SQL or PLSQL but I am having problems getting the variable values out of the dynamic block.
    I have 16 counters whose names are made up of three variable parts - 'scheme', 'contributory category' and 'employment category'
    The 'scheme' can be either 'no1', 'no2', 'off', 'cg' or 'amc'
    The 'contributory category' can be either 'cont' or 'noncont'
    The 'employment category' can be either 'ft' or 'pt'
    (There are only 16 because only 16 combinations are possible)
    For example the total counter name could be 'v_cg_noncont_ft_count'
    I have created a variable by concatenating the various elements called v_incr_count_name which holds the name of the counter I want to increment.
    I am running this whole thing within an anonymous PLSQL block so I cannot use global variables meaning that my variables are not visible within a dynamic PLSQL block.
    I believe this means that either I need to bind the variables within a PLSQL block or use a SELECT FROM INTO SQL block.
    I have tried a few solutions with no luck such as the following PLSQL:
    v_incr_count := 'v_'||v_scheme||'_'||v_cont_cat||'_'||v_emp_cat||'_count';
    sql_stmt := 'BEGIN :a := :a + 1; END;';
    EXECUTE IMMEDIATE sql_stmt USING v_incr_count_name;
    Unfortunately I am getting the 'IN bind variable bound to an OUT position' error which I believe is because it is trying to return a value into v_incr_count_name which has been defined by default as an IN variable. The problem is that I need to store the returned value into the variable whose name is stored in v_incr_count_name.
    Another solution I tried is:
    v_incr_count_name := 'v_'||v_scheme||'_'||v_cont_cat||'_'||v_emp_cat||'_count';
    sql_stmt := 'SELECT '||v_incr_count_name||' + 1 FROM DUAL';
    EXECUTE IMMEDIATE sql_stmt INTO v_return;
    This solution gives me an 'Invalid colum error'
    Any help would be greatly appreciated
    Cheers, Dan

    Repost:
    Problem with variables in dynamic SQL/PLSQL

  • Problem with variable

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

  • Problem with Variable Client Support

    Hello,
    I work with Labview 8.5 and Crio 9014.
    I have a problem with  Variable Client Support. When I try to compile my project I have the following error:
    "The Network Variable Engine and Variable Client Support must be installed on the RT target for this application to function properly..."
    I have read that we have to install the Variable Client Support in Measurement and Automation by right-clicking on the software and then choosing add/remove software but I can't install the appropriate shared variable components because I can't see neither Network Variable Engine and Variable Client Support. So what can I do?
    Can somebody help me?
    Thanks

    I have exactly the same problem. I wanted go through the "Getting Started with the LabVIEW RT module" and when I use wizard for generating new project I get same notification in my VI... 
    The Network Variable Engine and Variable Client Support must be installed on the RT target
    for this application to function properly. If the Network Variable Engine is not supported on
    the target (e.g. FP-2000 with <32MB of RAM), open the project and move the variable library
    to My Computer in the project. Doing this will deploy the variables to localhost but
    will still require that Variable Client Support be installed on the RT target.
    Could someone help please ? 
    Attachments:
    ni.png ‏95 KB

  • Problem with variable in the woorkbook selection screen.

    Hi All,
    I have Problem with Variable in the selection screen. I have four variable in the report in this sequence
    <b>Plant (optional), calendar month (mandatory),  material (optional), Customer (mandatory). </b>
    In Development system, I changed the query to fix the problem for a formula. saved and executed the query. In the selection screen appeared four variables and executed. after executing the query and I saved the work book also. I logged out of the Bex Analyzer. In the RSRT I generated the report by clicking the Generated Report push button. and again logged into the Bex analyzer and ran the work book, now in the selection screen, appeared three Variables only, I am missing the variable <b>Customer</b>.
    The old report which is already  in the Production system is working fine. What could be the mistake I did in the development system.
    It is very urgent, I need to deliver this object as soon as possible.
    Can I anybody help on the same.
    Thanks in advance
    Narendra

    Yunus,
    I did what you said. I removed the variable from characteristic restrictions, saved the query and executed the query, appeared three variables Plant, Calender month and material. executed and saved the work book. disconeted from Bex analyzer, in RSRT Generated Report and logged into Bex analyzer ran the work book for selection Plant, calender month and material and went into change query definition and added the variable for customer which was removed earlier and and ran the query for selections Plant, Calender monmth, Material and customer. saved the work book. disconnected from Bex analyzer and closed all excel sheets and work books. In RSRT Generated Report and again connected to Bex analyzer and ran the work book, now appeared only three variables again missed variable customer.
    Yunus does any missed n the procedure what i did.
    It is helped what Chris was answered.
    Many Many Thaks for your time and replies.
    Thaks in advance
    Narendra

  • Problem with Variable screen in WAD

    Hi ,
    I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
    Thanks,
    Abraham

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

Maybe you are looking for