How to put negative time in CAT2 ?

The client wants to put in negative time values in CAT2. What configuration should I change to make this allowed? Do I need to change the program or user-exit?
Thanks a lot.

There was an OSS note that I saw in that regard, which essentially barred negative time entry. Also it makes more business logic to enter a positive absence or attendance type and work on that as required than to enter negative time. If you still need some information on that do a search for negative time in OSS notes and you might bump on something.
Thanks,
Krish

Similar Messages

  • How to put date&time into a variable from a database?

    In an Oracle table, myDateColumn is 2002-06-25 17:40:55. I can't put it into a variable.
    java.text.SimpleDateFormat dF=new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
    rs=stmt.executeQuery("select myDateColumn from myTable");
    rs.next()
    System.out.println(rs.getString(1)); // 2002-06-25 17:40:55 is output
    java.util.Date myDate=rs.getDate(1);
    out.println(dF.format(myDate)); // 25/06/2002 00:00:00 is output
    java.util.Date myDate=rs.getTime(1);
    out.println(dF.format(myDate)); // 01/01/1970 17:40:55 is output
    My question is: How should I put this date (both date and time) into a variable, myDate?

    There are three JDBC types relating to time:
    1] The JDBC DATE type represents a date consisting of day, month, and year. The corresponding SQL DATE type is defined in SQL-92, but it is implemented by only a subset of the major databases. Some databases offer alternative SQL types that support similar semantics.
    2] The JDBC TIME type represents a time consisting of hours, minutes, and seconds. The corresponding SQL TIME type is defined in SQL-92, but it is implemented by only a subset of the major databases. As with DATE, some databases offer alternative SQL types that support similar semantics.
    3] The JDBC TIMESTAMP type represents DATE plus TIME plus a nanosecond field. The corresponding SQL TIMESTAMP type is defined in SQL-92, but it is implemented by only a very small number of databases.
    In ur case pls use:
    java.sql.Timestamp
    good luck !
    ...san :--)

  • How to put the time on your wallpaper

    Trying to get time displayed  on my main wallpaper can't seem to do it

    What are you talking about? The time is displayed in the status bar at the top when the phone is unlocked and at the home screen. The "wallpaper" isn't dynamic.

  • Heyy how to put face time on my macbook

    heyy good afterroom guys i have a apple laptop mackbook pro i dont have no face time in imessages on it can we help me with that please

    If it was not part of Snow Leopard then you have to purchase it. I think it's $1.00. If you are in Saudi Arabia or certain other Mid-East countries then Face Book is not available.

  • How to put the current timer in the frame

    I am doing one application and i am using frame. I want to show the current time( hour and minute). But i don't know how to implement it. Please help me to solve my problem. Below is the sample code of my program. How to put the timer in the bottom part.
    //AdminMenu.java
    import java.io.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class AdminMenu extends JFrame{
    private JLabel lblmenu;
    private JLabel lblvideo;
    private JLabel lbladmin;
    private JButton cmdaddvideo, cmddeletevideo, cmdeditvideo;
    private JButton cmdaddadmin, cmddeleteadmin, cmdchangepass;
    private Container c;
    private GridBagLayout gdlayout;
    private GridBagConstraints gdconstraints;
    private Color colorValues[] =
    { Color.black, Color.blue, Color.red, Color.green };
    public AdminMenu()
    super("Administration Menu");
    JMenu fileMenu = new JMenu( "File" );
    fileMenu.setMnemonic( 'F' );
    JMenu openMenu = new JMenu ("Open");
    openMenu.setMnemonic('O');
    fileMenu.add( openMenu );
    JMenuItem exitItem = new JMenuItem( "Exit" );
    exitItem.setMnemonic( 'x' );
    exitItem.addActionListener(
    new ActionListener() {
    public void actionPerformed( ActionEvent event )
    System.exit( 0 );
    } // end anonymous inner class
    ); // end call to addActionListener
    fileMenu.add( exitItem );
    // create menu bar and attach it to MenuTest window
    JMenuBar bar = new JMenuBar();
    setJMenuBar( bar );
    bar.add( fileMenu );
    setSize(300,250);
    setLocation(350,200);
    this.setResizable(true);
    show();
    //---------------------- Main -------------------------------
    public static void main(String args[])
    AdminMenu app = new AdminMenu();
    app.setDefaultCloseOperation(
         JFrame.EXIT_ON_CLOSE );
    Thanks for helping me

    e.g. use a thread that invokes new Date() (every minute), format the Date with SimpleDateFormat and print the result String on a Label that you can put on your frame ...

  • How to  put "yahoo addrbook" in "Email-portlet"

    how to put "yahoo addrbook" or "outlook's addrbook " in "Email-portlet" ?

    Have you tried
    http://www.google.com/search?hl=en&q=javascript+clock&btnG=Google+Search?
    Subbu
    Jeffrey Graber wrote:
    Howdy,
    I know how to put the time in a portlet,
    Date and time is: <%=new Date(System.currentTimeMillis())%>
    But how do I get it to change/refresh/redisplay. in the portlet without refreshing the whole browser window?
    Better yet-- does anyone know of a little clock portlet I could use?
    Thanks.
    Jeff

  • I would like to know how do I install the brazilian keyboard into macbook air, keyboard with accents (Portuguese Language), I tried so many times how to put into it (Macbook Air). So, thanks for now! I'm waiting for it.

    I would like to know how do I install the brazilian keyboard into macbook air, keyboard with accents (Portuguese Language), I tried so many times how to put into it (Macbook Air). So, thanks for now! I'm waiting for it.

    After you go to system preferences/keyboard/input sources as suggested by sberman, click on the + button and scroll down to Portuguese and select that.  Over at the right you will see the choices Brazilian, Brazilian abnt, Portuguese.  You might want to add all three to see which you like best.
    The "Brazilian" layout is pretty useless.  It is identical to the US layout and the only way to make accents is via the option key shortcuts:  option + n, then o gives you õ.
    The Brazilian abnt and Portuguese layouts have dead keys for adding accents over at the right edge of the keyboard.  But these may not match what is printed on your keys.
    You may prefer to stay with the US layout.  On that you can get accented letters by just holding down the base letter and selecting what you want from the popup menu that appears.  Or you can use the option key shortcuts.
    Another option is the layout called US International PC, which has accent deadkeys on ~, ', etc.
    Which ever layout you want to use, you must select it in the "flag" menu at the top right of the screen.
    To see which key does what for any layout, use the Keyboard Viewer:
    http://support.apple.com/kb/PH13746

  • How can I put a time delay between specific events in a while loop?

    How can I put a time delay between specific events within the same while loop? I'm already using the "wait" command to control the overall loop iteration speed. But I want to time the individual events as well.

    Hi Jesse,
    You can use a flat sequence. In each box you can put your individual events and attached wait.
    Don't forget to reduce your total loop time of the time you added in the individual sequences.
    Doc-Doc
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • How can i put a time/date stamp in Apple contacts, "Note"

    how can i automatically put a time/date stamp in Apple contacts, "Note"
    ei , when i enter a new note to a contact. I want the time and date to automatically show at each note.

    This is not a feature in Contacts. I suggest you send Apple feedback to let them know you would like to see this option.
    http://www.apple.com/feedback/macosx.html
    You can easily add the date stamp using an app like TextExpander.
    Read this article about using snippet keepers. http://www.macworld.com/article/151286/2010/05/clipboardmanagers word

  • HT4623 I have purchase iphone 4s yesterday but we put many times wrong passcode and my iphone was disable. so please tell me how to unlock my iphone?

    Dear Sir,
    Yesterday i have purchase iPHONE 4S. During learning the application i have put mant times wrong passcode and my phone was disable. Plese tell us how to unlock it?

    Basic troubleshooting steps outline in the manual are restart, reset, restore from backup, restore as new.  Try each of these in order until the problem is resolved.  If you've been through all these steps and the trouble persists, you'll need to bring your phone to Apple for evaluation.  Be sure to make an appointment first at the Genius Bar so you won't have a long wait.
    Best
    GDG

  • How to put time&date on photos

    How to put time&date on photos

    There is a Photoshop Scripting Forum
    http://forums.adobe.com/community/photoshop/photoshop_scripting?view=discussions
    where this threads for example
    http://forums.adobe.com/message/3640570#3640570
    can be found.

  • How does the system identifies whether we use Psotive or Negative Time Mngt

    Dear All,
    How does the system identifies whether we use Psotive or Negative Time Management.
    Appreciate your early response.
    Regards
    Rajesh

    Hi
    1. In positive time management we record the actual time of the employee working in organization and following are the infotypes we need to maintain in master data,
              1. Organztion Assignement [0001]
              2. Personal Data [0002]
              3. Absence Quota [2006]
              4. Planed working time [0007] with the time management status " if you are using PDC then "2" " Or "1. Time evaluation actual time".
              5. Time Recording Info [0050]
    2. In Negative time management we are only recording the time deviation like "Absence, Illness, Leave" and following are the Infotype we need to maintain in master data,
             0001, 0002,0007 with time management status "0" i.e No time evaluation and 2006.
    Best of Luck
    Swapnil

  • I have purchase iPHONE 4S. During learning the application i have put mant times wrong passcode and my phone was disable. Plese tell us how to unlock it?

    i have purchase iPHONE 4S. During learning the application i have put mant times wrong passcode and my phone was disable. Plese tell us how to unlock it?

    Kyderbylove wrote:
    I locked my iphone 4s, I forgot the passcode and it says disabled connect to itunes. I have some very important information on the phone I can't lose, How can I retrieve that information if the phone was not backed up to icloud of my mac?
    You can't. If your phone is disabled, the data has already been erased...that's the whole point of the passcode. Your only option now is:
    Turn your phone off, then force it into recovery mode & restore it:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.

  • How to Calculate Overtime Using Negative Time Management

    Hi Experts,
    We are having PA,OM & PY in our project scope. We have just configured TM uptill workschedule.
    But how to calculate the overtime when we are using negative time management.
    We are having International Payroll Driver.
    Regards,
    Irfan

    Hi,
    Thanks for your prompt response.
    But if the overtime is based on Basic , HRA and other wage components.
    How the configuration of the wage type takes palce.
    Regards,
    Irfan

  • How can i put a time stamp on photos

    I used to be able to set menu to time stamp photos but it seems to be gone now. Does anyone know how to put it back? I searched help topics in iPhoto and there was no help.

    There never has been such a feature for iPhoto - you probably have (or used to have) one on your camera
    In iPhoto you can see the date/time info from the camera in the info pane
    LN

Maybe you are looking for

  • HOW MANY DEVICES CAN YOU PAIR VIA BLUETOOTH TO IPHONE

    As the title states, how many? One, two, more? If so can they be used simultaneuosly? For example pairing it to my aftermarket car stereo for music streaming, while also pairing to the factory bluetooth for phone calls.

  • "can't mount iPOD" - unable to restore

    Hi, I would greatly appreciate any advise on the following problem... My iPOD froze, so I conducted a reset. After the reset the screen displayed an exclamation point and folder icon. After reading the support guidelines on the site I tried the follo

  • ITunes problem -- attempting to access ITS crashes iTunes

    I am using iTunes v7.1.1 (5), and am unable to access the ITS. When attempting to access, when the ITS loading progress bar is 99% complete, iTunes crashes every time. I've reinstalled the app, reinstalled Quicktime, have all USB devices unplugged. I

  • Pro*C sqlcxt undefined

    Sorry to post this in LINUX, my problem is on Windows. There doesn't seem to be a place to post poblems with windows c programming problems with pro*c. Also, no downloads seem to be available to fix problems with pro*c. I am getting this error when c

  • My CC InDesign crashes at startup

    I have tried everything to get InDesign to open - run as administrator; reboot. No avail. I get this error: Problem signature: Problem Event Name: APPCRASH Application Name: InDesign.exe Application Version: 9.0.0.244 Application Timestamp: 5176f4c7