Show Report Variable in the title

Hi all,
I need to know if it's possible to show in a title of Answer a report variable and, if it's possible, how can I do.
Thanks a lot
Steve

Hallo Venkat,
Thanks for your reply!
I'd like to have the most recent loaddate in the title, that works fine now.
However, i'm struggling with the format of the variable, maybe you have a tip how to change that.
This is what i've done:
1. Created repository initialization block "get most recent loaddate". This refreshes every day. The query is basicly a select on my loadtable to get the max date from the loadtable.
2. Then i created a dynamic repository variable "get most recent loaddate" which retrieves from my initialization block.
When i set default to '31-12-2007' (just for checking), i creates TIMESTAMP '2007-12-31 00:00:00'.
3. So, when i use the variable in the title, i get all this text. I'd like to just see the date instead.
Do you have a suggestion how i can set the datatype to date from the variable?
Thanks
Sandra

Similar Messages

  • Using variables in the title of the graph

    Hi Gurus,
    I would like to use - for example a presentation- variable in the title of a graph.
    I assign a value for that variable in dashboard prompt.
    Does anybody know the syntax of using variable in the title of a graph
    (Not in a Title view!)
    Thanks in advance .
    Regards
    Laszlo

    You can reference presentation variables in the following areas :
    Title Views
    Narrative Views
    Column Filters
    Column Formulas
    Conditional Formatting conditions
    Chart scale markers.
    Gauge range settings.
    Static text.
    Direct Database Requests
    Dashboard prompts
    iBot Headlines and text

  • Session variable in the title

    I want to add my session variable in the title.
    I used the following:
    @{biServer.variables['NQ_SESSION.myvariable']}
    and I got the default session variable value and not the current one.
    I know about the way to add column and use it in narrative text, but I want it in the title.
    Can someone please assist?

    Look into these http://obiee101.blogspot.com/2008/02/obiee-adding-session-variables-to.html
    http://obiee101.blogspot.com/2007/12/obiee-referencing-session-variables-in.html
    Display Session Variable in Title View
    hope answered.
    Cheers,
    KK

  • Need Calendar Year  as a Variable in the Title of a Table using WAD 3.5

    I am using Web Application Designer 3.5 for the first time.
    I am modifying a template that has the following table object in it:
    </object><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TABLE_4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_5"/>
             <param name="CAPTION" value="Employee Information"/>
             <param name="WIDTH" value="966"/>
             ITEM:            TABLE_4
    </object></P>
    The Caption of the table is currently set to "Employee Information".  I need the Caption of the table to say "2007 Employee Information" where the year is the previous year.  In other words, if the web application is executed in 2008, the title would say "2007 Employee Information".  If the web application is executed in 2009, the tilte would say "2008 Employee Information".
    I am very new to BW and WAD so a detailed explanation would be greatly appreciated.

    Goto the Query Description and click on the Text variable icon.
    Create a text variable of processing type as customer exit which populates the previous year value.
    Use this text variabkle along with the Query Description. So your description will look something like &TXT_VAR& EMPLOYEE INFORMATION
    Attach this query as dataprovider to the table item in WAD and you can see the table caption as the previous value followed by Employee Information.
    Hope this helps.

  • Show file name as the title for a photo in Photos app

    If my memory is correct in iPhoto when you hovered the cursor over a photo it displayed the title assigned to the photo, but if you had not assigned a title it showed the file name. In Photos app the only way I have found to see the file name is in the info panel. Other wise it only shows untitled when you hover over the photo. You can copy/paste in the info pane but thats a pain if you have hundreds of pics with no title. I only named a few in iPhoto as I preferred to see the file name assigned by the camera. Any one know if it's possible to see file name and not untitled?

    See this discussion:  Re: Where are photo file names?
    Photos does show the filenames only in the Info panel, and if you wrote the filename into the title field as a title, Photos will suppress it. in some cases

  • Show inside dynamic text the title for multiple images on mouseover

    I have 25 animated movieclips dragged on the stage and they have similar instance names for easier manipulation purposes inside programming using loops. The instance names look like this: image0, image1, image2 and so on.
    Each time I go mouseover on one of these unique images I want to show the unique title of that image using for all titles just one dynamic text container named imageTitle.
    I have succeeded to make this work image by image but this would require me to copy paste and modify for each image the following code.
    image0.onRollOver = function() {
        imageTitle.text = "First image title";
        imageTitle.textColor = 0x000000; // setting the text color here
    image0.onRollOut = function() { 
        imageTitle.text = "Choose an image";
        imageTitle.textColor = 0x000000;
    Question: The above code would work but seems redundant to me. Since I have similar instance names (image0, image1, ....,image24), how can I put this code inside a loop or something in order to work for all images without repeating this code 25 times.
    Update: I have added an array to the project that contains all the titles:
    var imagesTitles = new Array("First image title", "Second image title", .... ); 

    imageTitle.textColor=0x000000;
    for(var i:Number=0;i<imagesTitles.length;i++){
    this["image"+i].ivar = i;  // key step
    this["image"+i].onRollOver=function(){
    imageTitle.text = imagesTitles[this.ivar];  // key step used here
    this["image"+i].onRollOut=function(){
    imageTitle.text="Choose an image";

  • Role Menu in WAD is not showing reports as per the role attached

    Hello,
    I am using one role in the "ROLE MENU" web item in Web Application Designer(WAD).
    But, its not showing the reports attached to the role used in the WAD.
    What is the problem even if i am mentioning the correct role name in the properties of ROLE MENU.
    Please help me out.

    Hi Steve
    What BW Front-End Support Package are you using ?
    Sometimes it does matter especially with Role menu web item.Check with it
    -Doodle

  • Showing environment variables on the logon screen?

    How can I show the OS environment variables of a user on the login page of an application. Things like OS, logged in user (this is the user logged in in the OS), screen resolution, browser etc... The logged in user is the most important data I want here...

    Hi Tom,
    Please check out the following threads as they should help:-
    Re: Getting windows username from Oracle Apex
    Re: Active Directory Single SignOn Session ..
    Regards
    Keith

  • Is it possible to change a report variable inside the sapscript

    Hi
    I have to adapt a sapscript and i need a certain value for a variable.
    For ex ekko-bukrs is empty in the report and i want to change it in the sapscript and give it a value
    i tried the next:
    /: define &ekko-bukrs& = '0001'   but it did not work
    Is it possible to change this variable in sapscript?
    I cannot change the report since it is sap standard.

    Hi Seba,
       you can use perform in the sapscript and then you can achieve your scenario in program.
    see example code below and modify according to your needs,
    /:           PERFORM GET_PURORG_ADDRESS IN PROGRAM ZM_PURCHASE_ORDER-------->call this perform in sap script
    /:           USING &EKKO-EKORG&
    /:           CHANGING &V_EKORG&
    /:           ENDPERFORM
    FORM GET_PURORG_ADDRESS      TABLES in_par  STRUCTURE itcsy------------------>call this in program
                                          out_par STRUCTURE itcsy.
      DATA :V_compcode LIKE <tablename-fieldname>.  
    if compcode is initial.
    then assign here.
      IF v_compcode IS NOT INITIAL.
        out_par-value = v_compcode.
        out_par-name = 'V_COMPCODE'.
        MODIFY out_par INDEX 1.
      ENDIF.
    Edited by: suresh suresh on Jul 30, 2009 11:15 AM

  • Show report different at the client

    hi for all
    i design report by crystal report . when i run it from crystal i found all is right as i design but when i open the same report from application as report viewer i found the text is different (mean as symbol ( appear as symbol ))
    what i do for this problem .
    thanks for all

    Hello,
    This function returns the file name of the report being executed.
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/plsql/builtins/srw/srw_get_report_name.htm
    Regards

  • Showing Prompt values in the report

    A report contains two prompts. Users want those values shown in the report, ideally in the title. Is this possible? If so, please provide some direction.
    Regards,
    JS

    You can do so by using presentation variables for those prompts and then using those variable names in the report title.
    Doing that will give what your users want.

  • Is there a PHP variable that will fetch the TITLE of the file?

    I learned (thanks to David Powers) that you can use $_SERVER['PHP_SELF'] to refer to your current URL, which is useful in situations like putting a "Share on Facebook" button on your page.
    However, some of these social networking sites allow you to also put the Article Title in the same button, so I was wondering if there was a PHP variable I can use for *that*. This way, by specifying the title of the article in the aptly-named title tag of the page, I can put those "submit this page to" links as includes that don't need to be specifically-edited for each page.

    Create a variable for the title and use it in both places.
    <?php
    $title = 'Things you always wanted to know about...';
    ?>
    <title><?php echo $title; ?></title>
    // later on
    <?php echo $title; ?>
    Alternatively, if your page content is generated dynamically, you can store the title in the database.
    Another technique would be to base the title on the page name.
    $page = basename($_SERVER['SCRIPT_FILENAME'], '.php');
    $title = ucwords(str_replace('_', ' ', $page));
    That would store "About Us" in $title if the page is called about_us.php.

  • How to set the title of an urxvt window?

    Hello,
    I have read the manpage and FAQ on the urxvt website, but my problem persists:
    When I try to set the title of an urxvt window, for example:
    $ urxvt -title test
    then the new window shows for a second the title "test" and then switches  to "username@hostname:~".
    Yes, I have
    case $TERM in
    xterm*|*rxvt*|Eterm|eterm|rxvt-unicode|urxvt)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    screen)
    PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
    esac
    in my .bashrc.
    But I think, the explicit command line option "-title" should break the .bashrc, right?
    The default setting by .bashrc is intentional, but in this specific case I would like to set the window title by hand.
    How can I do that?
    Last edited by indianahorst (2011-06-22 11:01:34)

    I would recommend that you not use the PROMPT_COMMAND to set your bash prompt at all.  Use the PS1 environment variable. By using PROMPT_COMMAND, you are invoking a subshell each time you hit return; which is most likely unnecessary.
    In fact, you are probably already setting PS1 in your .bashrc; and that is what is changing your window title.  You can set PS1 to a different value, and then it will not reset your window title with each command.
    Just set PS1 in your .bashrc to:
    PS1="[\u@\h \W]\$ "
    You can see a more complete list of the available \u, \H, etc. options here.
    If you do wish to reset the urxvt window title by setting PS1, do the following:
    PS1="[\u@\h \W]\$ "
    PS1="\[\e]2;\u \W\a\]$PS1"
    Edit:  As I look at this a little closer, I see that your PROMPT_COMMAND is indeed setting your window title.  You could change it to the following:
    PROMPT_COMMAND='echo -ne "${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}"'
    But I would still not use PROMPT_COMMAND and just set PS1 instead.
    Last edited by rockin turtle (2011-06-23 03:53:57)

  • Displaying a presentation variable in a title view

    Hello,
    I've created a title view with the title:
    Category Sales Last 12 Months for @{CountryRegion}
    I also have a dashboard prompt that sets the presentation variable. However, the first time you run the dashboard page the title displays:
    Category Sales Last 12 Months for @{CountryRegion}
    instead of:
    Category Sales Last 12 Months for
    yet when the prompt is set within the dashboard to a value (e.g. Europe), the title correctly shows:
    Category Sales Last 12 Months for Europe
    I thought the title was supposed to not display the presentation variable definition at all if it is not set.
    Please can someone provide some pointers on how to get the title to correctly show the value of the presentation variable in the title whether the value is set or not.
    Cheers,
    John

    You can use the Replace function mentioned above only in column formula. If you do not want to use column formula to display this value, then you can opt for Javascript replace function. To implement it, you need to replace your presentation variable in text object with below code and ensure to check Contains HTML markup checbox.
    &#60;div id=custDiv&#62;@{WeekBetween}{Default Value}&#60;/div&#62;
    &#60;script&#62;
    var i = document.getElementById('custDiv').innerHTML;
    document.getElementById('custDiv').innerHTML= i.replace(","," - ");
    &#60;/script&#62;
    Let me know if this works for you.

  • Trying to get the value of a prompted filter on the Title bar

    Hi,
    I'm trying to display the value of a prompted filter, like a company name, next to
    the report title.
    Is this possible?
    Many thanks,
    Belinda

    What he means is this:
    1) You have to use a dashboard prompt and save it to a Presentation Variable.
    2) Drag any column from the workspace and place it at the beginning of your report, in column position one.
    3) In the fx of this column, delete what is in there and enter the name of the presentation variable (you can click on Variable>Presentation and type it in to have OBI put in the proper syntax).
    4) Now go to the Narrative View and enter @1. The reason you put "1" is because the column is position one. If the column was in position 5, you would write @5. Got it?
    5) Now because the Narrative View is a separate view, in your Compound Layout view, just add the Narrative View and place it on the top, just below your Title View.
    Now you will have the selected value from the dashboard prompt at the top of your report. If you want, you can also put Presentation Variables in the Title View as well. Follow the same syntax convention: @{pvar_name}

Maybe you are looking for

  • Flash Player Not Displayed

    As a base to run off: Windows 7 Home Premium 64-Bit Intel Pentium HP G60 Scanned for viruses, clean (Combofix, Gmer, Housecall, Malwarebytes, Superantispyware, unhackme, tdss killer, NPE, HijackThis) Disabled Norton Antivirus (Temporarily) to see if

  • Currency scaling

    Hi! The queries are showing different values from the Cube.The values are showing scaled. For example, in the query I've got $155 and in the Cube $155000. The key figure are not scaled in the Query Designer. I have this issue in all queries with curr

  • Flash Video Encoder Question(s)

    Hello, This is the first time we've used Flash Video Encoder. We have a video that is about 12 minutes long that is in QuickTime format. We have added it to the FVE queue and have two questions. 1. I think we may have messed up the settings. The firs

  • Transaction should not save if Credit card authorization fails-CRM

    Hi all, In CRM 4.0, we have a requirement where for the payment card authorization if fails the transaction should not get saved. Is it possible, if yes how? Would appreciate a response. thanks in advance, mdv.

  • I can't access the application

    I purchased Final Cut Pro but now when I open the application, it says I need to buy it again. The app store says it is installed. I can't open it. 300 dollars is a lot of money to spend, only to have no access to the application... What's up? Is any