How to get session variable value in conditional formatting

I am trying to format my column according to value of a session variable. Normally when comparing to a static value I select value from add button and write the value. What I want is to be able to do this using a session variable. I select variable presentation and as the variable expression I tried MYDAY, NQ_SESSION.MYDAY, VALUEOF(NQ_SESSION.MYDAY), VALUEOF(MYDAY) but nothing works. By the way it is a date value, I don't know it makes any difference
Any help would be appriciated

I am surprised that it is not possible to select a session variable when you want to use conditional formatting. Apparently you can only base conditional formatting on presentation variable or values within a column.
As a workaround you can create an extra column in your request and use a CASE WHEN statement, where you compare the value of the date with the session variable. Then you can base your conditional formatting on that column.
Regards,
Stijn
Message was edited by:
Stijn Gabriels

Similar Messages

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • How to get the variable value of a step (ex : Step.TS.Data) with C#?

    I try hard but do not managed, I can't get the variable situaded inside a step?
    I have created my sequence object then my step object (I can get the right name of this one)
    but I didn't find in the help the method allowing to get any value of the step variables.
    Any idea? Thank you

    Hi,
    You obtain a reference to your step as an PropertyObject.
    Using this PropertyObject reference you can use the PropertObject.GetValString|GetValNumeric|GetValBoolean.
    Hope this helps.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to show the variable values in key format in the information tab

    Dear all
      in the information tab of the query, we can see all the filters and the variable value. But we can only see the infoobject <b>text</b> of this variable, how can we do if the user needs to see the <b>key</b> of this variable?

    I've referred to the Web API, and find a way to display some specified variable, but since this is the standard webtemplate and we need to show all the possbible variable used in the query. Anybody has better solution?
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="StaticFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=722"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="WIDTH" value="330"/>
             <param name="ELEMENT_TYPE_100" value="VARIABLE_KEY" />
             <param name="ELEMENT_NAME_100" value="0P_WBSO"/>
             <param name="ELEMENT_TYPE_101" value="VARIABLE_KEY" />
             <param name="ELEMENT_NAME_101" value="0P_PRJ"/>
             ITEM:            FILTERS
    </object>

  • How to get the variable value in description if I am writing a condition

    I have created a query for TOP N Customers and
    and for N  I am passing as a varaible
    & I want the same value to be displayed in the description
    I tried a lot but I dont  know how to do it
    can any one tell me the solution for this
    Thx & regards

    Hi,
    You have to define a Text Variable of type customer exit and pass the value of the Variable you have created for the condition in the Exit Code.
    You have to use the correct I_Step = *.
    Cheers.
    Ranga.

  • How to get the variable value while starting a session?

    When to execute an interface or scenario, if there are variables related, the session will keep the value of those variables in case to restart the session after failure. However I can't find where they are stored in ODI Repository. Could anyone give me a hand?
    Thanks in advance!
    Best wishes,
    Satine

    See if this helps you
    SELECT svd.var_name,
           svd.var_n AS numval,
           svd.var_d AS dateval,
           svd.var_v AS strval
    FROM snp_var_data svd,
         (SELECT sp.project_code || '.' || sv.var_name AS fullvarname
          FROM snp_project sp, snp_var sv
          WHERE sv.i_project = sp.i_project) svp,
         snp_var_sess svs
    WHERE     svd.var_name = svp.fullvarname
          AND svs.var_name = svd.var_name
          AND svs.sess_no = :sess_no

  • How to get session bean values in voimpl classes

    Hi Experts,
    To access session values in voimpl the below lines works fine.
    Map sessionScope = ADFContext.getCurrent().getSessionScope();
    String userName = (String)sessionScope.get("userName");
    Can any one please help me in getting the values from session bean in voimpl.
    Regards
    Gayaz

    Hi Jabr,
    Please have a look into this post. This is for implementing ADF search and pass bind variables while performing search.
    how to pass bind parameters while performing search
    Regards
    Gayaz

  • How to get the variable value in a flatfile

    I have some 2 line string in a variable I wanted to see this value in a flat file.
    Thanks,
    Narthan

    Hi Narthan,
    If I understand correctly, you want to use some variables in a Flat File Connection Manager. If in this case, we can use variables in a Property of Flat File Connection Manager. For more details, please refer to the following steps:
    Click the Flat File Connection Manager in Connection Manager tab, then navigate to Properties window.
    Click “…” next to the Expressions property to open the Property Expressions Editor.
    In the Property Expressions Editor dialog box, select the corresponding property at the Property drop-down list.
    Click “…” next to the Expressions property to open the Expression Builder, then expand Variables and Parameters folder to select the variable.
    Reference:
    http://www.mssqltips.com/sqlservertip/1084/dynamic-flat-file-connections-in-sql-server-integration-services/
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to get the input value as a columns headings of the kye figer

    Dear all,
    the senario is i have keyfiger heading like DESPATCHES MADE ON (0CALDAY) and CUMMULATIVE DESPATCHES FOR (0CALMONTH), the 0CALDAY is the input value of the report. so how to get the value of the 0CALDAY and 0CALMONTH in the heading name of the key figer.
    I really appreciate for any help on this.
    wil assign pts for sure...
    thanks
    regards
    Mohan

    Dear  Venkat Ambati,Sumit Singn,Masi dandavate,
    thanks for reply.....
    ya got u r value able inputs but i don't no how to get the variable value to the column heading, if u guy's having any doc's means plz send me the same, my mail id is <u><i>[email protected]</i></u> or <i><u>[email protected]</u></i>
    thanks n regards
    Mohan

  • How to clear the variable value in session store?

    I'll try to build form for search. There are LOV and
    search button on form. When user don't select anything then push
    search button, I'd like the report to show query everything. I
    mean the report will show like condition where id like '%'.
    And I send variable between form to report by using session
    store.
    I select nothing in LOV but value that return by LOV is
    not null. It's in stead of old value of LOV.
    Please tell me.. How to clear the variable value in
    session store? I'd like to set it to null. If you have greater
    way to do like this, please tell me.
    Thank you.

    Please suggest on this..
    Thanks.

  • How to get all the values of a variable with F4 with checkboxes to select

    Dear Experts,
    After Executing a query by giving let 3 values(Out of 10 Values) to a variable.
    To give 2 more input values to the same variable(i.e.,total I wanted to give 5 inputs this time ),after refreshing the query,for that variable if I click F4, I am seeing the historical values(i.e.,3) and remaining 7 values also But with out any Check Boxes besides them to select the 2 inputs.
    In the same F4 Screen, If I click all values(an Icon at The bottom),then also Im seeing but no check Box.
    I hve tried by deleting the Delete Personalization also,but no use.
    Please tell me How to get all the values with F4 with check boxes to select ,whatever I want??
    Thanks in advance

    Take a look at the InfoObject and go to the Business Explorer tab. If the 'Query Def. Filter Value Selection' is set to 'Only Values in InfoProvider', you're only going to get the values in F4 that exist in the InfoProvider, not everything in the Master Data. This would need to be changed to the value of 'Values in Master Data Table' if you want it to show everything possible when F4 is chosen.
    Likewise, you're going to need to look at the query and go to the Advanced tab for the InfoObject. Make sure that the radio button for 'Values in Master Data Table' is selected. If not, then you should change that selection.

  • How can i get this variable value into second page IN BSP

    Hi friends
    I have variable wk_matnr value 'ABC' in first page of BSP.
    How can i get this variable value into second page.
    Moosa

    Hi,
    you can define variable (page attribiue) on the second page with the same name. You can realise the Navigation with Button ther started onInputProcesing routine. In onInputProcesing you have to call navigation->set_parameter with attribut name as parameter and then starting the navigation. If you have checked the auto property on the variable on second page and varable have same name, the value of variable should be transported.
    [See this tutorial|http://help.sap.com/saphelp_erp2005/helpdata/DE/1a/c5133a62983c0ae10000000a114084/frameset.htm]
    Best regards
    Bogdan

  • How to Handle Blank Field Value based Condition in SmartForms

    Dear Sir,
    In SMARTFORM , we need to define a Condition that incase Field Value is not equal to  BLANK value (blank means that field is empty) then a specific text gets printed .
    Our problem is that  We do not know as how to define  Empty Field Value  based condition .
    Had it been Non Empty Field value based condition then solution was simple and could be done in following way :
    Field Value                        R                     Comparision Value
    WA_KZDKZ                      =                      'X'
    In our case , we need to give Blank (Empty Value) instead of 'X' .
    Kindly help us pl .
    Rgds
    B Mittal

    Hi,
    To handle blank field values in SMARTFORMS,
    Go to the conditions tab in your SMARTFORM and give condition there
    Field                Comparision operator          value
    <Field name>      <> Here symbol is diff     space.
    eg:
    wa_mara-matnr    =/                                   space.
    Regards,
    Santosh Kumar M.

  • How to get text verable value

    how to get text verable value
    Scenaior
    IN a query designer ,I had create a formula, this formual use two selection ,and this formula description must use text variable ,
    this variable must get current system time and make a offset like+1 or +2,how can i do this I know SAP have stander text variable 0cmontht can get current system time ,but It is can not offset
    any one can help me
    regard
    wenlong

    Hi Wenlong,
    U can create a text variable of type 'user exit' and wirte code in backend to offset the value.
    Regards,
    Rathy

  • How to get form upload value...?

    Hi, I'd like to know how to get form upload value?
    I have my initial page, index.cfm that has a upload input box
    (named "fileToUpload")that submits to action.cfm. In action.cfm I
    tried to get the value of the input by doing
    <cfoutput>#form.fileToUpload#</cfoutput> but instead I
    got a string like
    ("E:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\neotmp5263.tmp"),
    I expected it to be the value that was in the upload input field
    (i.e. "E:\My Pictures\Flowers.jpg"). How do I get this?
    Thanks,
    noijet

    CFFILE.ServerFile
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000192.htm#2712126
    CFFILE ACTION=Upload variables
    File variables are read-only. Use the CFFILE prefix to
    reference file
    variables; for example, CFFILE.ClientDirectory. The File
    prefix is
    deprecated in favor of the CFFILE prefix.
    CFFILE.AttemptedServerFile
    CFFILE.ClientDirectory
    CFFILE.ClientFile
    CFFILE.ClientFileExt
    CFFILE.ClientFileName
    CFFILE.ContentSubType
    CFFILE.ContentType
    CFFILE.DateLastAccessed
    CFFILE.FileExisted
    CFFILE.FileSize
    CFFILE.FileWasAppended
    CFFILE.FileWasOverwritten
    CFFILE.FileWasRenamed
    CFFILE.FileWasSaved
    CFFILE.OldFileSize
    CFFILE.ServerDirectory
    CFFILE.ServerFile
    CFFILE.ServerFileExt
    CFFILE.ServerFileName
    CFFILE.TimeCreated
    CFFILE.TimeLastModified
    Ken Ford
    Adobe Community Expert
    "noijet" <[email protected]> wrote in
    message
    news:efc7gq$n7s$[email protected]..
    > Hi, I'd like to know how to get form upload value?
    > I have my initial page, index.cfm that has a upload
    input box (named
    > "fileToUpload")that submits to action.cfm. In action.cfm
    I tried to get
    > the
    > value of the input by doing
    <cfoutput>#form.fileToUpload#</cfoutput> but
    > instead I got a string like
    >
    ("E:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\neotmp5263.tmp"),
    > I
    > expected it to be the value that was in the upload input
    field (i.e.
    > "E:\My
    > Pictures\Flowers.jpg"). How do I get this?
    > Thanks,
    > noijet
    >

Maybe you are looking for

  • Laserjet 4200 bogs down

    I have a user that prints large files to a 4200 connected locally. These files often are loaded with graphics (they are medical test results). For the first 5-6 pages it prints reasonably fast, not as fast as plain text, but good under the circumstan

  • How to reset my internal hard drive as start up drive?

    Recently my Mountain Lion OS X got screwed for some unknown reason & it wouldn't boot and my Snow Leopard OS X Install DVD wouldn't finish the installation. I had access to ubuntu so I thought may be i could partition my Macintosh Hard Drive and inst

  • Mac Mini Server to OS X Lion

    All, I am trying to get my head around the steps that I would need to do in order to upgrade my Mac Mini server that is currently running OS X 10.6 to OS X 10.7 Lion.  I have already purchased the $29.99 Lion upgrade for our other machines in the hou

  • Unable to restore from a backup.....why?

    I am getting the error: "iTunes could not restore the iPhone Artic6 iPhone because the backup was corrupt or not compatiable with the iphone" When looking at the log in the folder: C:\Documents and Settings\Artic6\Application Data\Apple Computer\Logs

  • Font size increases !!!

    After converting to templates for use with Contribute, some pages have started using a default font size that is larger than before. This only appears with IE, both 6 and 7, but not with Firefox. You can see my problem in the "Contact Us" and the Pub