How to set sysdate as default date in dashboard prompt

Hi all
I want to set default date(sysdate) in dashboard prompt. How to do that.
I have not done this before.
tell me in clear.
Thanks in advance.

Hi Anand,
The formatting of the data is not something you can change in the variable expression. It is dependent on the data type of the column you used in the prompt. For example, if your prompted column is a DATE data type in your repository file, then you will NOT see a timestamp. However, if your source column is defined as a DATETIME object, then it will always add in a timestamp, even if that timestamp is 12:00:00.
If you don't want a timestamp, go into your repository and in your physical layer, change the datatype of your column from DATETIME to DATE. And in the prompt, keep using the syntax: @{system.currentTime}\[MM/DD/YYYY\]
Good luck and if you find this useful, please award points!
Best regards,
-Joe

Similar Messages

  • How to Get Default Dates in Dashboard Prompts

    i just want to select two dates by default on the Dashboard prompts.
    Those two dates would be last day of the last quarter and last day of this quarter.
    Any body please give me the select statement to pick those two dates(last day of last quarter and last day of current quarter)by default on the dashboard prompts?
    Thanks in Advance

    If you just want it once, then in the dashboard prompt "Default to" window, select "SQL Results" and enter this:
    SELECT CASE WHEN 1=0 THEN table.column ELSE TIMESTAMPADD(SQL_TSI_QUARTER,0, TIMESTAMPADD(SQL_TSI_DAY, DAYOFMONTH(CURRENT_DATE)*-1,CURRENT_DATE)) END FROM "subject area"
    UNION
    SELECT CASE WHEN 1=0 THEN table.column ELSE TIMESTAMPADD(SQL_TSI_QUARTER,1,TIMESTAMPADD(SQL_TSI_DAY, DAYOFMONTH(CURRENT_DATE)*-1,CURRENT_DATE)) END FROM "subject area" This will give as the default, the last day of the last quarter and the last day of the current quarter in your multi-select prompt.
    Edited by: David_T on Apr 26, 2011 12:12 PM

  • Setting sysdate as default date in oamessagedateinput bean

    hi all,
    I have to set sysdate in the oamessagedateinput bean, when the page is rendered.
    For that i have created a vo with query:
    select sysdate from dual;
    i have attached this sysdate attribute with oamessagedateinput bean. Still when the page is rendered the oamessagedateinput bean, is empty?
    can anybody help on this? y this is happening?

    u609740 ,
    I solved this problem long back....:)! Also written a small article on the same for others' refrence:
    http://mukx.blogspot.com/2007/11/setting-default-selected-date-for.html
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How do you set up a default Date To based on Date From for report parameter

    I'm working on a report. I have been asked to set up a default Date To based on Date From for the report parameters. I mean when running a report, if an end user selects a value for parameter Date From, system will automatically populate the Date To parameter based on the Date From + 6 days.
    I guess there's gotta be something to do with Value Set. Do any of you guys know how to go about this?
    Any suggestion is greatly appreciated.
    Dennis

    You should be able to retrieve the value of other valueset using :$FLEX$.<valuesetname> I'm not sure about the exact syntax, it's been a while since i worked with applications.

  • How do I change the default "date range" when searching in the forums?

    Hi all,
    New to the SAP forums...  How do I change the default date range when searching in the forums?  I am getting a 90 day search by default.  Then I have to change it and search again.  Argh!
    Thanks,
    --Amy Smith

    Hi Amy,
    the default date range cannot be changed by users. It is defined system-wide.
    Regards,
    Michael

  • How to set page number & current date in sqlplus result

    how to set page number & current date in sqlplus result

    Hi,
    Use the TTITLE command. For example:
    SET     PAGESIZE     15
    TTITLE     LEFT  &_date     RIGHT  "Page:" FORMAT 999 sql.pno     SKIP 2
    SELECT     ROWNUM
    ,     ename
    FROM     scott.emp
    ;Output:
    12-Jan-2011                    Page:   1
        ROWNUM ENAME
             1 SMITH
             2 ALLEN
             3 WARD
             4 JONES
             5 MARTIN
             6 BLAKE
             7 CLARK
             8 SCOTT
             9 KING
            10 TURNER
    12-Jan-2011                    Page:   2
        ROWNUM ENAME
            11 ADAMS
            12 JAMES
            13 FORD
            14 MILLER 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data. If your question is based on commonly available tables, like those in the scott schema, then you don't have to post any sample data: just post the output.
    Explain how you get those results from that data.
    Always say what version of Oracle (and other relevant softward, SQL*Plus in this case) you're using.

  • HT201684 In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?

    In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?
    I've tried everything to get a custom umask set for all apps. It just seems impossible...
    Is there a replacement for launchd-user.conf?

    Please file a bug report: https://bugreport.apple.com
    I am sure this is something that got lost, like environment variables, in the Yosemite/iOS merger.

  • Default width for dashboard prompts

    Hi:
    Does anyone know how to set the default width for dashboard prompts? Is there an XML file that contains this value?
    Thanks.

    During creation of prompts you can set additional format just check available icon on that layout. If it is 10g just look at above the heading 'Dashboard Prompt'.
    Pls mark correct/helpful if helps

  • HOW TO SET A ITEM DEFAULT VALUE  to today

    I have a item using select list and I like to set this item default value as
    today's date , such as "select to_char(sysdate,'YYYY-MM-DD') from dual"
    HTMLDB failed recongnize the default value, or throw error Error ERR-9132 Error in PLSQL expression for item default code, ...". I have tried each of 3 avaialable Default Value Types
    Per http://forums.oracle.com/forums/thread.jspa?messageID=443287, it is used to be doable, but the default value type (sql) is no longer avaialble in HTMLDB 2.0
    I would appreaciate it very much if anyone has successfully done this before, either set to today or current month

    Ching - Did you try a PL/SQL Expression using to_char(sysdate,'YYYY-MM-DD')?
    There have been no changes to the item default types available in HTML DB. The thread you referenced is for Oracle Portal, a separate and unrelated product.
    Scott

  • How to set the default value in dashboard prompt?

    Hi there,
    In my Dashboard prompt I'm getting values like:
    Mar 2010
    Apr 2010
    May 2010
    Jun 2010
    How to set the default value to the current month (Jun 2010). I don't want to use "specific value". I want to use the "SQL Result" for populating the default value.
    Appreciate your help

    hi,
    you can create a Repository variable current_month with the expression as
    select to_char(trunc(sysdate),'Mon')from dual
    and use this in the prompt "Default to" Server variable and use this repository variable.
    hope this helps.
    cheers,
    vineeth

  • How to set my own Default Css.

    Hi,
    I'm able to Change the CSS on selection of SelectOneChoice and binding to value to adf config file.
    but initialy getting the ADF default CSS,How can set my one of my CSS file as Default.
    IDE: JDeveloper 10.1.3.2
    Please Suggest me.
    Thanking You,
    Bandaru.

    Hi,
    not really clear what you want to achieve. To change the look and feel of the application to not use ADF browser look and feel you need to write your own skin. See the developer guides for what skinning is and what it does
    If what you mean is how-to switch the default skin upon start-up then this needs to be configured e.g. in a session variable (or wherever you read the current skin name from), which can be done e.g. in a servlet filter.
    Frank

  • How to set video size default for exporting?

    Hi,
    I use quicktime conversion to export video out of FCP. My question is how to set a default video size. Under the options I can change the video size to NTSC 720:480 4:3 (and other choices). How do I set that as the default? Everytime I close out of FCP, the setting revert back to compressor native, which is what I dont want.
    If anyone knows, please email me at [email protected]
    Thanks
    Greg

    You can't. Use Compressor and build a droplet to the exact specification you want, especially if you're going to be doing that format often.

  • How to set the Valid-to-date (datub) of a BOM item

    Is there a way I can set the "Valid-to-date" of a BOM item?
    According to SAP documentation...
    Quote
    <i>"If you change a BOM using a change number, the system determines the valid-to date dynamically."</i>
    Unquote
    I want to "expire" a BOM item. Meaning I want to set the valid-to-date to a date in the past.
    Is this possible at all?
    Thanks for any input.
    Fred

    Ferry,
    Thanks for you reply.
    I do not see a field for the "Valid-to" date in the function module - CS_BOM_EXPL_MAT_V2. There is one for the "Valid-From" date called DATUV. But I would like to change the "Valid-from" date of the BOM item.
    Or is there another way to set the BOM item's valid-to date using this function module which I am missing?
    Fred

  • How to set alarm for same date every month??

    Is there a way (or an app) that will allow me to set an alarm for the 29th of every month?

    It's not an alarm per say but how about setting up a repeating appointment in the calendar app with an alert?

  • How to set Firefox as default browser in Mac OS X via console

    I would like to set Firefox as default browser via the command line in Mac OS X. The goal is to enforce Firefox as default browser for all users of a Mac OS X system by means of a login script. I am also looking for a way to add Firefox to the user's dock from a login script.

    Launch Safari and open its preferences. You set the default browser there.
    Not very logical is it? I think a Microsoft plant came up with that one.
    John

Maybe you are looking for

  • [BO 4.0] Webi scheduling issue

    Hi, We are using Business Objects 4.0. i have a webi report that uses SAP BW as source. We are using DF to create universes for these webi report. In DF Admin tool, we have manually mapped the RFC connection to programID field. While scheduling this

  • Nokia Lumia 520 GPS connection problem

    Hi all, I have a Lumia 520,and When I search for a route offline it says: Can't get your route because your phone doesn't have a data connection. Anyone has an idea what is set up wrongly? Please help. thanks Solved! Go to Solution.

  • ActionListener with JButton and JMenu

    How do I implement actions for both a JButton and a JMenuItem? Would I have to set it in the actionPerformed method(Action e), because that doesn't seem to work, or else I don't know how to do it. Help would be appreciated.

  • Can't install mpkg files anymore

    I'm having a problem installing mpkg files - specifically, the newest ipod update. I downloaded the newest ipod updater file, clicked on the mpkg file to try and install it, and a message popped up indicating that it could not find the program to ins

  • Accidental Volume Name Change

    Today we had an unwelcome name change to our raid array. The name was changed when unwelcome visitors fingered the keyboard and replaced the name of the volume with spaces. This immediately effected all managed computers attempting to access the moun