Getting user name, date and time into 1 field

Hi All,
I have to add a new field in a customising include of AUFK table. This field should have user name, date and time. How do I store all these values in a single field of the table? Please help.

Ok Thanks all. Will try your suggestions. But there is one problem. As i have already mentioned that i will have to display this detail in one field of the table control, The format of display is: user name should be seen above and the date and time separated by space should be displayed below the name. How can i ultimately display this in the table control. Do i have to create 2 different fields (one for name and other for date and time) in the AUFK table or is there any other solution?
Thanks

Similar Messages

  • Insert current date and time into Oracle date type field

    I have a JDBC current date and time insert into Oracle 9i that almost works. It submits the current date and a fixed time into the Oracle date type field. I am using Tomcat 6.0.20.
    For example if I insert the data at 7:24:04 PM on Feb 16, 2010 it will insert as: 16-Feb-2010 12:00:00 AM
    The date part works but the time always shows 12:00:00 AM no matter what date or time the data is inserted.
    Here is what I have for my JDBC inserts and I also tried something with DateFormat:
    PreparedStatement ps; Date mydate = new Date(new java.util.Date().getTime()); //insert statement here.... stmt.setDate(1,mydate);
    I also tried:
    PreparedStatement ps; java.sql.Timestamp mydate = new java.sql.Timestamp(new java.util.Date().getTime()); SimpleDateFormat fmt = new SimpleDateFormat(.... //insert statement here.... ps.setTimestamp(1,fmt.format(mydate));
    Both keep submitting the date into Oracle as 16-Feb-2010 12:00:00 AM
    Anyway to get the current date and time? For example if I insert the data at 7:24.04 pm today it should show as 16-Feb-2010 07:24.04 PM in Oracle.

    sportsMarkr wrote:
    Date mydate = new Date(new java.util.Date().getTime());Please see the javadocs for java.sql.Date and note the part that says "...to zero"
    [http://java.sun.com/javase/6/docs/api/java/sql/Date.html]
    If you want a date and time then use java.sql.Timestamp.

  • Combining Date and Time into 1 Field

    Post Author: Marc Vaccarino
    CA Forum: Formula
    Hi,
    I'm trying to write a formula to combine 2 fields (date and time) into one. I would like it to look like this.
    2/12/2007 + 12:00pm = 2/12/2007 12:00pm
    Thanks,

    Post Author: Marc Vaccarino
    CA Forum: Formula
    Thanks that worked but my problem is currently the date field I'm using has a date and time (12/12/2007 12:00am) and the time field has it as well  (12/12/2007 1:45am).  I've been going into crystal and clicked on format field and just showing the date and in the time field, just showing time. Then I would extract the report to excel then run another formula to get it to work. I'm looking to automate it a little. Any ideas??

  • Inserting Date and Time into a date field

    Okay I am a bit of a Oracle newbie. I am trying to insert the following date and time into a date field and I don't know how to format the second part of the to_Date() function.
    Date/Time: 5/29/2003 7:58:45 PM
    Thanks,
    Branden

    I believe you would want
    to_date( '5/29/2003 7:58:45 PM', 'MM/DD/YYYY HH:MI:SS AM' )
    Note that tahiti.oracle.com has all of Oracle's documentation, including the very useful SQL & PL/SQL reference manuals, available for free.
    Justin

  • How to get last modified date and time of a file which is in apache server.

    Hi ,
    I need to get last modified date and time of a file in remote machine.
    This file is in remote machine which has apache server installed.
    I am trying to get this information by connecting to apache server from client by giving absolute URI of the file to file object.
    URI is got from apache server URL by using toURI method.
    when I use lastModified method , its throwing exception , because scheme of URI is not file.
    I can't give scheme as file because ftp server is not installed on that server
    Is there any other way to get this information .

    No, unless you can use an FTP client.

  • Inserting automatic file name, date and time in Illustrator CS3?

    hello all,
    is there an option in Illustrator where you could automatically insert inside your file the file name, date and time where it was last created or modified, etc.
    I found this option to exist in InDesign, but could not find the same menu in Illustrator. I am using CS3.
    help?
    thanks a bunch.

    Mario,
    would you please be so kind to include a reference on your site about the script? As far as I can see, the PutDateandTime.js you are providing here is a copy or a slightly modified copy of the original script that Wolfgang Reszel has provided on our site for about four years.
    It is okay that the script is available on your site, but please not without a reference. Thanks.

  • How to get the client date and time ?

    Dear Sirs...
    Using jdeveloper 10.1.2.0
    How can i get the client date and time using the HttpServletRequest ?
    thanks for any help in advance
    best regards

    If your code is running on the client pc you can just create a new instance of the java.util.Date class. That class automatically defaults to the current time of the client machine. Otherwise if you're running the code on the server, you could insert/post the client date/time by adding its string representation as a parameter to the HTTP request object.
    Ronald

  • User status Date and  time

    Hi EXPERTS,
    In notification when we change user status, system logs date and time in action log
    I want to know in which table does user status date and time can be found.
    Regards
    Anil Kumar

    Anil Kumar,
    I'm not a t a system right now, but have a look at JEST and JCDS.
    PeteA

  • Get the Current Date and Time of a Location

    I have created a windowsPhoneApplication in silverLight 8.1.In my application,I have to upload videos on some server.The Uploading get failed If the Date and Time settings of my device is not the current Date and Time.So How can I get the current date
    and time even if the device settings is wrong?

    Hi shifana,
    Do you know server's time zone? If yes, you can manually translate to the correct time zone.
    Otherwise try some online time acquire API.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BAPI -  user last modified Name, Date and Time in SU01 of a Particular User

    HI Experts,
    After searched a lot in SDN , i am posting this thread,
    I want to know any  Standard BAPI  to give LAST modified User name , time and Date in SU01 of a particular User.
    I checked * BAPI_USER_GET_DETAIL* , its giving LAST modified  time and Date in SU01, But I want Last modified user name as well.
    I have 2 questions related with the above scenario,
    1) Which BAPI gives the details of LAST modified User name , time and Date in SU01 of a particular User.
    2) Any Table is there to give details of LAST modified User name , time and Date in SU01 of a particular User for a time period ,
    For eg : 1 month, if i would have set the time line, it should give the three details .
    Regards,
    Saravana.S

    Hi,
    I am not sure, if there would be any BAPI particularly for giving such particular information. Even if you can, you  might have to call 2 BAPIs, one for finding the list of such users modified within 1 month eg., and then getting the mod date and mod time.
    BAPI_USER_GETLIST - this can be used for searching.. but tricky
    then you have to call another bapi for getting the details.
    One option is you can create a new Z BAPI using the table and get the results.
    Regards,
    Amit Mittal.

  • CONCATENATE date and time into a text variable

    Hi ABAP Gurus,
      I would like to retrieve current system date and time and concatenate into a variable. I would really appreciate if someone could help me. I have the following code and i seem to get some kind of error.
    I would like my output to be like:
         "22.JUN.2006  Some Text  12:30:22"
    Code:
    data:  emtext     like TEMSG-EMTEXT.
    data:  date_output(50)  TYPE C.
        CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
           EXPORTING
               INPUT          =  SY-DATUM
           IMPORTING
                OUTPUT        =  date_output.
    SHIFT date_output RIGHT DELETING TRAILING SPACE.
      CONCATENATE date_output ': Some Custom Message '
       INTO emtext.
      Also, is there a function to convert time to text or conversion is not necessary?
    Thanks.
    Regards,
    bw_newbie

    Here is something a little closer to your requirement.
    report zrich_0001 .
    data: date(20) type c,
          time(10) type c,
          str type string.
    data: xT247 type T247.
    select Single * into xt247 from t247
              where MNR = sy-datum+4(2).
    concatenate  sy-datum+6(2) xt247-ktx sy-datum(4)
              INTO date separated by '.'.
    write sy-uzeit to time.
    concatenate date 'SomeText' time into str separated by space.
    write:/ str.
    Regards,
    Rich Heilman

  • Getting last login dates and times for graphical/xwindows logins?

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

  • How to get the current data and time of SCOM server via SCOM SDK (API) calls?

    Hi,
    I need to read the current date and time of SCOM server via SOM SDK.
    Is there a class in SDK that provides this info ?
    Thanks,
    satheesh

    To get time and date of Alerts of SCOM, You can use following command let "get-scomalert"
    Also, You can refer below links
    http://blog.tyang.org/2013/02/21/using-scom-2012-sdk-to-retrieve-resource-pools-information/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical

  • Insert date and time into write to spreadsheet

    Easy question here
    I need save 4 arrays of data and insert the date and time that it was taken (LV 8.6)
    for example
    9/4/09 10:00:01 AM  4  6  7  2
    9/4/09 10:00:02 AM  4  6  7  2
    9/4/09 10:00:03 AM  4  6  7  2
    9/4/09 10:00:04 AM  4  6  7  2
    Any ideas, I can't wire the timestamp or date/time string right into the create array
    Thanks
    Chris
    Solved!
    Go to Solution.

    Ok
    the basic problem that I see is the the LabVIEW TimeStamp type is a cluster.  Converting it to a dbl gives you a value in seconds elapsed since 1904 Jan 1 12:00AM GMT and, your spreadsheet cannot interprate that (or display that) as a "TIME."   So, you want to convert it to a string (easy TS->String check the help for format options) BUT, you might want to pass all of your data as numbers into your spreadsheet so you can post-calculate or graph other outputs vs. TIME!  This little chunk of code .....
     converts a LV Timestamp to a number that Excel interperates as "the amount of days elapsed since 0 Jan 1900 @ 12:00AM LOCAL."  You will need to format the cell in Excel to display it as a date-time But it can be operated on and graphed against with only Excel's limitations (Excel followed the Lotus bug of erroneously assuming 1900 was a leap year, and Leap seconds are unrecognized)
    Enjoy!
    Message Edited by Jeff Bohrer on 08-06-2009 02:28 PM
    Jeff

  • How to get local file date and time ( 10g version )

    Hi,
    Would like to ask if there is any way to get the date and time of a local file. It seems that webutil does not have this function.
    And I want to use client_host ( dir c:\file.txt > c:\temp.txt ) and the read this file to get the file date.
    But the problem is the file date and time ( in the dir ) varies in different PCs.
    Best Regards,
    Ivan

    But the problem is the file date and time ( in the dir ) varies in different PCs.
    You mean the format of the date and time don't you?
    If so you maybe could create a java bean which does that for you using the lastModified Method of the File class.
    regards

Maybe you are looking for

  • Flash MX profesional 2004 fails to open on mac osx 10.6.7

    i am trying to install a copy of Flash macromeadia 2004 mx profesional. the software installs fine when i go to open it it apears in the dock and nothing happens. right clicking on the icon in the dock the program says it's not reasponding. on the bo

  • HTTP Receiver Adapter - Post HTTPS to non-sap system

    I plan on doing an https post to a non-sap system using the http rec adapter.  Will I need to make some config changes to enable ssl communication on the XI system?  Will I need the certificate of the target system? Thanks, Mark

  • 10.9.4 update breaks midi!

    After doing the 10.9.4 update all my midi controllers (3) are not available anymore! When looking in audio/ midi settings every midi controller has the status offline, with no option to re-enable. Tried new configuration and rescan but nothing turns

  • Open edit page as Dialog

    Hi I use JDev 11g, I have a table with a af:commandMenuItem                           <af:commandMenuItem text="Edit"                                               binding="#{backingBeanScope.backing_Contactpersonen2.cmi1}"                           

  • How to update multiple calling hours based on business partner

    Hi All, please help me in this issue : how to update multiple calling hours based on business partner in SAP CRM. Regards, Siva kumar.