Trapping a keyboard type from Javacode - urgent

Hi friends , I need immediate help on this. I need to capture whether a String in the Java code comes from a Dutch keyboard or a US english keyboard. This information would then be used as input to "KeyBoard Distance Algorithm". How do I trap the keyboard type in my Java code????
thanks in advance for help

Maybe the java.util.Locale.getDefault() can help you?

Similar Messages

  • In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

  • Incorporating transaction types from F-43 to FB60...urgent help !!

    Hey guys...i need urgent help...my client is upgrading from ECC.5 to ECC.6 and in process they will no longer be using F-43 . Now they want me to incorporate all the transaction types from F-43 to FB60. Can someone explain the process. Thanks in advance.

    Dear Stiffler,
    The Payment Method field (ZLSCH) is not controlled via field status.
    This field cannot be set to required in the standard functionality in
    FB60.
    It means that for Vendor document entry for "payment method",
    you can only achieve it by creating a validation rule at call-up
    point 2.
    Or You can insert it into a Payment Term by OBB8 and insert the Payment Term into Your vendor/customer master data.
    I hope this helps.
    Mauri

  • Panic(cpu 2 caller 0x001A4A55): Unresolved kernel trap (CPU 2, Type 14=page

    Hi I'm getting the following error when I reboot my computer and have to manually hold down the restart key. Does anyone know what this means?
    Here is the error:
    panic(cpu 2 caller 0x001A4A55): Unresolved kernel trap (CPU 2, Type 14=page fault), registers:
    CR0: 0x8001003b, CR2: 0x00000001, CR3: 0x00da7000, CR4: 0x000006e0
    EAX: 0x03ecefc0, EBX: 0x03e0b0c0, ECX: 0x00000000, EDX: 0x03964e90
    CR2: 0x00000001, EBP: 0x2514bbf8, ESI: 0x03f37804, EDI: 0x0000001f
    EFL: 0x00010202, EIP: 0x00000001, CS: 0x00000008, DS: 0x00000010
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x2514b9c8 : 0x128d08 (0x3cc0a4 0x2514b9ec 0x131de5 0x0)
    0x2514ba08 : 0x1a4a55 (0x3d24b8 0x2 0xe 0x3d1cdc)
    0x2514bb18 : 0x19aeb4 (0x2514bb30 0x297 0x2514bb68 0x39bce6)
    0x2514bbf8 : 0x52e6a6 (0x3f37800 0x46a5c00 0x46a5c04 0x12d97d)
    0x2514bc18 : 0x3b4eed (0x46a5c00 0x4b069c 0x2514bc68 0x0)
    0x2514bc38 : 0x18795f (0x46a5c00 0x41c8998 0x1d 0x2514bc68)
    0x2514bc88 : 0x12b4d7 (0x3f73ba8 0x3f9a56c 0x9 0x11cc32)
    0x2514bcc8 : 0x11f1f0 (0x3f73b00 0x2514bd5c 0x24 0x0)
    0x2514bd08 : 0x12b6ba (0x3f73b00 0x10000 0x0 0x11f194)
    0x2514bd38 : 0x1492f1 (0x2514bd5c 0x24 0x0 0x0)
    0x2514bd88 : 0x120221 (0x41c8998 0x1 0x2514bda8 0x0)
    0x2514bda8 : 0x12248f (0x41c8998 0x1 0x0 0x140867)
    0x2514bdf8 : 0x123691 (0x38aaa78 0x180b 0x40c0f80 0x38dd5f0)
    0x2514be38 : 0x13a614 (0x38aaa78 0xcf 0x0 0x41bcdac)
    0x2514be88 : 0x33b493 (0x38dd5f0 0x12f471 0x2514bee8 0x38dd5f0)
    0x2514bec8 : 0x345947 (0x41bcdac 0xf 0x0 0x0) Backtrace continues...
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOUSBFamily(2.7.5)@0x519000
    Kernel version:
    Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386
    Model: MacPro1,1, BootROM MP11.005C.B08, 4 processors, Dual-Core Intel Xeon, 3 GHz, 2 GB
    Graphics: ATI Radeon X1900 XT, ATY,RadeonX1900, PCIe, 512 MB
    Memory Module: DIMM Riser A/DIMM 1, 512 MB, DDR2 FB-DIMM, 667 MHz
    Memory Module: DIMM Riser A/DIMM 2, 512 MB, DDR2 FB-DIMM, 667 MHz
    Memory Module: DIMM Riser B/DIMM 1, 512 MB, DDR2 FB-DIMM, 667 MHz
    Memory Module: DIMM Riser B/DIMM 2, 512 MB, DDR2 FB-DIMM, 667 MHz
    AirPort: spairportwireless_card_type_airportextreme (0x14E4, 0x87), Broadcom BCM43xx 1.0 (4.80.79.1)
    Network Service: AirPort, AirPort, en2
    PCI Card: ATY,RadeonX1900, Display, Slot-1
    Serial ATA Device: WDC WD2500JS-41SGB0, 232.89 GB
    Serial ATA Device: ST3750640AS, 698.64 GB
    Serial ATA Device: ST3300622AS, 279.46 GB
    Parallel ATA Device: PIONEER DVD-RW DVR-111D
    USB Device: iPhone, Apple Inc., Up to 480 Mb/sec, 500 mA
    USB Device: Hub, Up to 12 Mb/sec, 500 mA
    USB Device: Hub, Up to 12 Mb/sec, 500 mA
    USB Device: Keyboard Hub, Apple, Inc., Up to 12 Mb/sec, 500 mA
    USB Device: Apple Optical USB Mouse, Mitsumi Electric, Up to 1.5 Mb/sec, 100 mA
    USB Device: Apple Keyboard, Apple, Inc, Up to 1.5 Mb/sec, 220 mA
    USB Device: Studio Display, Up to 1.5 Mb/sec, 500 mA
    USB Device: Hub, Up to 12 Mb/sec, 500 mA
    USB Device: Hub, Up to 12 Mb/sec, 500 mA
    USB Device: Studio Display, Up to 1.5 Mb/sec, 500 mA
    USB Device: USB Device, Up to 1.5 Mb/sec, 500 mA
    FireWire Device: built-in_hub, unknown_value, Unknown

    Hi Hatter,
    Thank you for the feedback, I am already in the process of doing those steps before I wrote this question. The reason I am posting this is because I would really like to see if others have experienced problems with this. I want to be prepared with information when I have my appointment with the genius bar (this is my production mac and I need to finish up a project before I can get some known issues fixed).
    By knowing if others have seen issues with cpu 2 this will help me in understanding the problem and know if I'm getting the correct information from the genius bar. IE I don't want to be back at the bar with my HEAVY mac pro trying to troubleshoot this over a long period of time if someone here has seen a similar message and I can shortcut what might be a long and tedious process of fixing this.
    AGAIN, thank you for the feedback but I am doing those steps.

  • How to crete data type from XSD

    Hi All,
    can anyone tell me ...how to create data type from agiven xsd.
    I need urgently....
    thanks in advance....

    import this XSD, load this in your mapping editor and then use this to crate the datatype manually.
    Or, use XML spy, load this XSD and then you should be able to see the Structure, or,
    Look into the XSD data and decipher things yourself
    Regards
    Bhavesh

  • Looking for "Change Keyboard Type"-Button

    Hi. After installing Snow Leopard my Keyboard (from Cherry) works a bit wrong (some keys have wrong characters). I think there is something wrong with identification of the keyboard and wand to change it's type. "Help" (http://docs.info.apple.com/article.html?path=Mac/10.6/en/8962.html) says:
    1. Choose Apple menu > System Preferences, and then click Keyboard.
    2. Click Change Keyboard Type.
    The problem is, that there is no such Button "Change Keyboard Type" in Keyboard Prefs!
    So where can I change the type?
    Thanks,
    JB

    Hello Tom,
    I'm using two layouts - one is German and one is Russian-PC (Russian layouts are a little different for PCs and Macs). I don't know if it matters, but the system is running in English.
    I still believe, that the problem is in keyboard configuration. As I was installing 10.6, system asked me to "Press a button next to the left Shift" to identify, which type of keyboard I use. I didn't understand what the system wants from me and pressed a wrong key (I believe, I tried to press "Escape" but instead pressed the "^" key).
    Exactly the same thing happend to me a couple of times as I was installing 10.5.x - this message for Keyboard config is some kind of, I dunno, magic for me (or some poor interface design) - I always miss the point, and I've always pressed the wrong key. But in 10.5. there was a possibility to run keyboard identification once again from "Keyboard" menu (and so says "Help", too). But there is no more this button and I don't know if there were any other way to run identification again. (I've tried to plug-out and plug-in again, but it didn't help).
    Thanks for your help, I look forward to try to change layouts.
    Jurij

  • Flowing of the Condition  type from Sales Order to invoice

    Dear All,
    I'm facing a problme in the copying the condition types from Sales order to Invoice.
    The details are as mentioed below:
    I have a Condition type CONC and made the Copy of the Condition typs as ZDIS.So that CONC's value will be debited and ZDIS' value will be credited in the FI..
    But ALL the condition types which i have mentioed including tax and discounts condition types are copying from Sales order to invoice.Except CONC.
    I have checked all the copy controls,i'm sure those are OK.Bcoz other condition types are working perfectly fine.
    What could be the reason for this???
    Will be any setting for on condition type level for copy controls???
    Please Guide me its URGENT.
    Thanks
    Vinay

    hi
    from which condition type u have copied this CONC , can u pl elaborate more on this.
    and just write what is exact scenario and whats going wrong?
    in copy controls check for pricing source and pricing type.
    regards
    mandar

  • Keyboard types "a" on its own

    my keyboard types "a" on its own I've tried all the obvious.Might be software issue I'm running LION

    Thank you. I called my carrier and told them that the i704 os made my phone unusable and that the support in the forums is populated by children like yourself who make nasty comments and provide no support, I was released from my contract. Free at last from rotten Apple and shmucks like you.

  • How to change the default IDOC basic type from CREMAS05 to CREMAS04.

    Hi All,
    How to change the default IDOC basic type from CREMAS05 to CREMAS04 when sending Vendor Master Data.
    When I generate partner profile, the system will add the latest version of IDOC type which is CREMAS05 to the Outbound message. In my project, I'm asked to use CREMAS04.
    I want to use BD14 to send master data directly, but the program will generate IDOC using CREMAS05. Is there a way that I can change it to CREMAS04? And also for using Change Pointers, I want to use the report RBDMIDOC, but i have the same problem.
    Thanks
    Sai Krishna

    execute WE20 and edit the outbound parameters
    here is a pretty good example: http://documentation.softwareag.com/webmethods/sapr3_gateway/sap231/pages/sapdist.htm
    Edited by: Jürgen L. on Sep 7, 2011 9:49 PM

  • How to exclude stock of a particular storage type from collective availabil

    How to exclude stock of a particular storage type from collective availability check in MDVP.

    you can set the storage location as 'Storage location stock excluded from MRP' value '1' in the field
    Sloc MRP indicator , in MRP view $ when you enter a storage location accessing the material master.
    Thsi is the only way to exclude the storage location, you have to do it per each material and also it is excluded from the MRP.
    With this option the stock is not considered in ATP.
    IF you need the storage location in the MRP, then you should consider the use of MRP Areas.
    With the MRP Areas you define which plants/storage locations belong to each MRP area and the ATP is performed for eah area with the stocks that exist in each of them.
    Please if the issue is solved set the thread  as answered and provide the points to the useful replies.
    thanks for your cooperation

  • How can we derive the Abs quota type from absence type?

    we need to develop a report where we need to fetch Abs quota type from abs type.
    I checked T554S, we can get counting rule from it and then T556C and then to assigned deduction rule in table T556R.
    From T556R, qota type is there but the field is ABWKO and it is structure. How do read values from deduction rule.
    we need KTART field which is in V_T556A.

    Hello,
    Did you find the solution to your problem?
    Kr,
    Julien

  • Returning an array type from a local method in Web Dynpro Java application

    Hi,
    In my project, we have a requirement to display 18 rolling months along with the year, starting from current month.
    How I am going to approach is that I will get the system date and get the current month and send the month and year value to a local method which will return 18 rolling months along with the year.
    But, when I tried to create a new method there is no option to return an array type. It was greyed out.
    So, we can not return an array type from a method from Web Dynpro for Java application?
    If so, what is the alternative and how am I going to achieve it?
    I will appreciate your help!
    Regards
    Ram

    HI
    You can create new methods in
      //@@begin others
      private ArrayList MyMethod(){
           // ** Put your code here
           return new ArrayList();
      //@@end
    Other option are create a context node with cardinality 0...n with one or more attributes, and in your method create the needed registers into this node. To read this values, you only need to read your context node.
    Best regards
    Edited by: Xavier Aranda on Dec 2, 2010 9:41 AM

  • How to change P.O. duplication message type from warning to error for Order

    Hi Experts,
    I have a requirment to change P.O. duplication message type from warning to error for Order only not OrderTemplate.  I can easily change message type in BAdI ISA_BASKET_MSGS, but I can't find the parameter to know if it's Order or OrderTemplate (DocType).   If this BAdI is not good way,  is there other way? and how to please?
    Please advise / help..
    Thanks, Jin

    Thanks Easwer for your help. 
    The info for getting status from function is very clear and I followed you instruction and completed the coding in BAdI and tested it successfully .... Thank you very much.  I need to learn where I can see the system status of the template,  i.e.  I1034 (Order Template) or Order or Quotation .....?  if I need to filter out Quotation, I can easily do it in the BAdI.   Could you please provide me more details?
    Thanks again, Jin
    Thanks again, Jin

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • Retrive document types from BKPF / BSEG

    Hi guys,
    I need to extract records with the following document types from BKPF
    - RE (Invoice Gross with PO)           
    - RA (Sub.cred.memo stlmt with PO)
    - KR (Vendor Invoice without PO)          
    - KG (Vendor credit memo without PO)      
    - ER (E-Payment)                    
    - TE (Travel & expense)               
    - KD (Down payment)               
    and then for these records the BSEG entries with these posting keys
    - 31 (link to Payment via clearing document)
    - 40 (debit entry, for non-PO voucher)                    
    - 50 (credit entry, for non-PO voucher)                    
    - 86 (GR/IR Debit, link to PO Line, positive)                
    - 96 (GR/IR Credit, link to PO Line, negative)                
    Extractor 0fi_gl_4 does not provide me wtih all these doc types, only a subset.
    0fi_ap_4 is not an option for me, because in the data warehouse I need to link the bkpf/bseg records to the PO (ekko/ekpo), while we have no po reference in bsik/bsik that are read by 0fi_ap_4.
    Is there a way to extend the fi_gl_4 so it contains the doc types I need?
    Or do you know another way of retrieving bseg records of specific types?
    Regards,
    Arjen

    ok,
    I have checked again and if you didn't change the business content, both fields BLART (doctype) and BSCHL (key) are extracted; how was your delta init done? with selections? Did you apply some specific TRules or URules? Check you PSA for a record you are missing and simulate the update in order to see what's going on.
    As I said, I got everything in my ODS.
    you can also check this in R/3; Tx RSA3 with a comp_code and a fiscal period selection...
    hope this helps
    Olivier.
    Message was edited by:
            Olivier Cora

Maybe you are looking for