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.

Similar Messages

  • Changing Substitution Variables - Value takes time to appear in Planning

    Hi,
    I have an issue with changing substitution variables values. When I do it, Planning takes about 5 minutes to "know" about that change and till then, it continues working with the previous value. Any Idea of how I can solve that?

    Hi,
    By default, each substitution variable is retrieved and cached from the Essbase server every five minutes or 300 seconds). You can change the retrieval interval by adding the SUBST_VAR_CACHE_LIFETIME property and setting its value in seconds.
    To set Planning application or system properties:
    1. Select Administration, then Manage Properties.
    2. Select:
    *Application Properties: set properties for the current application.
    * System Properties: set properties for all Planning applications.
    3. To:
    * Change a property, change its value under Property Value.
    *Add a property, click Add. Enter a name (avoid using spaces) and value for the property in the blank row.
    If you enter a property already on the tab, its name turns red to indicate it is a duplicate. You can duplicate properties between the application and system tabs.
    4. Click Save and confirm your changes.
    5. Stop and then restart the application server
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to change text variable value in bw3.5 query

    Hi Friends,
    I want to change the text variable value in query designer.
    My requirement is Header it's showing 2008 actual but it should 2007 actual.
    Siri

    Dear Siri,
    include it into some header and you will have
    &<your text variable>& - click on the same and a drop down will come asking you to edit or remove the same and choose edit.
    Hope this helps u..
    Best Regards,
    VVenkat..

  • Re: Passing Bex variable values to javascript in WAD 7.0

    Hi,
    Is there any possibility to pass a Bex variable value to the java script in WAD 7.0 so that i can create a pop up and display the value.
    I found a post explaining its possibility in WAD 3.5. but i am not able to find how it can be done in WAD 7.0
    Any inputs will help.
    Regards.
    Shafi

    Hi Shafi...
    Yes it can be done. Insert a Dataprovier Information Item and a Script Item with a code for querying the xml island that provide the infomation you need. I hope this helps. If you need help with the code let me know.
    Edited by: Alvaro Wilfrido Lozada Borrero on Dec 28, 2009 8:44 PM

  • How to change the variable value in fox formula?

    Hi All,
        Please help me achieve this scenario,
             in the variable selection screen , i wil give some i/p like, calyear(0calyear) = 2008.
          In planing function using FOX formula, i must be able change the variable value to 2009.
      Will it be possible to achieve this, can we change a variable value using FOX formula, if possible
    please let me knw how to achieve this.
    Thanks n Regards,
    Priya.

    Hi Priyadarshini,
    i dont know what is your requirement exactly.If you can give a better explanation of ur requirement we can help you. But to answer your question yes we can get new values for the variable in the planning function.
    for this you need to couple the planning function together with the planning filter in a planning sequence. This planning filter should have the variable that you wanted to change. In the WAD when you want to call this planning sequence there is an option to call variable screen. If you enable this, it will pop up the variable screen to get this value again.
    Guess this was helpful.
    Regards.
    Shafi.

  • Can't change string variable values in Flash CS4 Debugger

    I'm using the Flash CS4 debugger, and while I can change numeric variable values in the Variables panel, I can't change string variable values. The only characters the fields accept are the numbers 1-9 and the characters "d" and "j".
    I can  paste strings  into the value fields, but that's a bit of a pain. I've tried this on a couple of different Flash CS4 installations and get the same results.
    Does anyone know if it's possible to change string values in the Variables panel of the Flash CS4 Debugger?

    See:
    http://forum.java.sun.com/thread.jspa?threadID=591012&tstart=15

  • Why do my bookmarks keep changing to the default every time I close Safari?

    Why do my bookmarks keep changing to the default every time I close Safari and why does my history keep clearing?
    I want to save my bookmarks for my favorite pages but every time I close Safari the default ones (Apple, iCloud, Facebook, Twitter, Wikipedia, Yahoo, News and Popular) re appear.
    Basicaly I want Google instead of Twitter and Yahoo and I also don't want it to keep clearing my history.

    Step one is to log into a newly created admin user account and see if the problem persists.

  • Firefox 5 does not remember changed speed tweaks. Every time I close the browser they revert to the standard setting..what gives!

    Firefox 5 does not remember changed speed tweaks. Every time I close the browser they revert to the standard setting..what gives!'''bold text'''
    '''Moderator note: Locked as dupe of [https://support.mozilla.com/en-US/questions/843444 843444] --T'''

    Now up to Firefox 8 and the problem persists. Cannot go to the www.turnitin.com page and login as I used to do -- Firefox does not remember my username or password.
    Still works on Windows, and with other browsers... It would be great if a fix is available.

  • Autocorrect changes "me" to "mr" every time.

    Autocorrect changes "me" to "mr" every time.  How can I fix this?

    autocorrect can be a blessing or a pain in the butt.  I switch between English and French all the time, and the autocorrect kills me.  So I first type XX then back up and type all my message (in other words XX is at the end of the words as I type them.  Auto correct is effectively disactivated this way.  Then all you have to do is erase the XX before sending the message

  • I accidentally changed a setting so every time I open a jpeg photo, adobe reader pops up and says it's not compatible.  I just want to be able to open a jpeg normally and not have adobe open.

    I accidentally changed a setting so every time I open a jpeg photo, adobe reader pops up and says it's not compatible.  I just want to be able to open a jpeg normally and not have adobe open.

    Hi Lhughes0,
    Try these steps:
    1. Select the .jpeg file
    2. Right click on that  file and on context menu go to the last option which says "Properties"
    3. Now you will see the option where you change the program to use for opening your file
    4. Instead of Adobe Reader select Windows Photo there.
    5. Apply and say OK to it
    Give it a try

  • How to replace variable value of a sql query dynamically

    Hi all,
    Trying to execute sql queries present in Oracle table and the query it self contains the ODI variable #EMP_NO.
    At the run time we thought of passing the variable values.
    table contains query like
    update table <table name> set <column name>= 5000 where emp_no = #EMP_NO
    We need to execute the sql query using a ODI procedure, to pick the sql query from table we use another variable #varSQLID and in the command on source tab wrote like
    select sql_query varSQL from emp_sql where query_id=#varSQLID
    Command on target
    #varSQL
    when ever I tried to execute I am getting error please let me know what changes are required .
    The question is whether it's possible to replace the variable value present in the above sql ?
    regards,
    Palash Chatterjee

    Thanks Siddhartha,
    Actually we have been doing the same, means half of the query has been kept in the table and rest is being added in the " command on source " tab of the procedure .
    But the problem is , the "where" condition is not same for all SQL queries,
    to provide 27 different sqls queries for 27 packages we have to create 27 procedures (as "where" condition may take other column values along with "EMPNO" for the JOIN condition ) .
    Any suggestion of keeing SQL along with the variable and storing it in the table may resolve our problem and work of 27 procedures can be performed by a single procedure .
    regards,
    Palash Chatterjee

  • How to change the variable value format in Ip workbooks

    Dear Experts,
    How to add zeros to a vaiable value before passing to a planning function in BEx analyzer?
    eg: 'ZPRCTR_VAR1' (For Infoobject 0PROFIT_CTR)
    User enters value 20 for 'ZPRCTR_VAR1' , but the system know only '0000000020'. I wrote a user exit like this, but nothing happens and I get variable value 20 is incorrect, planning function cannot execute. Please advice .
    DATA ZDIVISION   TYPE /BI0/OIPROFIT_CTR.
    DATA ZDIVISION1   TYPE /BI0/OIPROFIT_CTR.
    WHEN 'ZPRCTR_VAR1'.
         IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range
            WHERE vnam = 'ZPRCTR_VAR1'.
            zdivision = loc_var_range-low.
           MOVE l_s_range-low to zdivision.
          ENDLOOP.
        ENDIF.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT         = zdivision
      IMPORTING
         OUTPUT        = zdivision1.
        CLEAR l_s_range.
        l_s_range-sign  =  'I'.
        l_s_range-opt   =  'BT'.
        MOVE zdivision1 TO l_s_range-low.
        APPEND l_s_range TO e_t_range.
    Thanks,
    Gnana

    Hi Gnana,
    you can use de "area value" option when define a button with planning function and variables for passing values to function. These values are in excell cells so you can modify it as you want.
    So imagine that your planning function has only one variable, the command sequence looks like
    CMD                                           1       EXECUTE_PLANNING_FU
    PLANNING_FUNCION_NAME       1       YOUR_FUNCTION
    DATA_PROVIDER_FILTER           1       DATA_PROVIDER_1
    VAR_NAME_1                             1       YOUR_VARIABLE
    and now you delete row with VAR_VALUE_1 and in result area you use for example
    $A$1:$C$1
    Now, cell A1 = VAR_VALUE_1
    cell B1 = 1
    cell C1 = Reference to another cell with your variable value (text item). You can use any excell function for fill 0's
    And now, when you execute planning function you're passing cell C1 as value of your variable.
    Hope it helps.
    Enrique
    Edited by: Enrique Delgado on Jun 3, 2008 7:00 PM

  • How can i insert the variable value in MS ACCES Query

    i am creating one Query (query1) in MS ACCESS ( like we creaate Tables, Forms and Reports in MS ACCESS ) in this Query i have given 2 constent value in BETWEEN CLAUSE , after that i Created a CROSS QUERY which is based on the privious Query (query1).
    Now i want to insert the variable value using JSP and HTML in to Query(query1).
    Doing this i want to execute the Query (query1) with variable perameters and
    wants to get the risponce form CROSS QUERY.
    In this matter how can i insert the value in Query(query1) using JDBC and JSP.

    The query is
    Select ZMSGMAP.GROUP_CODE as 'group', ZMSDSTATE.STATE_DESC as 'state', ZMSTRN.YRMON, sum(ZMSTRN.CMAQTY) as 'qty' from ZMSDSTATE,ZMSGMAP,ZMSTRN Where ZMSTRN.STATE=ZMSDSTATE.STATE and ZMSTRN.PLANT=ZMSGMAP.PLANT_CODE and ZMSTRN.YRMON between "+p1+" and "+p2+" Group by ZMDGMAP.GROUP_CODE, ZMSDSTATE.STSTE_DESC, ZMSTRN.YRMONUsing this query i m trying to display the risult but the YRMON is displaying in a single column, i want to display it ia seperat columns. here p1 and p2 is YRMON(it is the yer month like 200102), for this solution i have created Cross table Query which is based on uper Query (query1) and design it column wise Display, it is givng the right display, but the problem is this i m not getting the technique throw which i can insert the variable values in to the query1 (which is designed in MS ACCESS).
    u can contact me on [email protected] for more details.

  • Every time I want to download itunes 11, I keep getting a network error. I have tried changing my location but every time, I get a network error. I have been able to install itunes 10.7 without a problem. How do I fix this?? Help!!

    I recently updated my ipod to iOS 7. Now that I have done this, my itunes needs to be itunes 11. I have been able to download itunes 10.7 but now I need an upgrade. Every time I go to update it, I get a "Failed-Network Error" message. I have tried changing my location and networks but I still get the same message. I really need to download itunes 11 inorder for my ipod to work with the itunes. How do I fix this problem?? Help!!!

    I had the same problem and tried restarting my computer. It configured windows updates for a while, then iTunes downloaded successfully. Hope this helps!

  • Visual Composer - Variable values from VC to Query

    Hello,
    I am determining the URL dynamically using Function Module in VC, generate the necessary URL and execute the query... This part is working perfectly.
    Now I want to pass a variable value to it  as well.. Any ideas...
    Thanks,
    Om

    Hi,
    Try to use some function module which will convert query data into flat tables. (eg., RS_VC_GET_QUERY_VIEW_DATA_FLAT).
    Hope this solves your issue.
    Regards,
    Vinay

Maybe you are looking for

  • How to use ODI tool (file move etc) and plsql in a ODI procdure step

    Hi, I need your help to uses both plsql code and ODI tolls in a ODI procedure step. Req: moving files to different directory Based on the variable value and previous step return code , BEGIN IF #SEQ=1 AND <%=odiRef.getPrevStepLog("RC")%> =0 then OdiF

  • GPRS services suddenly stop working after some time abt 4 hrs.Airplane on off solves it

    I am using a factory unlocked iPhone 4 GSM in India. Iam currently using it on airtel network 2G services i.e GPRS services. Now the problem I have noticed is that the GPRS services suddenly stop working after some time say about 4 hours. Then what i

  • SC item: Delivery date and Time Frame

    Hi Would like to know how the Delivery Date and TimeFrame fields are defaulted in a SC. When a service item is selected from the catalogue the time frame is activated by default. But when i use "Describe Requirement" and assign a service Product cate

  • Captivate can't be LAUNCHED...

    After my first post : http://forums.adobe.com/message/6304359#6304359 let me show you what happens... Though I should have a subscription version, it tells me that the period of evaluation is finished... The connexion is required - as I explained, si

  • ALV Header Text

    Hellow experts, I have one ALV GRid  and i need to put the Headeing , I ned Out Put Like Below   * this is heading i want Student Marit Report From Date1 To Date 2 StdudentID      Day1   day2 112              20     23 I m using Fiekld catalog and be