HOW TO DISPLAY CURRENT DATE TIME IN MASTHEAD IN BRANDING IMAGE AREA

Hi experts,
I need to display current date time in masthead also and also i should change the welcome area to my own text there how it is possible.....
and plz tell detail coding also as i dont have idea to change the coding plz help in this............
where to chan ge and how to change.............
waiting for u r responses......................
Regards,
Shilpa.

Shilpa,
go to system administratioon-system configuration-support-support desk-browse deployment-check for com.sap.porta.navigation.masthead.par and download it to nwds.
when you import it to NWDS jar file will be missing so you need to manually add that to PORTAL-INF/private/lib.
once you do this go to HeaderiView.jsp in PORTAL-INF/jsp folder.
write
<%= new java.util.Date()%> after <hbj:form id="HeaderForm">.for that matter u can write this at any line after this statement
once you do that select qucik par upload from the tool bar and deploy it.
go to system administration-system configuration-support-support desk-administration console and upload the par file
before following these steps take a backup of par file
reward points if helpful

Similar Messages

  • How to display current date in query header?

    Hi,
    How to display current date in query header?
    I use Query Designer for development.
    Thanks,
    Arun KK

    Hi Arun,
    You can define fixed header lines and footer lines so that when you generate the query list, they can receive current values of certain fields. When you define a header line or a footer line, you must specify a character string of the type &field, where field is the short name of a field.
    This function allows you (for example) to place a sort criterion in the header line.
    You can include the following fields as variables in the headers directly:
    %NAME
    Name of the user processing the query
    %DATE
    Current date
    %TIME
    Current time
    %PAGE
    Current page number (6 characters)
    %P
    Current page number (3 characters)
    These fields can be used in the short forms N,D,T and P. If you want to use these letters as short names for query fields, the field values from the query are used.
    You can also see the link
    [http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd68721faf11d6b1d500508b6b8b11/frameset.htm]
    Regards,
    NR

  • How to put current date time in a JTextField?

    Hi all,
    I have a problem. How can I put current date time in a JTextField? Pls help me!
    Thank you!

    Hi all,
    I have a problem. How can I put current date time in
    a JTextField? Pls help me!
    Thank you!http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JTextField.html
    http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html

  • How to display the Date Time using the System Time zone

    Friends,
    Can anyone help me with below scenario..
    I have to display Date Time on a jsff page, This value associated to one of Transient View object populated from the database.. Is there any way I can handle on the screen to display the same date /time bassed on the system time zone ?
    I know one way how we can handle it.. while populating to View object we can set the time based on the system time zone.. but it would be easy and simple if there is any approach I can use on UI layer itself..
    thanks

    I don't understand why this display doesn't pay attention to the date/time format settings that are set in the language and text prefs.
    Those settings are used for date OR time, and provide for different displays depending on the space available. The menu bar does not have a fixed space available, and wants both date and time.
    In Leopard, it used the medium time format. To get the date and time, you could modify that format to include the date, but that could cause problems with software that happened to use the medium time format and expectede just the time. Also, you might want to change the medium time format without changing the menu bar display. For these reasons, Snow Leopard's menu bar clock uses its own formatting for data and time display.

  • How to assign current date/time to a formula variable in Query Designer

    How do I assign the current date to a formula variable in Query Designer? I need to use current data in a calculation and just need the date the report was run.
    Thanks

    Hi Philip,
    There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
    Hope this helps...

  • How do get current date/time in GMT?

    Is there any way to get the current date and time in GMT (while my current locale is not GMT)?
    In Java I can do this:
    long currenttime = System.currentTimeMillis();
    java.text.SimpleDateFormat df = new java.text.SimpleDateFormat("yyyy/MM/dd HH:mm:ss z");
    df.setTimeZone(java.util.TimeZone.getTimeZone("GMT"));
    java.util.Date date = new java.util.Date();
    date.setTime(currenttime);But, there seems to be no way to do the equivalent in BPEL in SOA Suite.
    I did some research and I think I could appy the XPath 2.0 function adjust-dateTime-to-timezone() to the current time, but that function is not available.
    Using SOA SUite 11.1.13.0.
    THanks.

    have you tried changing the stylesheet version in the xsl to 2.0 and then try the function again ?
    by changing this version it was possible to use newer functions, which weren't available in the designer

  • How can we specify date time under History Tab of Imaging

    Hi
    I am using Oracle Webcenter Imaging 11.1.1.5, when i search for a document and view it, under History tab i have following information available.
    Date and User
    The date specifies the date when it was modified and user specifies UserName who modified it.
    I want date time over there instead of date.
    Can someone help me how to achieve this?
    Regards
    ACM

    In answer to your original question:
    970992 wrote:
    However, when I look at the execution plan, I see that the last predicate (to_number(answer) > 0) has been executed the first. Henceforth, it checks many rows first. Normally, 75 rows belong to 31/12/2012 as you see from the following. Can I specify the execution order?According to the execution plan, it will do a full scan of surveys using the predicate on insertdate to build the (presumably in-memory) hash table (hash based on survey_id) to do the joins (Step 2). Then, it does a full scan of the answers table using the question_uid and answer predicates (Step 3). For each row it finds that matches those predicate, it will prpobe the hash table created in step 2 using the hashed value of survey_seq_id. So, it is doing the insertdate predicate first.
    In answer to your last post
    970992 wrote:
    >
    First of all i would get rid of the implizit type conversion:
    TO_NUMBER("A"."ANSWER")>0)it is not implicit conversion, I reckon it is explicit type conversion, isnt it?
    No, it is an implicit type conversion. Your code says answer > 0, since the answer column is a varchar2 column, Oracle implicitly converts the answer column to a number to compare against the number on the right side of the comparison. Note that if something like 'A' ever becomes a valid answer, then this query will fail with ORA-01722: invalid number.
    >
    >
    Obviously "A"."ANSWER" is not a number colmun, problably varchar, so use something like
    A.ANSWER != "0"
    or
    A.ANSWER > "0"Yes answer column is varchar2 but can you type A.ANSWER > "0" as a predicate? I mean, you can not varchar > varchar, can you?
    Of course you can use inequality predicates on a varcahr column. Is the string A greater than the string B?
    Based on the explain plan, your statistics might be a little off, not hugely so. The esitmates are at least in the right order of magnitude based on what you have posted so far.
    What indexes, if any, are available on the two tables?
    John

  • How to compute current date/time?

    Hi everybody,
    I have a page with form that is handled using Automatic Row Processing (DML). I need to put creation date and time into DB. So I created computation on my :P4_CREATION_DATE, type: SQL Query, source: CURRENT_DATE
    The problem is that I only get date but I also need time. When I use CURRENT_DATE outside APEX, I got time too. I tried CURRENT_TIMESTAMP as source (ORA-01830: date format picture ends before converting entire input string) and setting Format Mask to this item, but I still can't get date AND time in my computation.
    Any suggestions?
    Thx.

    Adam,
    The easist way is to create a trigger on the table that populates the date using sysdate. Remember that the fields in Apex are strings.
    Keep Smiling,
    Bob R

  • Display current date and time in a Input text field.

    Hi,
    I am new in ADF trying to convert the Oracle Forms to ADF. I have questions how can I display the current date & time in the input text filed when ever the page opens .
    Thanks in advance.

    Hi,
    Check followings will useful
    current date setting
    Current Date

  • Displaying Current Date and Time in JSP

    Hi,
    I need to insert the current date time in Ms SQL Server Database using jsp page. The format of the code willbe
    insert into table(update_date) values ('2007-01-01 10:02:21');
    But i am not getting how to display the current date and time ie. 2007-01-01 10:02:21 using jsp.
    I have tried using
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    GregorianCalendar cal = new GregorianCalendar();
    String dd = sdf.format(cal.getTime());
    insert into table(update_date) values (dd);
    But it didnot get inserted data.
    Can anybody figure out with simple ideas.
    Thank You

    Why then are you trying to insert the current date on a table?
    To show the current date on the JSP you might try
    <%=new Date()%>Or the way you had it on your first post with the date formatter and then use the <%=%> tags. Anyway, it seems to me I'm not really understanding what you actually want to do :-p
    P.S. NOW() is a MySQL function too, not only MSSQL server (didn't even know it had it too ;-))
    mysql> insert into a(up) values (now());
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from a;
    +------------+
    | up         |
    +------------+
    | 2007-04-09 |
    +------------+Message was edited by:
    benubach
    Message was edited by:
    benubach

  • How to get Client(browser) current date/time in BIP report

    Hi,
    I need to display report generated date in BIP report and this should be client(browser) current date/time. I tried the following things.
    1. have used MS Word Native Date/time using Insert->Date/Time. And we have chosen the M/d/yyyy h:mm:ss am/pm format. but it is printing BIp server date/time, not client date/time.
    2. <?xdofx:sysdate?>, <?xdoxslt:sysdate_as_xsdformat()?> and <?format-date:xdoxslt:sysdate_as_xsdformat();'SHORT_TIME'?> are giving GMT Date/Time, but we need client Date/Time.
    3.<?xdoxslt:sysdate('DD-MON-YYYY HH12:mi:ss')?> is giving the system date/time of the machine where BIP server is installed.
    Could you provide some help in this??
    Thanks
    Hari

    Hello, Hari,
    what would return something like this:
    Execution date:
    <?xdoxslt:current_date('ja-JP', 'Asia/Tokyo')?>
    <?xdoxslt:current_time('ja-JP', 'Asia/Tokyo')?>
    @Vetsrini,
    for my opinion,
    in the countries where time is switching (winter/summer) using the hard coded time zones in the format-date() cause a problem:
    for example:
    if we enter the date in date prompt in summer it will return PM_DT = 2010-07-20T00:00:00.000+04:00
    in winter 2010-07-20T00:00:00.000+03:00, so,
    using <?format-date:PM_DT;'DD.MM.YYYY';'GMT+3'?> return 2010-07-20 in winter and 2010-07-19 in summer.
    regards,
    Eldar A.

  • How to view current  date and time on SAP screen

    Hi Everybody,
    How to view current  date and time on SAP screen .I have set time zone in T-code STZAC.now iam getting correct date n time in my tranctions but i want to check without any tractions
    Plz repay,Regards,
    Sadik.

    Hi,
    You can check the time by running a report .
    It will show the database and central instance time : Report name :rsdbtime
    Thanks and Regards
    Vijay kumar G
    Edited by: vijay kumar gopal on Mar 4, 2008 1:09 PM

  • How to get sqlplus to print the current date/time

    From a unix command line I can type:
    prompt> date; <any_Cmd>; date
    This will result in a timestamp being output before and after the command you inserted. Is there a way to make sqlplus print the current date/time after it is done executing an sql statment. This would be useful for me to know how long it took to execute and sql statement without watching it.
    Something like:
    SQL> select * from table; date;

    u cld set the following statements in sql*plus :
    sql>set time on
    sql>set timing on
    hope this solves ur problem.

  • How can I make the current date/time be sent when emailing as XML?

    I'm creating a form for a customer to use for submitting print jobs. This customer will be emailing the XML form data, which will in turn be converted into a production order. I'd like to make the PDF form capture my customer's system time, so that I know when they filled out the form. I COULD just leave that up up the customer and use required current date and time fields, but that provides the ability for the customer to falsify that information.
    Is there any good way to capture the current date/time in the XML data, so that the customer doesn't need to nor has the ability to?
    Any suggestions would be great!

    You can use the following methods getHours(),getMinutes(), and getSeconds() from the date object to obtain the values for hour,minute,and second.
    Click here to see an example:
    http://66.34.186.88/LiveCycleSamples/.3bbc2f4b.pdf

  • How to display a date in the future?

    Hello,
    I play sport every Thursday. On my website I want to be able to display the date of the next Thursday that we are meeting. I want to be able to do this on an a continual basis. i.e. When someone looks at my site on Friday, it will display the actual date that the next Thursday falls on, and so on.
    Can anyone help with how to code this?
    Cheers
    Mitch

    use cal = Calendar.getInstance() to get the current date/time
    use cal.get(Calendar.DAY_OF_WEEK) to get what today is
    calculate n = days to next Thursday
    advance the calendar with cal.add(Calendar.DATE, n).

Maybe you are looking for

  • Disable delete button in a maintenance view

    Hi, Does anyone knows how can I disable the delete button in a maintenance view so when a user that is not authorized can´t delete any row, or how can I lock the delete subroutine. Thanks!

  • Wrong date format by importing event from mail

    When I try to create a new event in ical through a date in mail, it identifies the date in american format (MM/DD/YYYY) instead of the european format (DD/MM/YYYY)/ In the system prefs and in ical itself (when creating a stand-alone event) the format

  • Any help on building Validation on Taxanomy.

    Hi, I am new to MDM, could any one guide me how to built validations on taxanomy? There are 2 taxanomy tables and i have to check wheather a field value is same in both taxanomy tables.      It will be great help if some one forward some links where

  • Store File as .xml using standalone="yes"

    Hello i have a working scenario which creates an .xml from a purchase order. The encoding ist UTF-8. What i am missing is the standalone="yes" in the <xml-tag>. How can i get this optional attribute into my created xml? Help is greatly appreciated. T

  • BPEL Mapping issues

    I am doing simple mapping in BPEL, an element to element mapping from source to destination. Where Source is a collection of Type A object, and destination is a collection of TypeB object. Both TypeA and Type B, has a element named "EMP_Name". Source