Saving SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1; in a report

Hi Experts,
The scenario is:
When I open a report and set the prefix to 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' then I save it. Then I close that specific report then open that report again. The 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' is not saved in the report in the prefix section in Advanced tab.
Is there a way to save the SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1; in a report to get the Query log?
Thanks,

OBIEE/BIP Forumer wrote:
Hi A.Y,
Thanks for your answer, but I the Variable I set in the Prefix section is not saved even if I saved the report with the Variable.
Below is the steps I do:
1. I open Report XYZ
2. Click to Advanced tab then I enter 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' or ' SET VARIABLE DISABLE_CACHE_HIT=1, LOGLEVEL=2;' in the prefix section
3. I saved the report
4. Open Report ABC then
5. I re-open again Report XYZ hoping that my prefix variable is saved
6. I go to the ADvancec tab for Report XYZ, but I didnt see the variable I just saved
Thanks,That is strange. Can you try adding the code to the XML instead of adding it to the prefix section and click on SET XML and save the report?
I have highlighted the line of code in bold.
<saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" cacheControl="bypassCache">
<saw:criteria subjectArea="&quot;Financials - GL Budget and Expenses&quot;">
<saw:columns>
<saw:column formula="Ledger.&quot;Ledger Name&quot;" columnID="c0"/></saw:columns>
<saw:columnOrder/>
*<saw:prefix>SET VARIABLE DISABLE_CACHE_HIT=1, LOGLEVEL=2; </saw:prefix>*
     </saw:criteria>
<saw:views xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" currentView="0">
<saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
<saw:cvTable>
<saw:cvRow>
<saw:cvCell viewName="titleView!1">
<saw:displayFormat/></saw:cvCell></saw:cvRow>
<saw:cvRow>
<saw:cvCell viewName="tableView!1">
<saw:displayFormat/></saw:cvCell></saw:cvRow></saw:cvTable></saw:view>
<saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="200510010"/>
<saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="200510010"/></saw:views></saw:report>

Similar Messages

  • Permission to set variable LOGLEVEL  by user

    Is anybody who knows which privileges I have to grant to user to avoid error:
    [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 13015] You do not have the permission to set the value of the variable 'LOGLEVEL'.Please have your System Administrator look at the log for more details on this error. (HY000) SQL Issued: {call NQSGetQueryColumnInfo('SET VARIABLE LOGLEVEL=5; SELECT "Project history"."ID" FROM "Projekty VDP"')}
    User isn't administrator and he shouldn't be.
    I need to debug sth from user perpective.
    I was loking in documentation but without success.

    Hi,
    If the LOGLEVEL variable is overriden in RPD, then you need to check the option 'Enable any user to set the value' to set the variable by SET VARIABLE LOGLEVEL = 2; in Answers. If this option is not checked you will receive the above error if anyone besides Administrator tries to set loglevel at answers.
    Thanks

  • SQL Workshop - SQL Commands - Saved SQL:  Saved set of commands

    Has any thought been given to this, or perhaps this has already been done.....
    A saved set of SQL commands as a template
    For example, when I'm in Excel and I start writing a lookup formula, a guide appears below the cell, reminding me of the format of what comes next. When I know what I'm doing, I simply ignore the guide. When I don't know what I'm doing, the guide is helpful - even linkable to more information.
    Perhaps there are too many variables here to do that....
    In the meantime, I'm creating my own 'set' as I learn - perhaps that's even better.
    Marion in NY

    Hi Kirsten,
    this could be controlled at the database level whereby you create a schema that doesn't own the objects your users are querying but has the appropriate grants and privileges made to it and synonyms or views created to represent the objects. This schema then becomes the parsing schema for the workspace you let your users use. This wont prevent them from creating update statements, but at the database level it will not allow them to be executed.
    Regards
    Andre

  • Using Spry Data Set Variable in Recordset

    I have a page that contains a spry data set and a recordset. The recordset uses one of the variables from the spry data set to filter its results. how do I apply the spry data set variable to the recordset?

    I believe passing this the variable through the URL requires you to update the page, right?
    Yes
    Is there anyway to grab the spry data set variable direct and apply it to your recordset filter?
    The SpryDataSet variable can only be used on the clientside (JavaScript) so you will have to get your recordset using JS.
    A page refresh can be set in motion if you add {useCache: false, loadInterval: 500} to your dataset to then set an observer to your dataset to invoke the page refreash function.
    Gramps

  • OBIEE 10g - Can I use logical SQL to set variable?

    I am trying to set value of a session variable in the Advanced tab Prefix box of a request.
    Assigment of absolute value like this is working good:
    SET VARIABLE MYVAR=1;
    Can I set the variable using logical SQL? Something like:
    SET VARIABLE MYVAR = (SELECT table1.col1 from catname where table1.col2=1)
    Thanks in advance.

    Hi,
    You can create a session variable or dynamic variable in the RPD and try using it in here at the Advanced Tab prefix.
    But still check yourself if you need multiple values returning in the SQL statement.
    Hope this is helpful/ useful.
    Regards
    MuRam

  • Need help with Different approaches to setting variables in a Flash movie in Adobe Flash CS3 Professional Version

    Hi,
    I'm using Adobe Flash CS3 Professional version of Flash
    software,
    I need help and guidance on
    Different approaches to setting variables in a Flash movie,
    what I should do in the fla file, and in the html file.
    Thanks, Gil

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • ODI-SET VARIABLE IN PACKAGE

    HI.
    I am using odi11g.
    i set variable "STARTTIME" To sysdate .
    And "END_DATE" to a default value-- '20-JUNE-1981'.
    Now in package i dropped the variable "end_date",and put the TYPE to "SET VARIABLE" and the value as below:
    #VARIABLES_STARTTIME.[ The projects name is VARIABLES]
    But the value of "end-date" isnt getting reset to STARTTIME.
    should there be a different syntax.

    HI,
    Refresing the variable is working thanks.BUT i was trying to use the variable in a loop.
    Where when the package is run fo rthe 1'st time the variable 'LAST_UPDATE' value should be '20-JUNE-1981' and then it should get set to the value present in 'STARTTIME" for the next time the package is run.
    So, in this case, i need to set the value of the variable in the package itself.
    #VARIABLES.STARTTIME isnt getting set.
    i tried the package as per the below link:[ i use odi1g though]
    http://blogs.oracle.com/dataintegration/entry/using_variables_in_odi_the_tim

  • How to set variables values via VBA.

    Anybody please help.
    How to set variables values via VBA in workbook. SAP Netweaver 2004s.

    Pass variable values with VBA and BI 7.0 funtions to Query
    At first a remark u2013 Iu2019ve read a lot of threads saying that passing values to a query can be done by using VBA code only. Iu2019ve tested it but Iu2019m not sufficient with the new BEX 7.0 API and therefore I use a mixture of BEX 7.0 funtionality and VBA. I create a BEX 7.0 design item button passing the values to a query u2013 I hide this button somewhere on the sheet or on a hidden sheet and I then raise the event to click the button from VBA code. Works fine and the maintenance is easier if something changes in the API in the future again.
    How to start:
    Switch to design mode in BEX Analyzer:
    Implement a BEX 7.0 design item u201Cbuttonu201D
    Click on the button to implement the properties
    Make the input for the commands
    data_provider = dataprovider_1
    cmd = process_variables
    subcmd = var_submit
    No comes the part with the variables u2013 Letu2019s assume a query has 4 variables but you only want to change 1 with the button u2013 an organizational unit for instance.
    Make a range somewhere in the excel with the following structure:
    Name    Index   Value
    VAR_NAME_1      1       Variablename
    VAR_VALUE_EXT_1 1       variablevalue
    Value should contain the name of your variable of course and u201Cvalueu201D the value of your variable
    Set a name for this range with EXCEL functionality but without the header:
    Back to the properties of the button: Insert the name of the range with the variables in the field Command Range:
    If you have more variables to process you can of course enhance your Filterrange!
    In the left upper Corner you have a name for your button:
    Now you can raise the button-click in vba like this:
    Application.Run "'" & ThisWorkbook.Name & "'!Sheet2.BUTTON_35_Click"
    regards, Lars

  • CFCs setting variables

    I am getting a bit confused with cfcs using cfreturn and
    cfinvoke please be patient!
    1.Setting variables in cfc
    In this example cfc I make a query. The cfreturn tag does
    <cfreturn expression /> as I understand it. I don´t
    understand how you define the expression - can you return
    arguments, any column I like in variables? How do I do that?
    <cfcomponent><cffunction><cfargument
    name="user">
    <cfquery name="checkuser">
    select col1, col2, col3, col4, col5, col6
    from user
    where .....=....
    </cfquery>
    <cfreturn checkuser.col1>
    2. Calling cfc:
    In cfinvoke you call a variable using returnvariable="". Is
    it true that the variable doesn´t have to have the same name
    as in the method that the cfinvoke tag is calling? What does return
    variable call? How do I define what it calls?

    In any cffunction, inside or outside a cfc, if you are going
    to return a value, you use the cfreturn tag. You can return
    constants like true, 1, "Dan is so smart", or variables. What you
    return has to be consistent with the returntype attribute of your
    cffunction tag.
    When you invoke a variable, you can use any name you want as
    the return variable. In theory, you don't even know any variable
    names inside the function. The return variable does not call
    anything. It accepts what the function returns.
    It is the cfinvoke tag that calls something. You control what
    it calls with it's attributes.
    Further details are in the cfml reference manual.

  • Calling functions / setting variables in loaded SWF

    You know how you can create a Movieclip object, add a
    function or variable to it, then call that function or change that
    variable from within the SWF that includes it? I wanna be able to
    do that, only with SWFs that are loaded at run time.
    My "main" SWF is simply a menu-type thing. The user clicks a
    button in my MAIN.SWF, and the MAIN.SWF then loads the SWF that's
    associated with that button, using the AS 3.0 prescribed
    Loader()-URLRequest()-addChild() method that everyone always asks
    about.
    This works great. But now I've got some custom objects and
    such (ie., not just strings) within my MAIN.SWF that I'd like to be
    able to share with the loaded SWFs. Preferably, I'd like to use an
    accessor-type function (ie.,
    LoadedSWF.GiveMeTheCoolObject(MyCoolObject);), though at this point
    I'm willing to hack into the object itself (ie.,
    LoadedSWF.CoolObject.CoolField = MyCoolObject.CoolField;) if that's
    what it takes.
    I've tried just calling the functions and setting the fields,
    but the AS 3.0 compiler doesn't care for that sort of nonsense on
    it's generically-defined objects. Notice also that, at run time, a
    call to LoadedSWF.hasOwnObject("GiveMeTheCoolObject") returns true.
    So my big-brained colleagues, what's the magic?
    In advance, thanks for the help!
    Scott

    Kglad,
    quote:
    Originally posted by:
    kglad
    from that error message it appears your function is expecting
    a member of the MyCoolObject class, correct?
    and MyCoolObject is not an instance of that class. so, you
    need to fix that. ie, create a member of that class and use that
    class member as the function parameter.
    Heh, that's what the error message says all right. But the
    object actually IS a MyCoolObject class object. I stared at this
    thing for hours, and MyCoolObject IS an instance of that class. I
    tried various casting combinations (including casting it to an
    Object and passing that) but had no luck whatsoever.
    So I googled this particular runtime error message ("Error
    #1034: Type Coercion failed: cannot convert ") and found a ton of
    links to other people having a similar issue. Typically, the
    problem was just as you said, someone passing a button as a string,
    that kinda thing. But one guy had a problem with an object he
    derived from the Event class. After hours spent trying to get it to
    work, he tried overriding the base class' clone() method and got it
    to work:
    http://www.asserttrue.com/articles/2006/10/14/custom-events-in-actionscript-3-0
    As for my project, I took a long hard look at the overall
    architecture of my project and decided that it was best if all the
    "real work" took place in the MAIN.SWF file. This approach would
    solve a couple of other problems, and it just makes sense in a
    "separate the display from the data" mentality.
    So (and this is the interesting part) I changed the API for
    the LOADED.SWF to accept String pairs (ie.,
    LoadedSWF.AddToDisplay(Name:String, Data:String) ) instead of
    accepting MyCoolObj. Ran it, and Viola, now we're working without
    any run time exceptions. After that glorious moment, I created a
    couple of other APIs that just accepted base classes (one an int
    type, the other a function type) and was happily on my way.
    From this, I gather that passing non-base class (ie, derived
    class) objects to loaded MovieClips via custom function APIs is...
    maybe not as straightforward as we'd expect. In the grand scheme of
    things though, not a big deal: As far as I'm concerned AS3 rocks.
    Again Kglad, thanks for all the help: Your input on how to do
    this was the big push that I needed to get over the last technical
    hurdle of this project.
    To those who are reading this topic for the "how do I call
    functions and/or set variables in a loaded SWF?"
    The short answer is to cast the loaded SWF's content object
    as a MovieClip and then call the function or alter the variable:
    //Load the SWF (you've seen this code a million times)
    var LoadedSWFObj:Loader = new Loader();
    var MyURL:URLRequest = new URLRequest("LoadThisSWF.SWF");
    LoadedSWFObj.load(MyURL);
    //This is within your Event.COMPLETE handler:
    //Cast it as a MovieClip object and work with that.
    var LoadedSWF:MovieClip = LoadedSWFObj.content as MovieClip;
    // or another way to cast it is:
    var LoadedSWF:MovieClip = MovieClip(LoadedSWFObj.content);
    //Call yer function:
    LoadedSWF.CallMe();

  • Set variable value from a query - is it possible?

    Hi all,
    I need to use a 'precalculated' value in my report measures' calculations.
    Is it possible to set a variable value as a result of a query?
    Thanks in advance,
    Alex

    Hi,
    In my report, I need to calculate one of the columns as a [certain measure] / [result of another query]
    I didn't succeed to include the [result of another query] as a column in my report's request, but it would be very easy to calculate this [result of another query] separately.
    The [result of another query] value is same for all the rows of my report.
    What I'm trying to do is to run a query before my report (e.q. in the Prefix section), set a variable = [result of another query] and then use this variable in the column calculation of the report.
    Is this possible?
    Thanks,
    Alex

  • Set Variable column in the Column page?

    Hi,
    I try to do this exercise but I facing some understanding problem, please guide me.
    This is BIEE example to do Oracle BI publisher and Dashboard.
    1. Create a dashboard prompt for the region and state to filter the BI publisher report results on the dashboard.
    a. In Answers, open Region and State Prompt.
    b. In the Set Variable column, select None from the drop-down list
    c. Save the prompt in the My Sales folder as Region and state Prompt – No Variable.
    My question from step a and b, I did not see any “Region and State Prompt” in Answers. Then clik Subject Areas – SupplierSales, then assign Region, and State. Then I try to make Set Variable column None. But I did not see where is Set Variable column in the Column page. May be I am doing wrong.
    Please guide me to complete this.
    Thanks,
    Jo.

    BindingContext bindingctx = BindingContext.getCurrent();
    BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer)bindings;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("prv_supvo1Iterator");
    ViewObject vo = dciter.getViewObject();
    vo.setNamedWhereClauseParam("BDIVN", divn);
    vo.executeQuery();
    where BDIVN is our bind variable.

  • How to call a set variable?

    Greetings,
    I am creating an apple script that runs a netstat command to grab an IP address. This works.
    The "Set Value of Variable" (called XX) shows the IP address that netstat runs.
    The next apple script activates "Terminal" just fine.
    Within Terminal, I want to tell it to "telnet" to the IP address from the Set Variable and this is where I am stuck. How do I tell it what "XX" is?
    Thanks,

    If it is the only input item in the input (previous actions can contribute to the input), your statement would be something like:
    set DG to item 1 of the input
    If you are only using the variable in your second AppleScript action, you can also just combine them:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters}
    set DG to (do shell script "netstat -nr | grep -w 'default' | awk '{print $2}'")
    tell application "Terminal"
    activate
    do script "telnet " & DG
    end tell
    return input -- pass on the input
    end run
    </pre>

  • Error: State cannot be saved as variables are not submitted in WAD (Portal)

    Hi Gurus,
    I am getting the following error :
    After opening the report and selecing the free characteristics if I want to go back one screen by right click(context menu)-> Back->Back one Navigation Step it is throwing the following below short dump in the EP portal,please help ASAP:
    The initial exception that caused the request to fail was:
    Error: State cannot be saved as variables are not submitted
    Currently I am on support pack 17.
    Thanks to all.

    hi sunita,
    please check ur bi java pack,
    BIJava patch SPS16p30 fixes the problem,
    such problem can be solved by upgrading java patched.
    hope it will help u.
    thanks.

  • Performance of set variable command in WAD

    Hi all
        The set variable command in WAD is performing really badly. Can somebody please help me to identify how to decrease the response time.
    thanks in advance

    Hi Vikram,
    your link to SAP Help is wrong. It refers to BW 3.5 (NW04), but your URL looks like BW 7.0 (NBW04s). So you need another SAP Help link. Try this one:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm</a>
    Regarding to example 3 your link should look like this:
    <a href="http://sthbmdm8dv.client.com.50000http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZPlan_W00500&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=zplan_appid&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=10002002">http://sthbmdm8dv.client.com.50000http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZPlan_W00500&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=zplan_appid&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=10002002</a>
    If the variable screen starts up, you should suppress it in template properties.
    best regards
    ARNE
    Edited by: Arne Witte on Jan 18, 2010 6:40 PM

Maybe you are looking for

  • Delete flv from server

    How do I delete an flv file from a media server? I have an application in which registered users can store flv files. When a user is removed from the system, I want to remove their name from a database and all of their videos from the server. I've ta

  • How do I change the way I get my pictures with iPhoto?

    Hi everyone, Currently i plug in my Canon Powershot SD550 camera and iPhoto opens, i can download the pictures into iPhoto directly from there. i assume it was a setting I made when i first got the new computer and I dont know how to turn it off. How

  • Apple iPad Camera Connection Kit compatibility

    I was wondering, will the iPad 2 recognize the iPhone 5s when using Apple iPad Camera Connection Kit? I saw that there are two connectors that come with the kit. If i use the connector that has the camera emblem and plug  it to connect my 5s, will it

  • B/S & P&L Report

    Hi, What is the T-Code or Path to check the Standard Report of Balance Sheet & P&L Statement as per Business Area Wise & Profit Centre Wise. Thanks, Shekar.

  • Converting the user response date value to date data type

    Hi, I have a parameter which takes date as input (from date and to date). I need to get the difference between these two dates. So i can use the function todate(userresponsedate,"dd/mm/yyyy") but here i cannot hardcode the date format as dd/mm/yyyy.