Wrong variable values on refresh

Dear Experts,
I have a issue in refreshing the query variable values.
Suppose we have a executed a report with the variables and values as follows:
Plant : 1000
Fiscal Year / Period: 001.2008 - 016.2008 ( Interval )
Material: XY and YZ ( Multiple single Values )
Query output is displayed and its fine.
We refreshed the query and changed the variable values as follows:
Plant: 1100
Fiscal Year / Period: 001.2007 - 016.2007
Material: YZ and executed the report.
Now we want to refresh the query variables. I clicked on refresh button. Query variable input screen is displayed with the
varaible values as follows:
Plant: 1000
Fiscal Year / Period: 001.2008 - 016.2008
Material : XY and YZ
My question is, if we refresh the variable values then the plant should show 1100 and Fiscal yr period as 001.2007 - 016.2007
and material as YZ. But they are showing the first set of values.
What may be the reason. Should we do any OLAP variable settings ?
Regards,
Bhadri M.

Hello,
Well if on 7.0, then try doing the following:
Pull all your restrictions variable to the char restriction side and dont keep any variable under the default values section.
Regards,
Shashank

Similar Messages

  • Integrated planning: changed variable does not refresh in planning function

    Hi guys,
    I am facing the following problem. I have a web template with a query and a planning function. On first request I select the variable values through the variable screen, which automatically appears.
    If a change my variables later by using the variable screen again, the query refreshes and shows the correct values.
    But when executing the planning function it still uses the old variable values I entered before during the first request of the template.
    The variable in query and planning function is the same. There are no default values. I tried making the variable mandatory, no success. The system does not use the selected value for the planning function. It keeps running on the old ones.
    Thanks for any comments and advices!
    Stefan

    Hi Stefan,
    usually the variable value of a planning function has to be refreshed when updating the query. However we had a lot of trouble with just this issue in a former project. As Gregor already proposed we used the variable binding to make sure that the proper variable value is passed to the planning sequence.
    When you implement your planning sequence in WAD you can do a variable binding as follows:
    <bi:param name="VARIABLE_VALUE" type="COMPOSITE" index="1">
      <bi:param name="VARIABLE" value="Z_0FISCPER_001" text="Geschäftsperiode (Customer Exit, eingabebereit)">
        </bi:param>
           <bi:param name="VARIABLE_TYPE" type="CHOICE" value="SELECTION_BINDING_TYPE">
           <bi:param name="SELECTION_BINDING_TYPE" type="CHOICE" value="VARIABLE">
           <bi:param name="VARIABLE" value="Z_0FISCPER001" text="Geschäftsperiode (Customer Exit, eingabebereit)">
        </bi:param>
      </bi:param>
    </bi:param>
    </bi:param>
    Althoug we just did a variable binding with the same variable as source and target we did not have the problem of wrong variable values any more....
    Brgds,
    Marcel

  • Change Bex Variable Value every time refresh query!

    I'm looking for solution at this problem:
    1) I've create a formula variable
    2) I've assign to this variable a value in EXIT_SAPLRRS0_001 (step 2)
    3) When run my query it's OK but the value of my variable is static!!
    The problem is to change variable value every time the user change a filter like when do "Select Filter Value"...
    How can I do this?

    I know step 2 and this step is usefull for the first valorization of variable
    but, for example, if I run the query with initial filter and after, in the navigation, I restrict the filter using "Keep Filter Value" on a single value of one characteristic the system doesn't execute the SAP EXIT and variable is the same of the first initial value...
    I need a SAP EXIT or anything like it for change Formula Variable Value every time I change any filter during the query navigation.

  • Passing variable values to a webtemplate using url

    Hi all,
    Is it possible to pass a variable value with a sign other than equal (i.e. variable value should exclude the entered value) via url.
    thanks,
    Tomer.

    Hi Yvanlathem,
    Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
    I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
    Please modify the expression to below structure :
     =Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
    I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
     parameter=value(not Value=Parameter)
    If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from  report2 to Report1, please make sure Parameter1 is from the Report1
    and Parameter2 is from Report2, change the order will not work
    More detail information:
    Pass a Report Parameter Within a URL
    So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
    Similar thread for your reference:
    SSRS 2012 Drill Through report cascading Parameters not refreshing
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to clear variable value in BPS WIB?

    Hi Experts:
                    I want to clear variable value in BPS,and I use this function 'API_SEMBPS_VARIABLE_SET' to set its value to '#'. I got 1 question:
         After I changed this variable manually in IE, the system 'remember' this variable in this program, so the function 'API_SEMBPS_VARIABLE_SET'  didn't work. I checked the table 'UPC_VAR_CHA_ACT' and found there is not any corresponding item for the current user and value.
    Allen

    Hi Bauke,
    Actually I want to do Password Encryption functionality.
    For that I have 1 Java script file.On Java script validation I want to pass password value from client side to server side as,
    <head>
    <script type="text/javascript" language="JavaScript" src="MyJSFile.js">
    function submitForm(element)
    var me = document.getElementById(passwd);
    If(!me)
    alert('Please enter Password);
    else
    Some password logic I will do here.
    </head>
    <f:view>
    <BODY......
    <h:form id="createUserForm">
    <h:commandButton id="save" value="Save" action="saveactionMethod " onclick="submitForm(this)" />
    <h:inputSecrete id="passwd"
    value="#{createUsrFormBean.password}"/>
    </h:form>
    </body>
    </f:view>
    But the Java script code is not working.I mean If I put nothing in password textbox the alert is not firing.
    My code is wrong ?
    Thanks
    Sandip

  • Need to place a variable value at the end of report heading in BI 7

    Dear All,
    We have to place a variable value at the end of the report heading and the value should get refreshed whenever we change the variable by using "Change Variable Value". I have created a macro and the value will get triggered unless and until we click on any where on a sheet. But, we want to automate this one by using a macro.
    Ex: Quarterly TA Host Country Details As Of "Variable Date" Variable is created on TA Date characteristic. User can enter date on Pop up window box at the time of changing a variable TA Date. We need changed date at the end of the Report heading Qua----
    Please suggest me on how to place variable value at the end of report heading by using a macro.

    No need to use Macro. You can use text variable.
    Goto the Query Description and click on the Text variable icon.
    Create a text variable of processing type as REPLACEMENT PATH and replace it with the characteristic for which you have a ready for input variable that will be eneter by the user.
    This will populate the text variable with the value entered by teh user.
    Use this text variabkle along with the Query Description. So your description will look something like REPORT_TITLE&TXT_VAR&
    Hope this helps.

  • Struts ActionForm variable values in JSP

    I've tried to get variable values from a Struts ActionForm. I know that I can use Struts's bean tags, but can't figure out correct syntax or may there's some thing else to discover.
    I'm trying something like:
    <bean:define id="atr" name="MyActionForm" property="attribute"/></address>
    <p><%=atr%></p>
    And my struts-config look like:
    <form-bean name="MyActionForm" type="sth.MyActionForm"/>
    And the ActionForm is like:
    private String attribute;
    public String getAttribute() { ... }
    public void setAttribute(String attribute) {...}
    What may be wrong?
    Edited by: aproppon on Sep 26, 2007 9:46 AM

    I've tried with <bean:write... but since I catch exception saying MyActionForm can't be found in any scope. As far as I'm aware I've set request scope like:
    <action input="/jsp/something.jsp" name="MyActionForm" path="/jsp/myAction" scope="request" type="sth.MyAction">
    <forward name="success" path="/jsp/index.jsp"/>
    <forward name="failure" path="/jsp/something.jsp"/>
    </action>
    Edited by: D.A.R. on Sep 26, 2007 12:09 PM

  • Acrobat pro Extended | Passing variable value with Querystring

    Hi,
    We are facing issue with opening a web link with passing a variable value as query string parameter. We have added a form button on the pdf page, on click of it we have opened a web page and we want to pass a variable value in the query string. We can not give the hard code value in querystring, as the value keeps on changing.
    Please refer to the images below.
    here the data will be my variable name, which contains some value. When i execute it, it passes data as a string, i want to pass its value in the query string parameter. How i can do this?
    I had found one more way, is to call a function on the form button click, and in that pass the query string parameter as a variable, it works. But the problem in this case i am faceing is, in the app.launchURL command i have to provide a http path, means something like http://www.google.com, then only it works. I have that page on my local (no server), so i want to add the path as onlu page.html
    //Reference code, this fun will be called on a button click
    function LaunchPage()
        app.launchURL("http://www.aptara.com/page.html?value="+data+""); //this works
        app.launchURL("page.html?value="+data+""); //this dosent works
    Please do let me know, how i should proceed. To repeat, i want to invoke a page, which is on my local system with a querystring, in which i sud pass a variable value.
    Thanks,
    Ajit danve
    Sr. Developer
    Aptara, Pune.

    re: George Johnson
    Thank you for the response. This process that we are looking to do is necessary. We have 400+ OLD PDF forms that currently are printed by our print shop and then manually filled out and scanned into our system. The current process requires a clinician to log into our scanning system, identify a patient chart, and then identify the type of report they are scanning in. This process is time consuming with possibility of errors (wrong chart selected, wrong form, etc.). Plus, we have to stock up to 400 forms at each location.
    We don’t have the funds to convert 400+ complex forms into electronic submissions where the form fields are discrete and file accordingly. So, what we have come up with to save costs of a new system and reduce potential errors is to add a barcode to each existing form.
    Basically, each form will get a barcode and a javascript function in the onload event to process and parse passed in link parameters.
    So when a clinician clicks on a form link in our EMR system the form will load passing in the patient acct. number and form name into the link parameters (all on our local intranet) so it will get embedded into the barcode on the form. They will then print the form fill out the data (or have the patient fill it out) and then drop it in the scanner. Our scanning system will automatically see the barcode and file the form under the correct patient and form folder based on the barcode info. (A scanned image of the form will save to the patient profile).
    Ultimately we would like to convert all of these forms to electronic signature/submission but we do not have the funds or the time to do this.

  • Web report - Variable values while switching between views.

    Hi Gurus,
    We have a query which has a few variables that are getting populated with default values during query execution[customer exits].
    We have added this query to the web.Now there is a date variable  which gets populated with the current date value by default.Suppose the users don't vant to run the report for the current date, they are able to change the date in the variable window and execute. But once the report is run, and we try to choose a different vieew for the report, the report automatically gets refreshed with the selected view, but for the default current date value (because of the customer exit).Shouldn't the selected view be getting refreshed with the date values that the user had entered while executing the report?
    Also when navigating between the different views, shouldn't a variable window pop up? Is there any setting to have the variable window pop up when navigating between the different views of a web report?
    Would appreciate a quick response.
    Thanks a Lot
    Arvind

    hello,
    we need to go to Query properties -> interaction tab-> remove reuse variables to populate the variable screen everytime or "Save and reuse variable values" to supress variable window
    or
    Problem could be due to any personalisation.try this:
    One the query is executed, click on the button which says change variable values.
    In the variable pop-up screen which comes up click on the personalization button
    In the new screen which comes up click on reset personalization button
    Enter new variable values and execute the query.
    Reg,
    Dhanya

  • Selected variable value is different from the displayed value

    Hi all,
    I have an issue with variable selection in portal. I have a IO - customer which is compounded to source system. So I have soem customers with the same key with different sources. And I have a variable created on customer. For ex - i have 3 customers like below. 
    SA/1234567
    BP/1234567
    F5/1234567
    1 - And when I search for a customer 1234567 - I find only one customer that is SA/1234567. And IO properties are set to read all the masterdata values and not infoprovider or posted values.  - thats issue one - I would like to see all the three and let the user select what ever he wants.
    2 - Now when I select SA/1234567 and run the report. It shows me data for F5/1234567 - which is correct data for that customer. But in the template I have a info field web item to display the selected variables on the screen. That info field shows the Customer as BP/1234567 - which is wrong and confusing. I checked the properties of the web item and everything seems ok.  So in the variable screen I get a value, the result set if of another value and the variable value that shows in the Info tab is another customer. - Driving me nuts
    3 - When I recreate the same scenario in 3.x query - everything works the way they should - this only happens in 7.0 query. What am I missing here??
    Any pointer or insight is appreciated - sorry for the long post.
    Voodi
    Edited by: voodi on Jun 8, 2010 2:26 PM

    Sorry - its not how its displaying the values rather what its displaying - it misses on 2 other values from the three - though the Bex setting in IO are set to read all the values from materdata table. And in the query I'm using IO properties. And display settings are ok

  • Variable value for IP Revaluation

    Hi Experts,
    I would like to run a revaluation function (with a button in workbook - IP). Variable is on the key-figure.
    The situation is strange:
    - click on the button with planning function call  - nothing happened
    - then when I click on change variable screen button (standard BEX function), system ask for variable value and execute the revaluation with entered %!
    What I'm doing wrong?
    How this could be marge together?
    What is the procedure to enter variable value in some cell in the WB?
    Thanks, Tom

    Hi,
    Just check the link below: how to pass variables to planning functions executed from BeX Analyzer.
    It also specifies how to enter variable value in some cell in the WB.
    I suggest you to use seperate variables for filter and seperate variable for Planning functions so as to avoid confusion.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be
    Best Rgds
    Shyam

  • Problem in picking the system variable value in Calculation Script

    Hi All,
    We are using a Calculation Script to perform data export. And the target location where to crete the exported output file is given to the environment system variable.
    Now I am using this system variable in the calculation script as below:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET DATAEXPORTOPTIONS
    DataExportLevel "ALL";
    DataExportOverwriteFile ON;
    Fix ( &CurrMiles, &CurrProj, &CurrVer,"No Project","No Version")
    DATAEXPORT "File" " " $DEXPORTPATH;
    ENDFIX
    Here "DEXPORTPATH" is the system variable
    I am creating this system variable from the batch script and the system variable value varies at the runtime.
    This calculation script works fine for first time and it picks the correct value from the system variable.
    But the problem occurs from next execution of calc script. Even if i update the system variable with other value, it picks only the last execution system variable value and it performs execution.
    Eg: Suppose for first execution system variable value is "D:\Bkup\PMV.txt"
    The calc script works fine with this.
    For next execution, system variable value is changed to "D:\Time\temp.txt"
    Now the calc script picks the system variable value as "D:\Bkup\PMV.txt"
    and performs execution which is wrong.
    Please help me on this issue how to handle system variables in calc scripts.
    Thanks in advance
    Regards
    Swathi

    811829 wrote:
    Hi All,
    We are using a Calculation Script to perform data export. And the target location where to crete the exported output file is given to the environment system variable.
    Now I am using this system variable in the calculation script as below:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET DATAEXPORTOPTIONS
    DataExportLevel "ALL";
    DataExportOverwriteFile ON;
    Fix ( &CurrMiles, &CurrProj, &CurrVer,"No Project","No Version")
    DATAEXPORT "File" " " $DEXPORTPATH;
    ENDFIX
    Here "DEXPORTPATH" is the system variable
    I am creating this system variable from the batch script and the system variable value varies at the runtime.
    This calculation script works fine for first time and it picks the correct value from the system variable.
    But the problem occurs from next execution of calc script. Even if i update the system variable with other value, it picks only the last execution system variable value and it performs execution.
    Eg: Suppose for first execution system variable value is "D:\Bkup\PMV.txt"
    The calc script works fine with this.
    For next execution, system variable value is changed to "D:\Time\temp.txt"
    Now the calc script picks the system variable value as "D:\Bkup\PMV.txt"
    and performs execution which is wrong.
    Please help me on this issue how to handle system variables in calc scripts.
    Thanks in advance
    Regards
    SwathiAs of my knowledge system variables will not update immediately...you need to log off the session after changing the value.
    Update the system variable..
    Log off from the session..
    And Re-login with the same username ....and check...
    Regards,
    Prabhas

  • Variable values on BI 7 Workbook

    Hi
    We have created a Workbook template in BI 7, where we display three text elements - Status of data, Last refreshed time and Display Infoprovider.
    In addition, we also want to show the user entry variable values on the workbook. Eg: our report has  Delivery type and Material group as user entry variables, which we want to display.
    In 3.5, the "Display text elements" used to work. How do we do this in BI 7?
    Thanks
    Mihir

    Hello, Mihir.
    Check this link
    /message/2001143#2001143 [original link is broken]
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/bfdfb454b4465585cc6334eb89b195/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/31951d58-0701-0010-6b8b-885795f595c7
    Hope this helps
    sharp deep

  • How to derive a variable value from another variable of a different IO?

    Hi Gurus,
    I am aware that using BEx variables and Customer Exit you are able to derive a variable value from another variable of the same infoobject (for example, Fiscal Year/Period (0FISCPER) and Calendar Day (0CALDAY)).
    However, is is possible, using the same approach to derive a variable value from another variable that is in a different InfoObject? (for example, Input Fiscal Year/Period (0FISCPER) but derive Output of Required Start Date (0REQSTDAT))?
    There are 2 BEx variables involved,
    1) A user entry variable that is restricted in 0FISCPER
    2) A customer exit variable that is restricted in ZREQSTDAT
    In CMOD under EXIT_SAPLRRS0_001, Include ZXRSRU01, the code (I assume, correct me if I'm wrong) should perform 3 functions in I_STEP = 2,
    1) After the pop up, capture user entry of Fiscal Year/Period
    2) Identify or convert Fiscal Year/Period to Calendar Day range (unsure on how to code this portion)
    3) Use the Calendar Day to lookup on matching Required Start Date and display all Required Start Date that matches. (unsure on how to code on this portion)
    Hope to hear your thoughts soon.
    Regards,
    Eric

    Hi Shanthi,
    I've made the necessary adjustments. The only difference in my code is,
    Instead of,
    If I_VNAM = 'ZREQSTDAT'
    I use,
    CASE I_VNAM.
    Instead of,
    PARAMETERS: ZFISCPER TYPE /BI0/OIFISCPER.
    ZYEAR = ZFISCPER(4).
    ZMM = ZFISCPER+4(3).
    I use ,
    This is the Customer Exit Variable in ZREQSTDAT
    WHEN 'ZRSD_CX'.
    The loop I use for the User Entry Variable in 0FISCPER-ZFYP_IN
      LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
          WHERE VNAM = 'ZFYP_IN'.
        IF SY-SUBRC = 0.
            CLEAR L_S_RANGE.
    ZYEAR = LOC_VAR_RANGE(4).
    ZMM = LOC_VAR_RANGE+4(3).
    The codes were checked with no errors.
    However, when I input the Fiscal Year/Periods and hit 'Execute'. The report went blank, not sure what is the cause. I've tried it several times. No error message appeared.
    Regards,
    Eric

  • How to create an array containing shared variable values

    Hi
    I am trying to programmatically create an array containing shared variable values and their names.  I can get the variable names by supplying the process name to the get shared variable list function.  How do I then read the value of all the shared variable items returned?
    I have used a data socket open to open a connection to all variables when my program starts.  I then use datasocket read on the opened connections to write to an array.  This works fine until I try to write to one of the variables using a shared variable node.  The variables writes can take from 4secs to 2 mins.  When I remove the shared variable node again all is fine.  Also when I stop using the data sockets, all is fine.
    Is there a conflict between shared variable nodes and data socket writes to the shared variables?
    Can anyone help?  I cannot easily post example code because I am reading the variables from a Wago PFC (PLC) using OPC.

    Hi
    Sorry I forgot to mention the LabVIEW version, its 8.20.  I have tried saving the shared variable node as a sub VI and it makes no difference.
    Attached is a stripped down version of the software.  You will not be able to connect to the IO server because it requires some Wago hardware and software.  You may spot something I have done wrong with the I/O servers, variables or sub VI's.
    The main program that runs is called 'HMI Engine' in the 'Framework' folder.  There may be some other things in the project that aren't used in this example.  I have removed all but the variable connection part of the code.
    I hope someone can help!?
    Thanks
    Mark.
    Attachments:
    HMI Test.zip ‏144 KB

Maybe you are looking for

  • Multiprovider diemension

    Do i have to create Diemension while creating multiprovider ? Can I leverage the infocube diemsion in Multiprovider ? What about DSO data fields than if I use the cube diemension ?

  • Troubleshooting merging of PDF in Adobe Pro 9.0.0 on Windows 7

    Hi, I have a lot of people in my company complaining that Adobe Pro 9.0.0 can't merge PDF files anymore. This seemed to work great on Windows XP earlier. I reinstalled the application for four users but it doesn't seem help. I'm using the norweigan v

  • Two different ways to show a JPopupMenu - the differene

    Hi! I am wondering what the difference between these lines are: myTable.setComponentPopupMenu(tablePopupMenu);and tablePopupMenu.show(myTable, evt.getX(), evt.getY());I have noticed that if I use setComponentPopupMenu(Component c) in a MouseListener

  • I have Creative Suite 5 Design  Premium (teacher and student edition), how can i upgrade to CS6 and

    I have Creative Suite 5 Design  Premium (teacher and student edition), how can i upgrade to cs6 and how much is it. I want to use it forAdobe Creative Suite 6  Design & Web Premium Digital Classroom Book ? I already bought the book thinking it was fo

  • Airport Extreme worked for 2 days and now wont

    3 days ago I wasted $600 on an Airport Extreme, 500Gb external drive, and the family pack of leopard excepting to use time machine with the shared airport disk. I quickly realized that wont work, maybe they'll fix it one day. What really ***** though