How can I catch and display the "cent" symbol (Alt+0162)?

Hi,
I have a jTextArea field in which it supposes to be able to catch a special
character, money cent symbol by Alt+0162 from the keyboard. Does anyone know
how I can catch it and display it in money cent symbol in the jTextArea field?
Thanks for your help.
-John

The CATCH-ENDCATCH statement is obsolete as of release was620. You should use TRY. CATCH. ENDCATCH.
The exception that will be raise is CX_SY_CONVERSION_NO_NUMBER, so you have to catch that exception or a super class of this exception class.
REPORT zfsl_sum_functions.
DATA: cin(50),
cout(50),
iin TYPE i,
iout TYPE i,
etext TYPE string.
DATA: rf_cx_error TYPE REF TO CX_SY_CONVERSION_NO_NUMBER,
        errortxt TYPE string.
TRY.
    cin = '123ABC'. " how can i catch this
    iout = cin.
    WRITE: iout.
  CATCH CX_SY_CONVERSION_NO_NUMBER INTO  rf_cx_error.
    errortxt = rf_cx_error->get_text( ).
    WRITE errortxt.
ENDTRY.

Similar Messages

  • How can i cfp and nuke the device ??

    how can i cfp and nuke the device ??
    my Z10 stl100-1 have a bb10-0015 error and i can't use link to reload it And more than one way can't fix this error
    autoloader can't connect to the device just ask me for my password 
    some one tell my the way to fix it  cfp and nuke the device 
    whats that mean 
    plzz help me 

    You already have multiple threads running on this issue, and duplicating with a new thread doesn't help, please refer to your previous threads.
    http://supportforums.blackberry.com/t5/BlackBerry-Z10/can-t-reload-aftar-i-have-BB10-0015-error/m-p/...
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can i get rid of the cents in my account ?

    how can i get rid of the cents in my account ?

    If you want to change countries and can't spend it then you can try contacting iTunes support and ask them if they can remove the balance so that you can do so : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I have multiple iPhoto libraries w/ duplicates in several. How can I consolidate and find the dupes? Some photos are versions of the original.

    I have multiple iPhoto libraries w/ duplicates in several. How can I consolidate and find the dupes? Some photos are versions of the original. On my iMac, I also have many folders containing some of the same photos. My computer is used for both personal and business purposes. My libraries should be separated, one for each.

    To merge libraries use iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  or Aperature
    To find duplicates within an iPhoto library use iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ - 
    Photos that are not in an iPhoto library can be imported telling iPhoto not to import duplicates (an imperfect procews) and then IPLM can find the duplicates
    As to keeping seperate libraries - only you can do that - IPLM can move photos between libraries for you but only you can know which photos should be in which library
    LN

  • App store tried to update iBooks app. I can only see Newstand app on my screen and cannot get to bookstore. How can I delete and download the iBooks app again. iBook still appears in the settings menu as version 2.1   Tx iPad 2, iOS 5.0.1, iBooks 2.1

    App store tried to update iBooks app. I can only see Newstand app on my screen and cannot get to bookstore. How can I delete and download the iBooks app again. iBook still appears in the settings menu as version 2.1
    Tx
    iPad 2, iOS 5.0.1, iBooks 2.1

    Hi,
    the settings are gone, i guess. But even worse, I cannot get the iPad2 to play Full HD thru the Apple digital AV adaptor using apps that support  (and advertise this), like AVPlayer HD. This definiteley used to work before one of the last iOS upgrades. (I am now at 5.1.1).

  • How can I select and delete the fill color (white background) of a live trace (B&W) with in an actio

    How can I select and delete the fill color (white background) of a live trace (B&W) with in an action set?
    Illustrator CS4 in windows XP.

    Maybe Li[ve trace] is not t]he way[ to go
    I have some suggestion one leave it as is and use a blending mode of multiply to give it a color background like this
    leave it as is make it a grayscale tiff import int Illustrator and color it it in Illustrator like this
    Or trace over it with the brush tool aand then give it a color ground.
    Or do the original over and do a cleaner job with no tone or a minimum of tone. Then Live trace.

  • How can I resize and reposition the Date Created window for All windows?

    When setting view options for a finder window set to list view, I cannot get column resizing or positioning to hold. When making those changes, the option for "All Windows" automatically shifts to "This window only" and it then does not hold.
    How can I resize and reposition the Date Created column for All WIndows?

    Hi Harmz,
    Try dragging this file to the Îesktop & reboot...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist

  • How can I purchase and download the standalone LR6 here at Hong Kong?  There's no such option for me instead of forcing me to use the CC!

    How can I purchase and download the standalone LR6 here at Hong Kong?  There's no such option for me instead of forcing me to use the CC!

    Try this link:
    http://www.adobe.com/products/catalog.html
    Otherwise I suggest you contact your local office for help:
    Hong Kong office
    Suite 4102, 41/F
    The Lee Gardens
    33 Hysan Avenue
    Causeway Bay
    Hong Kong
    Tel: +852 2916 2100
    Fax: +852 2970 2277

  • How can I check and change the size of photo or doc in iPhone or any other app

    How can I check and change the size of photo or doc in iPhone or any other app

    You would need software form a third party to have this option.  The free software that comes with the 8600 doesn't have an option for that. Vuescan is the only software I could find that says it works with your pritner and has a descreen option.  You have to purchase it, but it will give you more advanced options than the software that came with the printer.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • How can i Flash and restore the firmware ( EFI ) from a Macbook pro ( late 2008 , 5.1 ) ??

    How can i Flash and restore the firmware ( EFI ) from a Macbook pro ( late 2008 , 5.1 ) ??
    Please help me !!

    The Seagate backup drive I bought doesn't support 10.5.8
    The only reason I can see for that is it's formatted NTFS, which would likely be Read Only in 10.5.x, if you can reformat it MacOS extended, which would erase everything on it now, then that should work for your purposes.

  • How can i copy and referencing the value of a sub-total of a category into another cell?

    How can i copy and referencing the value of a sub-total of a category into another cell?

    Cells in Category  rows 'exist' only when those categories are inserted using the Reorganize table. Those cells cannot be referenced from other cells.
    If you want a category summed, you will need to do that in a cell that is still visible when the table is not sorted into categorie using the Reorganize pane. The function to use is SUMIF. You can find information regarding SUMIF (and SUMIFS) in the iWork Formulas and Functions User Gude. The guide may be downloaded using the link in the Help menu in Numbers '09.
    Regards,
    Barry

  • How can I access and use the alphabetical keyboard of the phone ?

    How can I access and use the alphabetical keyboard of the phone ? I cannot find the answer in the manual of use.  Thanks for your help !

    Recently I was abroad and tried to contact my voicemail to check my messages. I was asked to enter a password and did not know how to use the letters below the figures on the keyboard.  I had to give up and wait until I was back in my country (no password is then needed).

  • How can I copy and paste the art work from album covers?

    How can I copy and paste the art work from album covers?

    I don't think the list style transfers. Copy and paste the text in to Mail, select it and then choose "Insert Numbered List" as a work around.

  • HOW CAN I DOWNLOAD AND VIEW THE MOVIES I HAVE MADE WITH MY SONY CAMCORDER HDR-XR550VE?

    HOW CAN I DOWNLOAD AND VIEW THE MOVIES I HAVE MADE WITH MY SONY CAMCORDER HDR-XR550VE?

    Thanks for being so helpful. I chased up the web-link but was not sure it would work with .cpi, so didn't opt to buy it. 
    Then I went on to the Sony support page and found this - which works fine, and has very clear instructions.
    http://support.sony-europe.com/tutorials/dime/imovietransfer/imovie.aspx?site=od w_en_GB&f=CAM&m=HDR-XR550VE
    Once again many thanks for helping me along the path to success with this.
    John

  • I haven't get any receipt of purchases since mid January 2014. How can I contact and let the itune fix this? (I live in Thailand, not available to call or find local support.)

    I haven't get any receipt of purchases since mid January 2014. How can I contact and let the itune fix this? (I live in Thailand, not available to call or find local support.)

    Has the ISP modems and routers been power cycled then tested again? 
    Possible ISP connection issues or LinksysSmartWiFi.com service outage maybe...
    Are FW versions on all routers up to date? 
    To safely update FW, I recommend doing the following: Download the FW file from the support site first.
    Disable the auto update feature on the router. <If this was on, possible someting was updated recently. I recommend leaving this OFF.
    1. Save router config to file first using IE or FF with all security add-ons disabled.
    2. Factory reset the router with all other devices disconnected or turned OFF accept for 1 wired PC.
    3. Reload or Update the FW using IE or FF. Just download the FW file to your local wired LAN PC.
    4. Factory reset the router and then set up from scratch first and test with out loading the saved config from file. Check to see if any problems are fixed before loading the saved config from file. Sometimes you need to set up from scratch with out loading the saved config file. Just safer that way.

Maybe you are looking for

  • Handhel dot being recognized by my pc

    I have had my Palm z22 for a couple of years with no problems.  However, today when I would try to sync my handheld to the palm calendar on my desktop, my pc would not recognize the handheld.  It would tell me it needed to install device driver and a

  • Service-specific error code -2146885628- MS SQL Server 2008 r2 Express

    I have had no end of problems starting my MS SQL Server 2008 r2 Express. My database program (Sage ACT! Pro 2011) starts fine. However when it attempts to start my default database, I get the following error message: When I start my database within m

  • IPhoto/Apple TV sync problem

    Since upgrading to iTunes 9.1 and 8.1.2 my iPhoto pics no longer sync with Apple TV. I've disconnected the library and set up new connection. No luck. I'm looking for suggestions and help.

  • Video preview/importing not working

    I recently opened my Premiere Elements 10 program and tried to edit some footage, when I found that the preview window on my workspace was a solid white image when trying to play video however the audio linked to the same file was working perfectly.

  • How to find who has deleted the query in Production system

    I Experts, I have an issue. Someone has deleted one query in Production system. How can i find who has deleted the query?? I searched the ans for the same i the below threads :- Query deleted in production How to find out who has deleted the producti