Refresh variable in

In Note 1064273, there is new option in characteristcs properties Advance Tab: refresh variable with two options: refresh dynamically" / "refresh as designed. I tested how come it is just opposite meaning? Refresh as designed is to recalculate variable?
Any document to clearly explain this?

I agree this option naming is quite confusing.
But actually 'refresh dynamically' means the dynamic filter in current navigation status of the query will fill back to variable screen.
And 'refresh as design' means the variable value will calculated from the exit codings and won't use dynamic filter back fill. In this sense, it is 'as design', the design of customer exit. relatively static.
This may different from your first impression.
This option is available from BW 7.0 SP16 and front end Patch 1600.

Similar Messages

  • Refresh Variable values in WAD

    We have a strange problem in WAD.
    Actually we are on 731 on Hana and we have built a web report with WAD which contain 20 queries. these queries has 2 varibales:
    - calyear
    - Company code
    As ex when we launch the report with variable's values 2013 - CC01 the system shows the message ' No data found..' for one query  but now if we select the button 'refresh variables' (always for 2013 - CC01) the system shows data!
    Also if we execute the same query in BEX the system shows data.
    In fact there are correct data in InfoProvider for this selection but it looks like that for the 1st execution the system is unable to incorporate the correct variable's value.
    Regards
    Luca

    The problem is that refreshing data across all queries works only if we are already into the report (img 2) but if we launch for 1st time the same report it doesn't work (img 1), so:
    1) launch the wad (variables 2013 CC01) the result is 'No data'
    2) refresh the wad (always with 2013 CC01) the system show data.
    thanks.

  • Disabling "Refresh Variables" on toolbar

    Hi all,
    I'm fairly new to BW, but enjoying it so far, version 7.
    I'm not a developer, I'm an end "Superuser", so I can build and save queries and variables, but dont' have access to workbench or ABAP kind of stuff.
    I've created a workbook that uses VBA to refresh the variables, and created a button on the first sheet that the user needs to press to run my VBA.
    To reduce the risk of calling the wrong version (it's an input sheet), I'd like to turn off the "Refresh Variables" button in this particular workbook.  I've located the code in the "Common" Module of the .xls book, and commented it out, however this kills all the other commands in my workbook.  When I remove the comments, they still don't work.
    Ideally, I'd like the Bex Toolbar button to run my VBA.  What is the best way to handle this?
    Many thanks.

    Firefox 4 and later use a combined Stop/Reload/Go button that is positioned at the right end of the location bar.<br />
    During the page load process it shows as a Stop button and after the loading has finished the button is changed to a Reload button.<br />
    If you type in the location bar then that button becomes a Go button.<br />
    Middle-click the Reload button to duplicate the current tab to a new tab.
    To move the Stop and Reload buttons to their position to the left of the location bar you can use these steps:
    * Open the Customize window via "View > Toolbars > Customize"
    * If the menu bar is hidden on Windows or Linux use "Firefox > Options > Toolbar Layout"
    * Drag the Reload and Stop buttons to their previous position to the left of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise (Space or Separator) to get two distinct buttons.
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Refresh variable

    Im using a refresh variable in the following flow
    Procedure 1 (Transaction 1) ----> Refresh Variable 1 (with a select query) ----> Interface 1 (Transaction 1) ----> Procedure 2 (Transaction 1)
    Procedure 1 , Procedure 2, Interface 1 , all KMs have the transaction to transaction 1 with no commit.
    When I execute this flow, I see that the data in Procedure 1 is committed even if I have a rollback in Procedure 2 .
    In fact it was behaving as if Procedure 1 were i different transaction from Interface 1 and Procedure 2.
    1. Does a Refresh Variable (with SQL query) implicitly commit transaction before it ?
    2. If yes then what is the alternative to maintain the transaction uncommitted ?

    I'm curious about your select statement.
    Why do you have MAX around every column?
    (I have a hunch, I just want to confirm it)

  • Substitution API in refresh variable

    Guys,
    Can we use Substitution API in refresh variable?
    I got a following query in a refresh variable
    select v_day as v_day from <%=odiRef.getInfo("SRC_DSERV_NAME")%>.<%=odiRef.getInfo("SRC_SCHEMA")%>.PAP9999WP
    and the table iam selecting is in AS/400 and
    iam not getting servername.schema name.
    iam getting ..tablename.
    is it anyway i can get both the servername.schema name using substitution api.so that i can avoid hardcoding and code will run in all environments.
    Any ideads?
    Cheers
    Sri

    Hi,
    I have followed your advice and done like the following:-
    SELECT ITDAY AS v_day FROM <%=odiRef.getObjectName("L", "PAP9999WP","D")%>
    It is getting back:-
    SELECT ITDAY AS v_day FROM DWHTSTDTA.PAP9999WP
    but it should be:-
    SELECT ITDAY AS v_day FROM TX2.DWHTSTDTA.PAP9999WP
    So it is ignoring HOST(Data Server) name...Any ideas?
    and it is from AS/400?Any suggestions?
    Cheers

  • Query in Refresh Variable

    HI Friends,
    I am using ODI 11g.
    I have a Oracle table called Email_Notification where to_address is a column.
    In ODI refresh variable i need to write a query SELECT to_address =:'var_to_address' FROM Email_Notification...
    But the query is showing error ...
    Please let m eknow how to pass the variable.

    Obviously this query will show you error. What is your requirement ?
    If you want to send mail in ODI based on the to_address column then create a procedure.
    In command on source
    SELECT TO_ADDRESS FROM Email_Notification
    In command on target
    OdiSendMail "-MAILHOST=IND-DWTEAM" "-FROM=[email protected]" "-TO=:TO_ADDRESS "

  • "Invalid Expression " Error with Refreshing variable

    Hi
    When ever i try to validata following query in Refreshing tab of a variable, I am getting invalid expression error
    select USER_NAME from SNP_SESSION where SESS_NO = <%=odiRef.getSession()%>
    if i use following Query
    select STEP_MESS
    from <%=snpRef.getObjectName("L","SNP_STEP_LOG","D")%>
    where SESS_NO = <%=snpRef.getSession("SESS_NO")%>
    and STEP_STATUS = 'E'
    Its giving invalid table
    Need your suggestions
    Thanks
    Baji

    Hi
    Thanks alot for your information .But when ever i click on "Refresh" button available in refrshing tab.I am able to see following error in operator
    Execution
    java.sql.SQLException: ORA-00900: invalid SQL statement
    Description
    BeanShell script error: Sourced file: inline evaluation of: ``out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ; out.print(odiR . . . '' : Error in method invocation: Method getSession() not found in class'com.sunopsis.dwg.snpreference.b' : at Line: 2 : in file: inline evaluation of: ``out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ; out.print(odiR . . . '' : odiRef .getSession ( )
    BSF info: Filter_Records at line: 0 column: columnNo
    out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ;
    out.print(odiRef.getSession()) ;
    out.print(" \n\n\n\n\n\n") ;
    ****** ORIGINAL TEXT ******
    select USER_NAME from SNP_SESSION where SESS_NO = <%=odiRef.getSession()%>
    Thanks
    Baji

  • Refresh variable according to the data schema

    Hello guys,
    First post, fairly new to ODI and looked around for a while before posting.
    We are trying to create a variable that runs a SQL command to return a value from an ORACLE table column.
    #VAR1 = select column_value from <schemaname>.<tablename> where anothercolumn value = '';
    we do not want to hard code our schemaname as it can change once move to QA.
    Is there a way we can say #VAR1 = select column_value from "#VAR2" .<tablename> where anothercolumn value = ''
    and
    "VAR2 = <%=odiRef.getObjectName( "L" , "TABLENAME" , "LOGICALSCHEMANAME" , "DEV" , "D" )%>
    Can anyone point to any suggestions or learning material?
    Thanks in advance for your time.

    Thanks Cezar,
    Its working to the point that I have a variable to retrieve the schema name
    v_Schema_Name = select '<%=odiRef.getSchemaName("LS_Name" , "CTXT_DEV" , "D" )%>' from dual
    How do I correctly embed this code into another variable?????
    SELECT column_1_val FROM #v_MASTER_SCHEMA_NAME .tablename WHERE col2_name = 'COL_2_VAL' in the refresh tab, its giving me
    "invalid character error."
    Even this way, once it works, I will have to manually/thru package refresh the schema name variable once we move to new environment.
    Any ideas to handle the change dynamically????
    Thanks

  • Refresh variable in planning folder

    Hello all,
    I've created two variables: the first (value selection variable) is selected by user and the second (user exit variable) is dependent by the first one. When the selection is done the planning layout depending theese variables must refresh automatically.
    In the bps0 transaction refresh works correctly, but in the planning folder it is necessary to close and re-open the layout. Is there a way to refresh automatically variables in the planning folder too as in BPS0?
    Regards
    Riccardo

    Hi ..
    What filip said its correct, only its the oposite thing.
    l_buffer_call has to be set to ' ', so it refreshes all the variables when one is changed.
    I think the solution to your problemas must be to use the variable Z_GET_VARIABLE_DETAIL as explained in said "How to.. variable of type exit" paper.
    Cheers.
    null

  • Unable to refresh variable definition in ODI Load Plan

    Hi All,
    We recently removed the variable definition and changed it to default value. After that we tried to refresh the variable in  Load plans / Scenarios but it still shows old SQL. Can you please suggest if there is a way to force refresh the variable definitions in load plans? We tried removing and re-adding the variable but that didn't help. Last resort will be to recreate the load plans but we are trying to avoid that.
    Thanks,
    Andy

    Hi Alastair,
    Thanks for the reply. Actually variable is returning the correct value. Only problem is that in the Load Plan's variable section variable still shows old definition even after trying to refresh n number of times and also tried removing it from load plan and then inserting it back in after changing the definition. We don't want to migrate load plan like this. Kindly suggest.
    Thanks,
    Andy

  • Refresh variable used into SELECT

    Hello,
    I wrote a query:
    SELECT max(LAST), max(FIRST), max(MI), max(PREFIX), max(SUFFIX), max(DECEASED_IND), max(EMPLOYER), max(JOB_TITLE)
    INTO LNAME, FNAME, MNAME, PFIX, SFIX, DIND, EMPLOYER, JOB_TITLE
    FROM SORFOLK
    WHERE PIDM = 150
    AND RELT_CODE = 'F';
    It was working well before. Now when I delete the record for these conditions from the table, it should return NULLs for all Variables but now it shows same old values for all Variables.
    I am using this query in web page development. So I tried to refresh the page also I tried to delete browsing history. But none of them helped me.
    Help me ...!!
    Thank you,
    H.

    I'm curious about your select statement.
    Why do you have MAX around every column?
    (I have a hunch, I just want to confirm it)

  • Refresh variable issue

    Hi Gurus,
    I created a customer-exit variable ZVR_EXIT and after executing the query when I refresh or change the variable in toolbar , I get the error message "you can not change the variable ZVR_EXIT for characteristic". Any idea how to resolve this issue ? We are in BI 7.0
    Thanks
    Liza

    This variable porperties are interval, mandatory and user input.  This variable is populated from current system date through user-exit.
    Example if current date is 2008/06/06 , the variable value will be  2007/07/05  -  2008/06/06. This variable is assigned to 0CALDAY.
    Thanks
    Liza

  • Refresh Variable in BeanShell

    Hi,
    I want to refresh a variable under logical BeanShell schema (instead of using SQL under OracleSchema)
    For example
    if(#var>10)
    return "greater";
    else
    return "lesser";
    Appreciate your help. Thanks

    Your question is hard to understand. What do you mean exactly?

  • Refreshing a variable in a procedure

    Hi!
    I know such thread has been already posted many times, but I do everything as explained and it still doesn't work.
    I have created variable STARTDATE: TEXT, Latest Value and a package with following steps:
    1) Declare Variable STARTDATE
    2) Refresh Variable STARTDATE
    3) Procedure
    The procedure uses the variable, but doesn't recognize it.
    update Table1 set eof_timestamp_2 = eof_timestamp_1 where eof_timestamp_1 >= to_date('#ODS.STARTDATE','dd.mm.yyyy hh24:mi:ss')
    Thanks for help
    Marcin

    In Designer I have a Global variable called vTARGET_TABLE and in my package I have it set to 'EIM_EMPLOYEE'.
    I have a variable that returns the number of rows of the vTARGET_TABLE, and the code of the variable is explained below:
    @ Designer mode:
    <Datatype: Numeric - Action Not Persistent>
    select nvl(max(count(if_row_batch_num)),0)
    from <%=odiRef.getSchemaName("W")%>.#vTARGET_TABLE t
    group by t.if_row_batch_num;
    When I execute it, in Operator appears:
    select nvl(max(count(if_row_batch_num)),0) from SNPW.#GLOBAL.vTARGET_TABLE t
    group by t.if_row_batch_num;
    Generating this error:
    911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
    java.sql.SQLException: ORA-00911: invalid character
    How can I solve it?
    Regards.
    Luiz Araujo

  • How to refresh ODI variables from file

    Hi,
    I followed the fillowing links to implement the dynamic file parameter passing in to the resource name of a datastore.
    part-1. http://odiexperts.com/how-to-refresh-odi-variables-from-file-%E2%80%93-part-1-%E2%80%93-just-one-value
    part-2. http://odiexperts.com/how-to-refresh-odi-variables-from-file-%e2%80%93-part-2-%e2%80%93-getting-all-lines-once-at-time
    For me first part is working fine where as in second part i made canvas looks like
    Vlinevariable(refreshing variable)------------------dyanamicfile(refereshing variable)--------------------- interface.
    Interface looks like Flatfile to db ,km's are lkm file------sql and ikm is sql incremental update
    Vlinevariable is working fine where i am getting numbers in sequence manner to assign in to code of dynamicfile variable and in dynamicfile is not taking that value in to that code and causing session failed.
    The code which i put in a refreshing code of dynamicfile is followed below
    select     samplefile1_csv     C1_SAMPLEFILE1_CSV
    from      TABLE
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=code_generationSNP$CRLOAD_FILE=C:\file/my_test_file.txtSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=1SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=samplefile1_csvSNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=50SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
    For the firstrow the number has to get from vlinevariable where in my case not working .
    In session while loading the interface (load data) i am getting error like
    message-------------- ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection file_tgt.
    Caused By: java.sql.SQLException: File not found: C:\file/
         at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:160)
         at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
         at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
         at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeQuery(FilePreparedStatement.java:131)
         at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java:602)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeQuery(SnpSessTaskSql.java:3078)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:571)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)
    source code is select     a     C1_A,
         b     C2_B
    from      TABLE
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=sample1SNP$CRLOAD_FILE=C:\file/#PROJECT1.FILENAMESNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x002cSNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=1SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=aSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=12SNP$CRACTION_ON_ERROR=0SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=bSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=2SNP$CRLENGTH=50SNP$CRPRECISION=12SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
    target code insert into STAGING.C$_0SAMPLE1
         C1_A,
         C2_B
    values
         :C1_A,
         :C2_B
    KIndly help me and thanks in advance.

    ODI is complaning it cannot locate the file. Try replacing the '/' character with a '\' after file in the designated filepath.

Maybe you are looking for

  • How to use different  numbers ranges in LSMW for a material in 8plants

    Hi all, I have to upload data using MM01 in LSMW by using external numbers. the MATNR for materials are like this 17240,22818,82618,487218,7218,26418 how can i take these numbers in LSMW.i have 61 material numbers to be extended to 8plants.can i uplo

  • How do I move My iCloud under Favorites?

    I've read the instructions about creating a "Drop Box" from iCloud by: 1 Going into Finder under Go; 2. Depressing the Option key for Library; 3. Creating a folder marked "My iCloud Documents" inside the "Mobile Applications" folder; 3. Dragging that

  • Image from Database

    I have a Table with ReportElements. Every Element have a ID (ReportElementID) and a String (reportElementValue) or a Image (ReportElementBLOB). To show the String in my report I use a SQL-Formular: "sqlCompanyName" - "(SELECT ReportElements.ReportEle

  • How to Enhance SPRO so that Config can be maintained in Production System

    I have a requirement to Enhance the configuration nodes within SPRO so that the Client can directly edit specific configurations that would pose a risk to the business if they have to wait for the production release. I have to enhance the following N

  • Link to printer on Adobe Professional

    I am looking to add a link to a printer on Adobe Professional. So if I send the document to a third person, they should be able to click on the link and the link should take them to their default printer. How do I go about doing that? thanks