CAPS LOCK is ON or OFF

Hi,
I have Created a Transaction. I have two Fields on it.
USER_NAME and PASSWORD.
Before the User Enters any thing on the screen, I want to know, if the CAPS LOCK is ON or OFF.
If the CAPS LOCK is ON, I need to display message like in Windows.
I don't know, if it is possible or not.
Please suggest.
Thanks in advance,
Ishaq.

HI CHECK THIS..
this is automatically shows whether the caps lock is on or not..
report zpassword.
SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title.
Parameters: p_name like sy-uname,
            p_pas like sy-uname lower case.
SELECTION-SCREEN skip 1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(70) text-001.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 500.
title = 'HAI VENKAT LOGIN PLEASE'.
CALL SELECTION-SCREEN '0500' STARTING AT 10 10 ending at 70 14.
AT SELECTION-SCREEN OUTPUT.
loop at screen.
  check screen-name eq 'P_PAS'.
  move: 1 to screen-invisible.
  modify screen.
endloop.
start-of-selection.
if p_pas = 'venkat'.
write:/ 'this is working'.
endif.
regards,
venkat

Similar Messages

  • My Apple Bluetooth Keyboard caps lock light wont shut off

    My Bluetooth keyboard Caps Lock light wont shut off and it keeps eating the batteries everyday. I have to take the batteries out when Im not using it.
    Just wondering if theres a fix to this issue or should I just get another one?
    Thanks all.

    Take it in for testing....sounds like it has failed.
    Barry

  • Apple wireless keyboard caps lock light wont turn off

    I have an apple wireless keyboard that came with my 2011 imac and up untill last month the caps lock light wont turn off even when i turn caps lock off and its draining my battery. usually the keyboard will turn off whenever the computer was off but now i have to turn the whole keyboard off everytime im not using it to save battery.

    It is probably faulty.  If you are close to one, I suggest you take it to an Apple store for diagnosis.
    Barry

  • Caps lock won't turn off

    My updated 3G iPhone keyboard is slower and caps lock won't turn off after turning on with a double tap. If I switch to numerals or special characters when I go back to main keyboard caps lock is off. Anyone having the same issues or any solutions?

    Please read teh directions for an SMC reset:
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • The 'caps lock indicator immediately truns off when any key is pressed.

    I have a 6 week old system.  When I press(turn on) the 'CAPS LOCK' key it does lite up .  However it reverts to lower case - and lite turns off, immediately when ANY OTHER key is touched on the keyboatd.
    I ran the anti virus program  and it appeared to be fixed.  However it does the same thing today, even after I run the anti VIrus program(s) again.
    Help!?.........

    Hello alrprairie,
    I understand you are having issues with your CAP LOCKS working on your computer. I would be happy to assist you, but first I would encourage you to post your product number for your computer. I am linking an HP Support document below that will show you how to find your product number. As well, if you could indicate which operating system you are using. And whether your operating system is 32-bit or 64-bit as with this and the product number I can provide you with accurate information.
    How Do I Find My Model Number or Product Number?
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Please re-post with the requested information and I would be happy to provide you with assistance. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Wired keyboard issues-caps lock won't turn off and other keys do not type

    I sat down today to use my May, 2010 iMac.  Fully up to date with Lion.
    I am using a WIRED keyboard. 
    The caps lock key is permanently on and the remaining keys when pressed do nothing.  They do not work.  You can press the keys down but they don't type any letters or symbols of any kind.
    I cannot log in because I can't type my password as the keys don't work.
    I can't do a PRAM reset because the  P and R keys and others don't work.
    I don't know what an SMC reset is but I can't do that either because the keys don't work.
    Why would a keyboard stop functioning?  Yesterday, it was just fine.  Now it doesn't work. 
    What causes the caps lock key to stay on?
    I have unplugged the keyboard etc, but nothing changed. 
    Doesn't anyone know how to correct this problem?  Do I just need to buy a new keyboard? 
    I called Apple but they were closed. 

    Please read teh directions for an SMC reset:
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • My caps lock is off so why is my text in ps cs6 typing in all caps?

    Im working on a poster that needs to get done asap but all my lettering are in caps. I tested my caps lock and they are off so why is everything still in caps? All the settings are the same as they were when I lasted opened it and there were no problems. How can I fix this issue?

    Open the Window - Character panel and look to see if the little TT button is pressed.  Settings are sticky, so perhaps you used that function before.
    You can reset the entire Text tool by right-clicking in the tool icon...
    -Noel

  • Compaq Elite 8300 All-in-One, Windows 7 Prof Caps Lock on or off freezes typing

    I have bought a brand new HP8300 & find that when I use the cap lock, either on or off, it freezes typing & I have to reposition the cursor to restart typing. Being a touch typist & typing many schedules & reports this is becoming annoying. Tried various Windows settings & 3 keyboards wireless & wired & it happens with all. HP Tech advised me to try resetting the BIOS to default which cures the problem, but then during the day it reoccurs again.  Restart causes it to default back to the fault unless the BIOS is reset first.  Anyone heard of this? Is this a BIOS fault, any ideas what I can do please.  Thanks

    Thanks for your help, did try it but unfortunately it made no difference.  The BIOS setting back to default seemed to be the only way to stop the problem, but then it returned as soon as the pc started up again.  Eventually HP replaced the BIOS and I reinstalled Windows 7 which has cured it so far.  The pc was the business edition by the way.  Thanks again

  • Why does caps lock light remains on when I turn off my macbook pro?

    I had a problem recently come up with my MacBook Pro Early 2011 15 inch 2.0 ghz computer. The the caps lock light initiates at boot up. When I depress caps lock the light goes off but then only allows capital letters.  All sybols associtated with depressing the cap button such as the "at" sign are screwed up.  When I turn my computer off with safe mag attached, the caps light remains on. When I remove the safe mag, the caps light goes off.  Any clues as to what is going on?
    Thank you for your inputs ahead of time.
    Bret

    You should call AppleCare as soon as possible. 1-800-275-2273
    You have 90 days of free tech support from Apple from the date of purchase.
    You can return or exchange the computer within 14 days from the date of purchase.
    Best.

  • Caps Lock key problem please help me

    Sir
    i want to check the caps lock key on or off
    how can i do?
    Please help me
    Thanks in advance

    Toolkit.getDefaultToolkit().getLockingKeyState(...);

  • OSX Caps Lock stuck on (not a sticky keyboard)

    You see this question posted frequently, and I have searched exhaustively to find the right solution for my problem, to no avail.
    Occasionally, my iMac will get into a funky mode where EVERTHING I TYPE IS IN CAPITAL LETTERS, regardless of the status of Caps Lock. Yes, I know, it's annoying. But it's more than just annoying because it makes it impossible to unlock the screen and I have to reboot, losing unsaved work in the process. ARGH!
    You're probably already thinking of all the silly solutions; removing cracker crumbs or grape jelly from under the keys, unplugging/replugging the USB keybard or trying a different keyboard. Let me save us both some time, because it's not that obvious. I ask you to put your thinking cap on, because right now my screen is locked and I would rather not have to reboot. My wife has some unsaved work that I don't want to lose! Do you accept the challenge? Thanks! Here's what we know, and some of the things we can rule out:
    * This has been known to happen while I am typing.
    * The only solution I have found to restore normal behavior is a simple reboot, which resolves the problem every time.
    * It is not a bad keyboard. The same behavior is exhibited by known good USB and Bluetooth OEM keyboards, as well as a third aftermarket keyboard.
    * The Caps Lock keys on ALL THREE keyboards are working properly, as demonstrated by the Caps Lock LED toggling on/off with each press of the key.
    * However, the Caps Lock indicator in the Password field STAYS ON and does NOT toggle when the key is pressed!
    * No key behavior has been changed from their default Preferences.
    * This was happening with the factory install of Lion, and has continued after the in-house upgrade to Mt Lion.
    * This occurs only once every two months or so, which is why I have never got around to opening a ticket with Apple.
    All of this leads me to believe that there is nothing wrong with my computer. I believe that, quite by accident, I fat-finger some magical key combination that triggers this behavior. Unfortunately, I can never figure out what I've done, or how to get it back to normal without rebooting the darn thing. Until I can figure out what triggers this behavior (and so presumably will be able to toggle back to normal when it occurs), I think my best workaround is to use a password that has all upper case letters so at least I can unlock it when it does happen. Unfortunately, right now I am still facing losing work due to a reboot if I can't find a real solution.
    Suggestions? Advice? SOLUTIONS????

    Hi Donna, if you've already rebooted, try this workaround...
    System Preferences>Keyboard>Modifier keys>Caps Lock=no action.

  • HP G72-B6OUS Notebook - the "caps lock" key

    the "caps lock" key has come off the keyboard.  how can i have it put back on the keyboard or where can i take it
    to have the notebook keyboard fixed???

    Hey arkay71,
    If the key isn't completely broken, it should snap back in. Depending on the model of your notebook, it may or may not have a small metal bar that acts as a guide. Make sure to align that with the 2 hooks on both sides of the key slot, then snap it into place. If the key doesn't have a metal bar, then it should just snap it - make sure everything is lined up before you do.
    If the key is broken, and the tabs are missing or no longer snap into place, then you'll have to contact HP support for a replacement keyboard: 800-474-6836
    I am an HP employee.
    • Say thanks by clicking the 'Thumbs Up' button on the left
    • Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution' if it solves your issue

  • CAPS LOCK on screen notification

    I have a Logitech (support no help) wireless keyboard (s530) for MAC, but I can find no provision for on screen notification of CAPS LOCK (none on keyboard) Is there some way that I can do this similar to the notification that the CAPS LOCK is on or off at log in?

    CAPS Warn was exactly what I was looking for...Macworld forum provide me that source also....
    This should do exactly what you're looking for:
    http://thewoodwards.us/sw/CAPSWarn/index.shtml
    Dan Frakes / Macworld Senior Editor / Playlist Reviews Editor

  • Caps lock on keyboard

    HP TOUCHSMART PC, wireless keyboard.  How am I able to determine if my caps lock is on or off? There is no light on the keyboard and the pop-up on the screen no longer appears?

    Hi Guy's, I hope this helps. The keyboard keys Fn + F9; F10, F11, would not respond to switch screen display or brightness control.
    The Cap lock and Num lock icon. Sound up/dn bar would not display on screen.
    I reinstalled HP My Display Touchsmart Edition.exe. This corrected all of these issues.
    You can find it here:
      http://www.portrait.com/dtune/hpo/enu/upgrade.html
    There is no need to uninstall anything. This will resolve these issues until you restart or shutdown the computer. Then you must reinstall the App. again.
    Best Wishes, JaCarr
    JEC

  • MacBook Keyboard Caps Lock and Num Lock are working in reverse!!!

    Ok, this sounds very strange...my keyboard on my MacBook only works when both the num lock and caps lock keys are depressed (so the green lights are illuminated). if the num lock is off then the keyboard does not work. if num lock is on and caps lock is off then the keys only type in ALL CAPS. if both num lock and caps lock are on (green lights) then the keyboard behaves as it should--except it's supposed to be that the num lock and caps lock keys should be off! I've checked system prefs for keyboard and mouse and for universal access, i've reset to defaults, i've restarted the machine...NOTHING works!
    Has anyone ever seen this before? Any clue what to do?
    thanks
    Mark

    Do computers have child diseases? My computer's immune system now seems to have taken care of the caps lock/num lock problem. I haven't had any inverted startups in weeks now. Very strange!
    In my experience, the treatment is to ignore the fact caps lock/num lock is lit, and to restart the computer. If you need to log in to restart, do it as if startup was normal, since caps lock/num lock is not actually turned on.
    And hope for the natural healing.
    Does anyone have different experiences?
    /Joachim

Maybe you are looking for