Selection Screen - Date and Time

Hi,
I have given a selection screen where the user needs to key in the input in the following format
dd.mm.yyyy hh:mm:ss.
Reason is that the database fetching these elements accepts only in this criteria.
Now as they look into automating this program, they would want to automatically take the current system date and time - 24 hours .
How do I achieve this in the above format? If this is not possible, let me know if i can make the selection screen with normal sap date format and convert it to the above format on passing to the select statement.
Regards
Sam

Hi Sam,
See this. Is this your requirement.
With this we are able to get Current time-stamp to selection parameter.
REPORT ZTEST.
DATA: L_TS TYPE TZNTSTMPS,
       L_TS_C TYPE CHAR14.
PARAMETERS:
P_TMSTMP TYPE TMSTMP OBLIGATORY MEMORY ID TEST.
INITIALIZATION.
   GET TIME STAMP FIELD L_TS.
   MOVE L_TS TO L_TS_C.
   SET PARAMETER ID  'TEST' FIELD L_TS_C.
The output is
Jogeswara Rao K

Similar Messages

  • Manipulating imports or photos events dates and times

    It's a simple question and obviously related to the subject, but I'm trying to find out if it is possible to manipulate imports of images from an I device, we have an Apple Mac that has images on spreading over 3years, obviously with the event dates and times logged, but between each of the photos there are thousands of other images, therefore I would like to know if it is possible to slip images into iPhoto between these thousands of images and alter the date and time of the import or image
    plus is there any way I can bring import logs up within iPhoto?

    iPhoto has two ways to change the date of photos.
    From the Photos menu select "Adjust Date and time". That will let you shift the dates of all selected photos by a fixed amount.
    Or use "Photos > Batch Change". This way you can set the date of photos to a fixed date and time, with a optional increment between the photos. This is very useful for scans, where no capture date has been recorded.
    To change the dates of events, change the date of the photos inside, or split the events, if you want to insert a different event in between. You can split an event by sorting the photos according to date and selecting a photo in the event. Then use the command "Events > Split event".

  • Date selection will not print properly when using Microsoft Date and Time Picker Control 6.0 in Excel 2010

    I have created a field input worksheet in which the user identifies start and end dates for training sessions, using the Date and Time Picker Active X Control.  It works fine on-screen, but when the worksheets are printed, the dates that were selected
    using the date picker calendar print out in an unreadable, huge font.  The large font also appears in the print preview mode.  I've tried modifying various properties in design mode, but nothing that I have tried will correct the problem. 
    Any ideas?

    The DTPicker seems to have some bugs in it when used on a worksheet. I have overcome the above by setting the size properties to the same size as a cell and the Linked cell property to the
    cell under the DTPicker. (Even setting the Linked cell had problems with an error message referring to the Check box property to be set to true so I just set it to true and inserted the linked cell and set the checkbox property back to
    false.)
    Then the VBA code below that Hides the DTPicker after a date is selected and unhides the DTPicker when the linked cell with the date is selected. The code is for 2 DTPickers so you will need to edit to suit your requirements.
    Caveat: If the DTPicker is visible then you can't hide it by selecting the same date again. If this occurs then it is a multi step operation. First select another date and the DTPicker will hide, then click on another cell then back on the cell with
    the date to unhide the DTPicker and then select the correct date.
    Hope it helps and feel free to get back to me with any questions etc.
    Private Sub DTPicker1_Change()
        Me.DTPicker1.Visible = False
    End Sub
    Private Sub DTPicker2_Change()
        Me.DTPicker2.Visible = False
    End Sub
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
        Select Case Target.Address
            Case "$E$5"     'This is the linked cell for DTPicker1
                Me.DTPicker1.Visible = True
            Case "$E$13"    'This is the linked cell for DTPicker2
                Me.DTPicker2.Visible = True
        End Select
    End Sub
    Regards, OssieMac

  • There is something wrong with the volumes buttons in my macbook pro, every time i pressed the one who raises the volume, it leads me to the screen where (i do not no what its called) the background is black with the date and time and a calculator.

    There is something wrong with the volumes buttons in my macbook pro, every time i pressed the one who raises the volume, it leads me to the screen where (i do not no what its called) the background is black with the date and time and a calculator. However, when i lower it, my safari tab goes out of the screen. What do you guys think i should do? I'm getting very nervous.

    hey HAbrakian!
    You may want to try using the information in this article to adjust the behavior of your function keys to see if that resolves the behavior:
    Mac OS X: How to change the behavior of function keys
    http://support.apple.com/kb/ht3399
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • When I try to adjust the date and time of an event by selecting Photos from iPhoto, the year I enter is altered.

    I have images in iPhoto from an older digital camera which did not record the date and time.  In iPhoto, with an event selected, I have tried to adjust the date and time by choosing Photo.  When I adjust the date and check Modify original files, it makes the date much earlier--in centuries.  I now have an event from August 2003 (the date I entered) which reads June 2, 1251 under the event!  When I attempt to correct it, it goes back further in time.  What am I doing wrong?

    (I use iPhoto only to import from my iPhone; I organize all my images, including thousands of RAW files, in folders on a big external drive.)
    Why are you using iPhoto at all? use image capture or drag and drop the photos
    The problem is that the files I am copying are getting stripped of the EXIF metadata
    eliminating iPhoto from your work flow will eliminate one oppertunity to have this happen  For photos in iPhoto it is best to export them rather than drag an drop them - this assures your EXIF and IPTC data is correct and uptodate
    Why would I be able, over many years, to retain EXIF metadata in photos imported from an iPhone--then one day find that the same workflow strips such photos of EXIF data?
    Because exporting is the supported way to "export" photos - I never drag and drop photos out of iPhoto and I never use thrid party programs on the photos in the iPhoto library - try exporting as suggested above and see if that is the solution
    LN

  • On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen

    On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen. The setting is on automatic and I have picked a city in my time zone yet it still tries to set a time and date but fails.
    thanks

    Make sure router is up to date. Try ethernet to rule out any wifi issues. Reboot ATV and router.

  • Show date and time in menu bar won't stay selected

    Using 10.6.7 with all updates as of the time I am writing this.
    Show date and time in menu bar is unselected and unselectable. When I select it (click it) it will unselect itself. I will see the checkmark for 1/2 a second, but won't stay selected.
    I've reparied permissions in the Disk Utility as described by a similar post (on an older version of the OS) with no luck.
    At a little bit of a loss. Spending the mandatory 30 minutes with various forms of Google searches with no luck.
    Looking for new ideas other than an OS restore.
    David

    Looking for new ideas other than an OS restore.
    Restart?

  • Handling DATE and TIME in SELECT Statment

    Hey pros,
    I have this problem where I want to execute a select query based on date and time, but I want it to be handled in such a way which is better explained with this example:
    User enters a date range of Apr. 10 and Apr. 12
    User enters a time range of 9:00am - 10:00am
    The results I want would be from April 10 9:00am to Apr. 12 10am.
    The way I have it working today is that it shows me all data from Apr. 10-12 from 9am-10am on all days.
    Is there an easy way to do this?
    Here is my code (see the 3rd last and 2nd last line)  Thanks!
    SELECT vepowerks vepolgort vepo~matnr
              mara~mtart
              vepovenum vepovepos
              vekperdat vekperuhr vekpstatus vekpexidv
              "gc_bwart as bwart
              vepovemng vepovemeh
              vepo/cwm/vemng vepo/cwm/vemeh
        INTO CORRESPONDING FIELDS OF TABLE gt_tran
    INTO CORRESPONDING FIELDS OF TABLE itab
        FROM vepo
          INNER JOIN vekp ON
              vepovenum = vekpvenum
          INNER JOIN mara ON
              vepomatnr = maramatnr
        WHERE
              vepo~werks = p_werks    AND
              vepo~lgort IN s_lgort   AND
              vepo~matnr IN s_matnr   AND
              vepo~bestq = gc_bestq   AND
              NOT ( vepovemng = 0 AND vepo/cwm/vemng = 0 ) AND
              vekp~status = gc_status AND
              vekp~erdat IN s_erdat   AND
              vekp~eruhr IN s_eruhr   AND
              mara~mtart IN s_mtart.

    I think you might just have to select the date range, then do a loop and read table.
    select xx where date in date_range from x into table y.
    loop at y into wa_y.
      if wa_y-date = lower_date_limit. "this day has the 9am limit
        "only pick those records that have wa_y-time GE 9am.
        <your logic here>
      elseif wa_y-date = upper_date_limit. "this day has teh 12pm limit
        "only pick those records that have wa_y-time LE 12pm.
        <your logic here>
      else. "every day in between the dates
        "get all data no matter what the time is
        <your logic here>
      endif.
    I honestly don't know if there is a select-where clause that will do this automatically, but the above solution should work..hope this helps.
    --Juan
    Edited by: takeabyte on Apr 29, 2010 8:36 PM

  • 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

  • Second generation ipod and now when I turn it stays on the screen where it says the date and time and try to log in to use it and I can not to do.

    second generation ipod and now when I turn it stays on the screen where it says the date and time and try to log in to use it and I can not to do.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    . Place the iOS device in Recovery Mode if necessary to allow the restore.
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • HT1551 Apple TV searches for date and time settings, then the screen goes completely black and I get no response from the remote. Any suggestions?

    I've moved to Sweden from Canada, and when I plug my Apple TV in, I get the LED light and the Apple logo, followed by the Setting Date and Time message. After that, everything goes black and I can't make any selections. The LED lgiht is still on however.
    Any help would be appreciated.

    Welcome to the Apple Community.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Source list, and then click Restore.

  • Why is the screen from my Apple TV doesn't go past setting date and time and the screen stays black

    My Apple TV screen turns on black and stays on setting date and time a few seconds after that it stays black but on light is still on and nothing else happens,I can't get it to do anything else!I just moved and have a new router and I think that might be the reason but I don't know! Please help!!!!

    I have the same issue and seeking an answer...
    I have already reset my ATV3 to factory defaults twice and connected it directly to the router, but the problem remains the same... BTW, I connected it to the two routers of two different networks I have at home... It reacts the same to both nw....
    Any ideas?

  • Cannot get pass the "Setting date and time" screen

    Hi, I am faced with a very serious problem... someone please help!
    I bought home an Apple TV (2nd generation) for my parent overseas, but when I switched on - it got stuck on "Setting date and time" screen and cannot continue. Pressing "menu" button (or hold on for many seconds) does not work at all! I am stuck in that screen. Restart the Apple TV does not helped.
    I thought it is the issue of the remote control (maybe "menu" key has failed), so I bought another one (the aluminum model) and the same issue persists! I tested the remote control on Mac (boot up and press menu key, using Better Touch Tool... both shows the menu key is working).
    What shall I do? Thanks!

    is it connected to the internet either wired or wirelessly

  • Screen keeps saying Setting date and time, tried to reset and or restart still won't reset

    Screen keeps saying Setting date and time, tried to restart and reset but does not work,did follow direstions unplugging apple TV  still not resetting/restarting, any help?

    Aha! A bit more searching and I found the answer that just fixed it for me.
    Press Menu and the Back arrow at the same time until a broken chain icon appears on the top left of the screen.
    Let them go....
    Press Menu and Right arrow (forward arrow) until a "fixed" or "whole" chain appears.
    This enabled my apple tv to once again respond and get off the "setting time and date" screen.
    Hope it works for you.

  • After a power outage Apple TV can't find date and time - just keeps spinning on that screen. Tried powering off Apple TV, the computer, and the router. Tried to restart Apple TV. Tried to restore Apple TV, but it got stuck again setting time/date.

    After a power outage Apple TV can't find date and time - just keeps spinning on that screen. Tried powering off Apple TV, the computer, and the router. Tried to restart Apple TV. Tried to restore Apple TV, but it got stuck again setting time/date.

    Welcome to the Apple Community.
    Along with the things you have tried, some have had success setting the location to the US.

Maybe you are looking for

  • Upload csv file data to sql server tables

    Hi all, I want clients to upload csv file from their machines to the server. Then the program should read all the data from the csv file and do a bulk insert into the SQL Server tables. Please help me of how to go about doing this. Thanx in advance..

  • Audio Zoom Quick Key (like in FCP)

    Still getting used to the switch from FCP to Premiere.  Overall I am impressed, but there are still a few things that make me mental with Premierre.  In FCP I can zoom in any window with the command +  and return to full view with the command z quick

  • Recovering deleted mailboxes

    Does anyone know how to recover deleted mailboxes in Mail? An hour ago, I installed the new software from Earthlink and told it to sync with Apple Mail. I ended up with two accounts in Mail, one with my address (the existing one) and another with my

  • Anyone using an Android CRM that syncs with Mac OS X 10.9.2?

    I currently use DejaOffice which I like very much but I can't sync correctly with my Mac apps.

  • Ac3 and Dts is not working

    Hi I have a Creative SB0090 Audigy Platinum Sound Card but i canT have it to play Ac3 or Dts on digitaloutputs. I am using Mediaplayer Classic,Earlier it was ok buth not any more. I send the signal from my pc with a coax cabel to my digital input on