System Time and Local Time

Hi all,
Our system are config to have a different time zone with the system time. Just wondering what type of fields will take the local time and which type will take system time. We found that dates like document date/time will take local time but created by date/time will take system time. Why is this so?
We know that for job scheduling will run at system time. Is there a way to let the system know to run at the local time? Users find it very troublesome to adjust the timing.
Rewards will be given to useful answers. Many thanks.
Regards,
Janet

Hi,
I found this info in one of the SAP sites i found this may be useful to you.
The easiest way to prevent any time zone problems is to run everything with UTC (formerly GMT - Greenwich Mean Time). But while it’s a good idea for servers, end users will most likely complain about being confused (my family doesn’t - my home systems are on UTC to prevent the hassles with summer/winter time). And if you implement SAP using local time on the server, while your users are in different time zones, things can get slightly complicated. Just try searching in OSS with search term “sy-timlo”.
The main problem is that some fields in SAP are stored as server local time (and date), while others use user’s local time. In general, as SAP explains in many OSS notes, any date/time that is written by the system is server local time, and any date/time that can be manually entered by users is in respective user’s time zone. To help us even more, the time zone used is not stored in documents, but only in user profile, so to be really sure which time is meant, one has to find the user who did the data entry or update, and then find the time zone and do conversion if necessary. SAP gives a good example in OSS note 636992. There, a user sitting in Japan creates a notification about, for example, machine breakdown, entering local time. Several hours later, a colleague in Germany looks at the notification and thinks that the machine has been down only a few moments, while it’s actually several hours!
Things are enough confusing if you are analysing some problem by looking at the data. And if you are creating documents (material movements, accounting postings or production order confirmations) from ABAP programs with, for example, BAPI functions, you have to be especially careful because the system will run checks on date and time fields, with different logic. In general, the posting date (BUDAT or, as in BAPIs, POSTG_DATE) and several date/time fields like EXEC_START_DATE, EXEC_START_TIME, EXEC_FIN_DATE, EXEC_FIN_TIME, EX_CREATED_DATE/TIME in confirmations in the BAPI function BAPI_PRODORDCONF_CREATE_TT are your local date and time. While creating order confirmations, the system will check the date/time against the user local date and time and will prevent creating confirmations in the future. In contrast to PP, the BAPI to create a goods movement - BAPI_GOODSMVT_CREATE - assumes that posting date is a local date, but doesn’t complain if it’s in the future. The potential problems can be hard to find and detect: if you have small time differences, the posting date can differ only during one-two hours per date - only then you will get an error when posting an order confirmation. For all those fields mentioned above you should normally use the system fields SY-DATLO and SY-TIMLO if they have to be populated with current date and time. If the data is provided by an external system, then either the system has to care about the correct time, or your ABAP program has to do time zone conversion.
In certain situations you can assume that if a document is being created for some plant, then the current server time can be converted into local time of the plant, if you know the time zones of both. The server’s time zone, or more exactly, its difference with UTC, can be found in the system variable SY-TZONE. To find the time zone of a plant, you can use the logic that can be found in the function CO_R0_SET_LOCAL_DATE_AND_TIME.

Similar Messages

  • Getting difference between GMT time and Local time

    Folks,
    I am trying to get difference between gmt time and local time for Korea time zone.
    which should be 9 hours.
    Instead of 9, I am getting 15 hours diff.
    What am I doing wrong?
    Here's what I did to test it:
    First I set the system (Windows XP) time zone to Soul (Korea GMT+9hours) time zone.
    Then I ran the following program, and I got 15 hour diff, not 9.
    Thank you in advance!
    import java.util.*;
    public class Using_GregorianCalendar
         public static void main(String args[])
              Using_GregorianCalendar ugc = new Using_GregorianCalendar();
              ugc.getTimeDiff();
         public void getTimeDiff()
              Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
              Calendar cal1 = new GregorianCalendar(cal.get(Calendar.YEAR),
                                           cal.get(Calendar.MONTH),
                                           cal.get(Calendar.DATE),
                                           cal.get(Calendar.HOUR_OF_DAY),
                                           cal.get(Calendar.MINUTE),
                                                      cal.get(Calendar.SECOND));
            int gmtHour          =  cal.get(Calendar.HOUR); //(Calendar.HOUR_OF_DAY);
            int gmtHourOfDay =  cal.get(Calendar.HOUR_OF_DAY);
            int gmtMonth        =  cal.get(Calendar.MONTH);
            int gmtYear          =  cal.get(Calendar.YEAR);
            int gmtMinute       =  cal.get(Calendar.MINUTE);
            int gmtSecond     =   cal.get(Calendar.SECOND);
            int gmtDate         = cal.get(Calendar.DATE);
            Calendar localCal  = Calendar.getInstance();
            int localHourOfDay = localCal.get(Calendar.HOUR_OF_DAY);
            int timeDiff = (localHourOfDay - gmtHourOfDay);
              //Korea time is GMT + 9 hours so I should get a difference of 9
              //why am I getting difference of 15?
                 System.out.println("************** in getTimeDiff() **********************");
              System.out.println("gmtDate: "+gmtDate);
              System.out.println("gmtHour: "+gmtHour);
              System.out.println("gmtHourOfDay: "+gmtHourOfDay);
              System.out.println("localHourOfDay: "+localHourOfDay);
              System.out.println("timeDiff: "+timeDiff);
              System.out.println("**********************************************************");
         }//getTimeDiff()
    }//class Using_GregorianCalendar
    /*              here's the output of this program:
         ************** in getTimeInGMT() **********************
         gmtDate: 14
         gmtHour: 6
         gmtHourOfDay: 18
         localHourOfDay: 3
         timeDiff: -15
    */

    DrClap wrote:
    sabre150 wrote:
    Nearly correct since the Daylight saving may or may not be in effect which does depend on the date...I would simplify that to this:
    TimeZone korea = TimeZone.getTimeZone("Asia/Seoul");
    long delta = korea.getOffset(new Date().getTime());
    System.out.println(delta / (1000.0 * 60 * 60));That's assuming that the OP really meant UTC when he/she said "GMT". Most people don't realize there's a distinction and that Java's timezones are all based relative to UTC.I suspect you are right in assuming that the OP want UTC and not GMT. I figured it was better to illustrate that the method can be used for getting the time difference between any two TimeZones.

  • Server Time and Local Time (Dreamweaver) Off By 1 Hour

    How can I get Dreamweaver to show me the correct time stamp on my files on the server and my local machine? When I telnet into my server, the date and time stamp on all files is correct. My server time is set properly to ET (GMT-5). My local machine's time is properly set. I asked my sysadmin if PureFTP has any timezone settings and I was told by the sysadmin that all my server times and timezones are accurate. My sysadmin said that Drwamweaver is the culprit.
    I have lived with this for a long time, but it is extremely annoying and I would like to fix it.
    I searched high and low in the Dreamweaver option settings for some sort of timezone setting or offset -- found nothing.
    Has anyone experienced a 1-hour out-of-sync issue between a file's actual time stamp on the server and what Dreamweaver shows it as in the Remote/Local Files View?
    Thanks.

    During Daylight Savings Time.
    http://forums.adobe.com/message/3545349#3545349
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • WIP database central time and local time questions

    Hi,
    I have mission to develop some reports which has to point to the WIP database, as far as I know, the WIP data time is stored as the central timestamp, but our usr is accepted only with local time. As we have several sties in US with different timezone, so it is a little confusing to me how to make my report be able to recongize the correct local time simply.
    In SAP ME internal report, I search some SFC information, it always can display the correct local date time, I am interested to know how SAPME works like thi, if possible, can anyone share this method to me? or give me some good idea how I can handle this?
    Thanks a lot and best regards,
    Leon Lu

    Hi,
    In most cases ME grabs timezone associated with site (Site Maintenance). Some reports though might use client's locale from browser to make conversion.
    Thanks,
    Bakhtiyar

  • Need function module to convert system time to local time

    Hi Experts,
    Need function module to convert system time to local time.
    i.e country specific that to in HH:MM format.
    Thanks in advance.

    Dear Prince,
    Kindly check the following link which contains the list of function modules for date and time conversion.
    [http://www.sap-img.com/abap/date-month-pop-related-function-modules.htm]
    Regards

  • Is there any way to set the SCCM system to use local time instead of UTC?

    We have ConfigMgr 2012 in our environment. We are in EST.
    Is there any way to set the SCCM system to use local time instead of UTC?
    When we try to deploy packages, if you don’t specify the time, it reverts to UTC which for us is off by 5 hours.

    Which times are you talking about? Deployment start times or deadlines? Those could be set to UTC *or* client local time.
    Torsten Meringer | http://www.mssccmfaq.de

  • I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this?

    I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this? I have 4 blocks of Single Choice fields in order for the summary page to give me each day in the final report. But, I need the user to be able to make a selection of any day and time and that apointment to no longer be available to future users when they log in. Plus, when the user clicks on the time, they are unable to change their mind and choose another time. Here's the link if you want to see what I'm talking about: 2015-2016 Workload Apportionment Review

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • How to track the login time and logout times of clients

    hai
    please give me the solution
    suppose there are 5 systems connected in LAN.
    how to track the login time and logout times of clients
    for a given time(may be one day or 1 hour) using any programming language.
    please give me the solution

    When the client logs in you write the client's ID and the current time to a database. Likewise when the client logs out. Assuming of course that you have a program that knows when those events occur.

  • In Material Master Screen,functionally what is Safety time and safety time

    In Material Master Screen,functionally what is Safety time and safety time indicator in the MRP Screen.Pls explain its functionality

    Hi,
    The safety time / actual range of coverage ensures that the planned warehouse stock covers the requirements of a defined number of days. It therefore serves as a time float and thus works alongside the safety stock, which acts as quantity float.
    The system simulates bringing the requirements forward by the specified number of days and the planning for the receipts, created for these requirements in the planning run, is also brought forward by this number of days.
    Prerequisites
    ·   You have set the Safety Time indicator in the material master record (MRP 2 View) to define whether the safety time is only to apply to independent requirements or to all requirements.
    ·    In the material master record (MRP 2 View), in the Safety Time/Actual Range of Coverage field, you have entered the number of workdays by which the requirements are to be brought forward.
    ·    If, in addition to this actual range of coverage, you also want to define a different number of workdays in certain periods or a safety time less than one day then, in Customizing for MRP in the activity Define Period Profile for Safety Time/Actual Range of Coverage you can define a period profile and assign it to the material in the material master record.
    Regards,
    Vijay

  • Lead time and Route time estimation used for deliveries

    Dear Friends,
    Can anybadyu let us know how to estimate lead time and route times for deliveries, and what is the exact meaning of the these two with differences
    if possible can you please give me the configuration steps, as i know at this movement route times are maintained in the route and lead times are maintained in the material master MRP view.
    what was these field impacts in the delivery..
    requesting your view as soon as possible
    Thanks
    raju.

    Hi there,
    Lead time is the time in which the material will be available. It is called Replenishment lead time RLT. It is maintained in MRP view of material master. RLT can either be inhouse processing time for inhouse manufactured goods or order time + goods receipt processing time for externally procured goods.
    Whereas time mentioned in route is used to calculate transit time during delivery scheduling. That is the time taken for the goods to reach customer from shipping point.
    Both the times are imp for delivery scheduling.
    When the customer places an order, if the material is not available, then the system will take end of RLT as material availability date. From that date, it will carry forward scheduling & propose a new confirmed delivery date.
    Regards,
    Sivanand

  • Current log time and endlog time

    Hi...
      I need to map system currenttime and end time to a feild in message maaping. Where can i get that. Is it necessary to write udf for that. if yes can ypu please provide.
    Regards,
    Leela

    HI,
    You can get the Current Time by using standard functions that is CurrentDate.
    In the properties
    dd/MM/yyyy (or any other date format) will return the date
    HHmmss returns the time
    If you want UDF then use the following code
    import java.text.*;
    Date now = new Date();
    DateFormat df = new SimpleDateFormat ("hh:mm:ss");
    return df.format( now );
    Regards
    Sridhar Goli

  • ESS Working Time - Start Time  and End Time in Weekly View

    Hello,
    I'm having a problem with the business package ESS - functionality Working Time (cat2).
    I need that information to Start Time and End Time appear in the Weekly View of the portal.
    In Daily View that information are already visible, but In Weekly View that information does not appear.
    Does anyone have any suggestions?
    Thank you very much your attention.
    Att,
    Jair de Oliveira Junior

    Hi Bala
    You can have clock in and clock out in a weekly view.
    you have to change the data entry profile settings.
    In general settings tab in data entry profile click the with clock times button and maintain the Period type to 02 in time settings tab.
    And you can view the weekly entry in clock in and clock out.
    Ravee
    +91.99206.33669

  • I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read.  I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.

    I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read.  I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.

    I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read.  I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.

  • If I have manually set "Start Time" and "Stop Time" for songs, and my hard drive is backed up in Time Machine, when files/songs are transferred on new hard drive, will my "Start Time" "Stop Time" options be there?

    My Macbook Pro will be going in for reimaging and my hard drive will be wiped, I want to know if all my iTunes preferences will be copied if I have backed them up on Time Machine. Specifically, if I have set certain "Start Time" and "Stop Time" for my songs, and I copy my iTunes library, will these "Start Time" and "Stop Time" options remain or will I have to manually set them one by one once again? I need a reply ASAP! Thanks so much!

    As far as I'm aware the start & stop times are stored in the library database, not the media files. If you backup/restore/transfer the whole library then the settings are included. If you create a complete copy of your iTunes folder on another drive you can connect to that copy by holding down option/alt as you start iTunes so you can check that everything is working properly before you send the Macbook away.
    tt2

  • Please help me fix this problem it's driving me crazy. I have tried installing and reinstalling photoshop EXTENDED several time and each time i lunch it ask me for the serial number in which i entered it once entered nothing happens

    Please help me fix this problem it's driving me crazy. I have tried installing and reinstalling photoshop EXTENDED several time and each time i lunch it ask me for the serial number in which i entered it once entered nothing happens

    Hi Glenn,
    Kindly try out the steps mentioned in the link below and see if you are able to serialize your software.
    Sign in, activation, or connection errors | CS5.5 and later, Acrobat DC
    Try Solution 2: Clean up cached user login information.
    Please share the results after performing the steps.
    Thanks,
    Atul Saini

Maybe you are looking for

  • Can I setup more than one @me account to use push on my iPhone

    I have 3 @me accounts setup on my iPhone.  It appeares that only 1 can be set to Push, the other 2 can only be set to Fetch.  Is this correct?   I have the same problem on my iPad.  Both are using iOS4 and are uptodate with all software.

  • Change Style in task description

    Hi All,      I am using a decision step in my workflow.  I want to change the default font style associated with the task.  The default is Form: System and the default paragraph is '*'.      I want to use custom style for formatting the task descript

  • Cisco ISE - radius proxy

    Hi, Is the following possible: - let the ISE do the authentication and then proxy to another radius server which does the authorization. At the moment we have a freeradius server that does the following: 1) authenticates 802.1x requests (eap-tls) 2)

  • All my calendar events moved back one hour after daylight savings

    After daylight savings I noticed that all my calendar events are now showing one hour later.  With an average of 10 events a day, there is no way to manually correct this- HELP!!!!!  I was just one hour late to my first appointment of the day thanks

  • Services Registry Endpoints in SLD

    Hi, I am working on CE 7.2 SP03. I have configured SLD, SLD Client and SLD Data Supplier. Now I am trying to configure Service Registry using Configuration Wizard. We have a drop down option to select the "Services Registry Endpoints in SLD" in which