Program for conversion please very urgent

program to convert numberic to string like 356 to thre hundred and fifty six...and 1020 to to one thousand and twenty

This one works for upto 4 digits
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class DigitsToWords {
     public static void main(String[] args) throws IOException {
           BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
           String inDigits ;
           System.out.print("Enter some number: ") ;
           inDigits = in.readLine();
           String inWords = parseToWords(inDigits);
           System.out.println(inWords);
           in.close();
     public static String reverseString(String str) {
          String reverse = "";
          int length = str.length();
          for (int i = length-1; i >= 0; i--) {
               reverse+= str.charAt(i);
          return reverse;
     public static String parseToWords(String inDigits) {
          String inWords = "";
          String reversed;
          String word = "";
          reversed = reverseString(inDigits);
          for (int i = 0; i < reversed.length(); i++) {
               char digit = reversed.charAt(i);
               if(i == 1) {
                    switch(digit) {
                         case '1':
                              switch (reversed.charAt(i-1)) {
                                   case '0':
                                        word = "ten";
                                        break;
                                   case '1':
                                        word = "eleven";
                                        break;
                                   case '2':
                                        word = "twelve";
                                        break;
                                   case '3':
                                        word = "thirteen";
                                        break;
                                   case '4':
                                        word = "fourteen";
                                        break;
                                   case '5':
                                        word = "fifteen";
                                        break;
                                   case '6':
                                        word = "sixteen";
                                        break;
                                   case '7':
                                        word = "seventeen";
                                        break;
                                   case '8':
                                        word = "eighteen";
                                        break;
                                   case '9':
                                        word = "nineteen";
                                        break;
                              break;
                         case '2':
                              word = "twenty";
                              break;
                         case '3':
                              word = "thrity";
                              break;
                         case '4':
                              word = "fourty";
                              break;
                         case '5':
                              word = "fifty";
                              break;
                         case '6':
                              word = "sixty";
                              break;
                         case '7':
                              word = "seventy";
                              break;
                         case '8':
                              word = "eighty";
                              break;
                         case '9':
                              word = "ninty";
                              break;
               else {
                    switch(digit) {
                         case '1':
                              word = "one";
                              break;
                         case '2':
                              word = "two";
                              break;
                         case '3':
                              word = "three";
                              break;
                         case '4':
                              word = "four";
                              break;
                         case '5':
                              word = "five";
                              break;
                         case '6':
                              word = "six";
                              break;
                         case '7':
                              word = "seven";
                              break;
                         case '8':
                              word = "eight";
                              break;
                         case '9':
                              word = "nine";
                              break;
               switch (i) {
               case 2:
                    word += " hundred"     ;
                    break;
               case 3:
                    word += " thousand"     ;
                    break;
               default:
                    break;
                    inWords = word + " " + inWords;
          return inWords;
}

Similar Messages

  • Update Routine ... Help me Please--VERY URGENT

    Hi All ,
    I Moving data from Cube to ODS . Let me explain abt the records in the cube .
    There are 6 key figures in the cube as well as dimensions, UNIQKEY TRANSACTION is One Dimension and ARTICLE is another dimension which is having an Navigational attribute called CORE ELEMENT.
    I am showing the data with those two dimension and the key figures which are to be used in the routine.
    Charc----
    Key Figures
    UNIQKEY-ARTICLE-Coreelement--
    billqty     
    in base unit
    A00N----1006330--1--
    10.5
    A00M -
    1006320----2--
    2.5
    A00P-----1006330--1--
    10.5  
    A00P-----1006320--2--
    2.5
    A00Q-----1006320--2--
    2.5
    A00Q-----1006340--3--
    10.5
    Now Lets see what the core element numbers mean,
    core element 1 means -- fuel .
    Core elemnet other 1 -- food .   
    I need to move these data into ODS Which will have an extra field called No of items in the transaction --ITEMS.For this i need to write  a routine .
    The Logic is ...
    1.if Materail is of type 1(Means if the core element - 1)
    I need to Populate the No of items in tnx = 1 .--ITEMS.
    2.If Material is of type(Means if the core element)2or 3 I need to populate the billing quantity to the no of transcations.--ITEMS
    3. If the Uniqkey tanscation contains two line items as  suppose that you have 20 litres of fuel and 2 cans of coke, then No of Items in the transaction should be 3 and Billing Quantity in BUoM 22
    billing quantity in BUoM = 20 litres for the first line item and 2 for the second line item...
    then as the first line item is fuel, field No OF Items in the Transcation should be 1 (replacing the 20) + 2 = 3
    so the final result in the ODS should be billing quantity in BUoM = 22 and The Items in the Transcation= 3
    So the ODS Data should look like this.
    UNIQKEY--billqty--
    ITEMS
    in base unit 
    A00N--10.5--
    1
    A00M--2.5--
    2.5
    A00P--13--
    3.5
    A00Q--13--
    12.5  
    NOTE : IN the ODS only the UNIQKEY IS THE KEY FIELD and the rest are DATA FIELDS.
    I Posted this one before also. But didnt get proper responses.
    I am Pasting the piece of code which I have written . This code will work for the first two records in the cube , But it is failing for the UNIQKEY Transcation having Line items.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BI0/PMATERIAL.
    DATA: TITEMS LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS,
           CORE_ELEMENT like /BI0/PMATERIAL-RPA_WGH1.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS8ZPOCTUS04
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    check not COMM_STRUCTURE-material is initial.
      select SINGLE RPA_WGH1
            INTO CORE_ELEMENT
            from /BI0/PMATERIAL
            where
            material = COMM_STRUCTURE-material
            and  OBJVERS <>'D'.
       IF CORE_ELEMENT EQ '1'.
       TITEMS = '1'.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
             input         = titems
          IMPORTING
            OUTPUT        = titems
       ELSE.
       TITEMS = COMM_STRUCTURE-BILL_QTY.
       ENDIF.
    result value of the routine
      RESULT = TITEMS..
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    PLease give me ideas on how to acheive this . As I am not Aware of ABAP very well.. PLease try to give me the code. I hope one of you may got the same requirement before.
    Its very urgent and I need to deliver it today itself.
    Thanks in advance , you can mail me to [email protected]. If anybody intersted to discuss this Issue they can reach at +91 9845922955.

    Hi ,
    While I am moving the data from cube to ods . I need to create the update rules with cube -- 8cube . WHen i am doing this the billqty is a key figure in cube so that is not a problem but the ITEMS is not there in the cube ,SO for that I need to write a routine to populate that one.
    Its strange but the user what to analyse with the UNIQKEY transaction. And these objects will be added as navigational attributes to the Characteristic. as it acts as another dimension.
    He wants to laod these from ODS to Master data -Characteristic.
    to say for each transcation hpw many items are getting sold.
    Message was edited by: Nagarjuna Reddy
    ONce again thanks for the qucik replies
    Message was edited by: Nagarjuna Reddy

  • PASSWORD FOR FLODERS  PLEAse  HELP URGENT

    HI ALL
    please tell me the method of implementing password
    provision for some folders/files in the system.
    it should ask for password authentification before
    opening when i click on the folder.
    please help urgent
    thanks
    belur

    Hi Swaroopba,
    It can be very well done thru Form based Authentication.
    For eg let me explain with respect to Tomcat.
    Go to
    $TOMCAT_HOME/webapps/examples/WEB-INF directory.
    Please add the following code in it.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Protected Area </web-resource-name>
    <!-- Define the context URL's to be protected -->
    <url-pattern>/jsp/security/protected</url-pattern>
    </web-resource-collection>
    </security-constraint>
    Please add the following code in it. And you have to specify the roles for it.
    I hope this will be helpful for you.
    Or if you want it in an application, please let me know.
    Thanks
    Bakrudeen

  • BAPI's for remote Cube very urgent

    Hi,
       I want to activate the cube 0FIGL_R10 and 0TRCM_RC1. Can anyone guide me what needs to be done. I jave activated the cube from Business Content. When I try to execute the query it is not running .
    please help as it is very urgent for me ..
    Regards
    Baljit Singh

    Hve a look at this:
    Need step by step process for creating remote cube
    Regards

  • How to Activate a Condition Type in the Tax OCde for A/P  -- Very Urgent

    Hi  Peers
    I'm creating a new Tax Code in T.Code FTXP, while creating, One Condition Type is Deactivated, say JM01, How to activate that condition Type. I know how to activate the Condition Type in A/R side but I want to know it in A/P side.  Plz help. Its very urgent. 
    Regards
    Rajaram

    Hi Rajaram,
    U pls Check ur configuration. First u check the calculation procedure (F.A- Tax on sales & purchase-Basic setting-Check calculation procedure _ Define procedure) In the procedure field u  check JM01 is activated or deactivated otherwise u created in condition Type.
    I think its usefull otherwise u let me know
    Thanks
    R.Manigandan

  • Please very urgent How can i call focus event for dynamic created txtbox

    Hi,
    I create a one texbox using javascript .now i want to call onFocus event that textbox.How is it

    Hi,
    I create a one texbox using javascript .now i want to
    call onFocus event that textbox.How is itJust for you, slowly, so you can understand:
    Javascript was invented by Netscape and is a scri�ting language for browsers.
    Java is a programming language invented by Sun.
    Compare:
    Netscape. Sun.
    Notice a difference?

  • Program for conversation on 10.2.8

    I have 10.2.8 currently on my Mac, on my other computer I always used Skype or MSN to have voice conversations with others and now that I am in a different country, it would be very helpful. However, it needs at least 10.3 for both of these which I would like to hold off on for now.
    Is anyone familiar with a program that might allow conversation but that will work on OSX 10.2.8?
    Thanks in advance.
    l.g.b.d

    As far as I know, you can get the update to 10.4.3 Tiger by calling 1-800-MYAPPLE (the Apple Store) only IF you have a Combo, or Super drive (DVD-reading capability). If you do, you should use Disk Utility to repair permissions (if it exists under 10.2.8), then pay-for ($129+tax), get, and install Tiger using the Options-button / Archive and Install, Preserving User and Network Settings (assuming you have enough disk space, as it puts the old OS under a "Previous Systems" folder, which is non-bootable). Make sure that you get the salesperson to promise that they will deliver 10.4.3. Also confirm from them that you can go directly from 10.2.8 to 10.4.3 , which seems to be true from Tiger's Installation Booklet. The biggest change would be the "Journaled" file system introduced under OSs beyond 10.2.8, which renders the OS to be more stable. It also helps if you have maxed-out your RandomAccessMemory (RAM) -- I have 1024MB = 1GB!

  • Program for conversion to character based in sap console.

    Hi,
    This is Urgent
    We are using SAP console to connect between SAP to Mobile device.
    For this some customised screens are to be designed.
    As SAP Console is character based, and notmal SAp is GUI based.
    how can we convert the sap screen designed using se51 or se38 to display using sap console char based.
    Is there any program that convert this automatically.
    Or are there any other transactions that help us code specifically for char based for SAP console.
    Thanks

    Hi all,
    What is the significance of input field IM_DOC_URL in FM CV150_PRINT_DOC?
    What value do we need to pass for this field?
    Regards,
    Sachin

  • Please very urgent........

    hi i am new to ABAP.
    my requirement is :
    create a ALV report to display material number and sales order using tables MARA and VBAP
    using REUSE_ALV_GRID_DISPLAY.
    points will be rewarded.

    hi nani,
    try this code,this is for displaying billing document number and other relevant details.you can put your required fields and check for help.
    TABLES: vbrp,vbrk.
    Global data definitions
    DATA: ok_code LIKE sy-ucomm,
          it_tab TYPE TABLE OF zstruct1,
    Name of the custom control added to the screen
          g_container TYPE scrfname VALUE 'CUSTOM_SCREEN',
    ALV Grid instance reference
           grid TYPE REF TO cl_gui_alv_grid,
    Custom container instance referance
          g_custom_container TYPE REF TO cl_gui_custom_container.
    To display the billing document no and customer no at the selection screen.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE t001.
    SELECT-OPTIONS  s_vbeln FOR vbrk-vbeln OBLIGATORY.
    SELECT-OPTIONS s_kunrg FOR vbrk-kunrg OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    Validating the entries in the selection screen.
    AT SELECTION-SCREEN.
      SELECT SINGLE vbeln FROM vbrk INTO vbrk WHERE vbeln IN s_vbeln.
      IF sy-subrc <> 0.
        MESSAGE e000.
      ENDIF.
      SELECT SINGLE kunrg FROM vbrk INTO vbrk WHERE kunrg IN s_kunrg.
      IF sy-subrc <> 0.
        MESSAGE e001.
      ENDIF.
    Start-Of-Selection Event
    START-OF-SELECTION.
      PERFORM fetch.
    END-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS100'.
    *SET TITLEBAR 'xxx'.
      PERFORM display_alv_billing.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'EXIT'(001).
          PERFORM exit.
        WHEN OTHERS.
          CALL SCREEN 100.
      ENDCASE.
      CLEAR ok_code.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  EXIT
          text
    -->  p1        text
    <--  p2        text
    FORM exit .
      LEAVE PROGRAM.
    ENDFORM.                    " EXIT
    *&      Form  fetch
          text
    -->  p1        text
    <--  p2        text
    FORM fetch .
      SELECT kvbeln kkunrg pposnr pfkimg p~matnr INTO CORRESPONDING FIELDS OF TABLE it_tab
      FROM vbrk AS k JOIN vbrp AS p ON kvbeln = pvbeln WHERE k~vbeln IN s_vbeln AND
                                                               k~kunrg IN s_kunrg.
    ENDFORM.                    " fetch
    *&      Form  DISPLAY_ALV_BILLING
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv_billing .
      IF grid IS INITIAL .
    Creating custom container instance
        CREATE OBJECT g_custom_container
        EXPORTING
             container_name = g_container
        EXCEPTIONS
             cntl_error = 1
             cntl_system_error = 2
             create_error = 3
             lifetime_error = 4
             lifetime_dynpro_dynpro_link = 5
             OTHERS = 6 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
    *----Creating ALV Grid instance
        CREATE OBJECT grid
           EXPORTING
                i_parent = g_custom_container
           EXCEPTIONS
                error_cntl_create = 1
                error_cntl_init = 2
                error_cntl_link = 3
                error_dp_create = 4
                OTHERS = 5 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
    *----Here will be additional preparations
    *--e.g. initial sorting criteria, initial filtering criteria, excluding
    *--functions
        CALL METHOD grid->set_table_for_first_display
             EXPORTING
         I_BUFFER_ACTIVE =
         I_CONSISTENCY_CHECK =
               i_structure_name = 'ZSTRUCT1'
         IS_VARIANT =
         I_SAVE =
         I_DEFAULT = 'X'
              is_layout = g_layout
         IS_PRINT =
         IT_SPECIAL_GROUPS =
         IT_TOOLBAR_EXCLUDING =
         IT_HYPERLINK =
             CHANGING
                it_outtab        = it_tab
               it_fieldcatalog = g_fieldcat
          IT_SORT =
          IT_FILTER =
             EXCEPTIONS
                invalid_parameter_combination = 1
                program_error = 2
                too_many_lines = 3
                OTHERS = 4 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
      ELSE .
        CALL METHOD grid->refresh_table_display
      EXPORTING
         IS_STABLE =
         I_SOFT_REFRESH =
            EXCEPTIONS
               finished = 1
               OTHERS = 2 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
      ENDIF .
    ENDFORM.                    " DISPLAY_ALV_BILLING
    reward if helpful.
    regards,
    sravanthi

  • Smod object or not Please very urgent .. I want to find exits ..

    How can I distinguish smod user exits or others ?. I want to get only activable exits by catching smod linked or not .
    Edited by: carlos eduardo on Dec 17, 2007 10:34 AM

    *& Report ZMS_ACTIVE_EXITS
    *& This report displays all the active customer enhancements in the
    *& system and also displays whether they are active or implemented
    REPORT ZMS_ACTIVE_EXITS.
    Data decleration
    TYPES: BEGIN OF S_FUNCTION,
    FNAME LIKE MOD0-FUNCNAME,
    FTEXT LIKE TFTIT-STEXT,
    IMPL,
    ACTIVE,
    EXAMPLE,
    END OF S_FUNCTION.
    TYPES : BEGIN OF DISPLAY_STR,
    PROJECT TYPE MODACT-NAME,
    ENHANCEMENT TYPE MODACT-MEMBER,
    FM TYPE MODSAP-MEMBER,
    STATUS TYPE CHAR20,
    END OF DISPLAY_STR.
    DATA : LT_MEMBER TYPE TABLE OF MODACT-MEMBER,
    LS_MEMBER LIKE LINE OF LT_MEMBER,
    LT_FM TYPE TABLE OF MODSAP-MEMBER,
    LS_FM LIKE LINE OF LT_FM,
    LT_MODNAME TYPE TABLE OF MODACT-NAME,
    LS_MODNAME LIKE LINE OF LT_MODNAME,
    LT_DISPLAY TYPE TABLE OF DISPLAY_STR,
    LS_DISPLAY LIKE LINE OF LT_DISPLAY,
    LS_FUNCTION TYPE S_FUNCTION,
    FIELD1(30).
    START-OF-SELECTION.
    Select active customer enhancement.
      SELECT NAME FROM MODATTR INTO LS_MODNAME
      WHERE STATUS = 'A'.
        APPEND LS_MODNAME TO LT_MODNAME.
        CLEAR LS_MODNAME.
      ENDSELECT.
      IF LT_MODNAME IS INITIAL.
        WRITE / 'no active enhancements'.
      ENDIF.
    Determine the details about the customer enhancement.
      LOOP AT LT_MODNAME INTO LS_MODNAME.
        CLEAR : LS_DISPLAY.
        SELECT MEMBER FROM MODACT INTO LS_MEMBER WHERE NAME = LS_MODNAME.
          SELECT MEMBER FROM MODSAP INTO LS_FM WHERE NAME = LS_MEMBER AND TYP =
          'E'.
            LS_DISPLAY-PROJECT = LS_MODNAME.
            LS_DISPLAY-ENHANCEMENT = LS_MEMBER.
            LS_DISPLAY-FM = LS_FM.
            CLEAR : LS_FUNCTION.
            LS_FUNCTION-FNAME = LS_FM.
            PERFORM GET_IMPL_STATUS USING LS_FUNCTION.
            IF LS_FUNCTION-IMPL = 'X'.
              LS_DISPLAY-STATUS = 'Implemented'.
            ELSE.
              LS_DISPLAY-STATUS = 'Active'.
            ENDIF.
            APPEND LS_DISPLAY TO LT_DISPLAY.
          ENDSELECT.
        ENDSELECT.
      ENDLOOP.
    Displaying results
      FORMAT COLOR = 1.
      WRITE : 'Please double-click on the object for follow-on action'.
      NEW-LINE. ULINE.
    WRITE : 'Customer Project', AT 30 'SAP Enhancement',
    AT 60 'Exit Function Module', AT 100 'Active/Implemented'.
      ULINE.
      FORMAT COLOR = 0.
      LOOP AT LT_DISPLAY INTO LS_DISPLAY.
        NEW-LINE.
        WRITE : LS_DISPLAY-PROJECT, AT 30 LS_DISPLAY-ENHANCEMENT,
        AT 60  LS_FM,
        AT 100 LS_DISPLAY-STATUS.
      ENDLOOP.
    For calling transaction CMOD / SMOD / SE37.
    AT LINE-SELECTION.
      GET CURSOR FIELD FIELD1.
      CASE FIELD1.
        WHEN 'LS_DISPLAY-PROJECT'.
          SET PARAMETER ID 'MON_KUN' FIELD SY-LISEL(10).
          CALL TRANSACTION 'CMOD' AND SKIP FIRST SCREEN.
        WHEN 'LS_DISPLAY-ENHANCEMENT'.
          SET PARAMETER ID 'MON' FIELD SY-LISEL+29(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        WHEN 'LS_DISPLAY-FM'.
          SET PARAMETER ID 'LIB' FIELD SY-LISEL+59(30).
          CALL TRANSACTION 'SE37' AND SKIP FIRST SCREEN.
        WHEN OTHERS.
          MESSAGE 'Click on the right place.' TYPE 'I'.
      ENDCASE.
    *& Form get_impl_status
    This FORM checks whether an EXIT FM is implemented or not
    FORM GET_IMPL_STATUS USING P_FUNCTION TYPE S_FUNCTION.
      DATA : L_MAND LIKE TFDIR-MAND,
      L_INCL_NAMES TYPE SMOD_NAMES OCCURS 1 WITH HEADER LINE.
      L_INCL_NAMES-ITYPE = 'C'.
      APPEND L_INCL_NAMES.
      CLEAR L_MAND.
      SELECT SINGLE MAND FROM TFDIR INTO L_MAND WHERE FUNCNAME =
      P_FUNCTION-FNAME.
      IF SY-SUBRC = 0 AND L_MAND(1) = 'C'.
        P_FUNCTION-ACTIVE = 'X'.
    l_status-active = c_true.
      ELSE.
        P_FUNCTION-ACTIVE = ' '.
    l_status-inactive = c_true.
      ENDIF.
      CALL FUNCTION 'MOD_FUNCTION_INCLUDE'
        EXPORTING
          FUNCNAME   = P_FUNCTION-FNAME
        TABLES
          INCL_NAMES = L_INCL_NAMES
        EXCEPTIONS
          OTHERS     = 4.
      IF SY-SUBRC = 0.
        LOOP AT L_INCL_NAMES.
          SELECT SINGLE NAME FROM TRDIR INTO L_INCL_NAMES-INAME
          WHERE NAME = L_INCL_NAMES-INAME.
          IF SY-SUBRC = 0.
            P_FUNCTION-IMPL = 'X'.
          ELSE.
            P_FUNCTION-IMPL = ' '.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM. "get_impl_status
    <b> check this code </b>
    reward if useful
    santhosh reddy

  • Remote desktop ....Waiting for the help(very urgent)

    Please :
    1)this is not related to SAP( business critical issue for me)
    2)I know I should not place this in this forum.But no other go for me.
    When Ever I have logged in to a remote desktop(through Citrix metaframe) ,there If
    I press any key then the system itself treating it as "windows"+"Key that I have given".(for ex. If I have given key(this may be in a notepad or may be in a password field) like " l ".then I am simply logging out).
    Because of this I am unable to enter into any system.(I need to login to SAP through that system only But I am unable).
    Note:1)this problem is not with in our network
    2)only when I have connected to my client network
    3)I have tried with 2-3 desktops but no result(I mean problem is not with the system hardware)
    4)I have tried with options like on the remote computer and full screen mode only(every thing I have checked but no use)
    5)Last I have asked every known but no use.
    I will be more tankful if any one of you can help me out.

    ixed.
    Seems simple now....
           Just open On screen keyboard (By accessories->accessibility)and press windows key and then you will get the same problem(If at all you have closed the on screen keyboard also you can get the problem).to fix this press windows key again(in On-screen keyboard)(If at all this is not working for once then press for 3-4 times)...now you will not get the problem.
    Thanks for your time.

  • PARSING HTML ELEMNETS IN XML FILE?,Help please very urgent

    I am getting the input in this form
    <ul>
    <li>Strategies</li>
    <li>Planning</li>
    <li>Value</li>
    <li>Total Investment</li>
    </ul>
    I want to convert it into below format so that ContentHandler parse the HTML tages.The HTML elements are dynamic,
    contentHandler.startElement("", "ul", "ul", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.endElement("", "ul", "ul");
    Is their any library through which we can convert HTML tags into ContentHandler elements.
    Thanks in Advance
    Thanks
    Lakhi

    Actually i am parsing XML file,but i have HTML elements inside XML elements:
    <section id='2'><header><line>Agenda( Slide2 )</line></header>
    <line>
    <h3>Agenda</h3>
    <ol>
    <li>Overview of ABC Company inc.</li>
    <li>Defining and Measuring Employee Engagement</li>
    <li>Foresight's Survey Methodology</li>
    <li>Online Tools</li>
    <li>Standard and Custom Reporting Capabilities</li>
    <li>Action Planning and Best Practices</li>
    </ol></line></section>
    And i am using Contenthandler interface to parse,
              attrs.addCDATAAttribute("id",""+i);
                   contentHandler.startElement("", "section", "section", attrs);
                   attrs.clear();
                   contentHandler.startElement("", "header", "header", attrs);
                   contentHandler.startElement("", "line", "line", attrs);
                   contentHandler.characters(key.toCharArray(), 0, key.length());
                   contentHandler.endElement("", "line", "line");
                   contentHandler.endElement("", "header", "header");
                   contentHandler.startElement("", "line", "line", attrs);
    /*HERE I need to Generate java instruction for HTML elements as i mailed before.for elements like <li>Overview of ABC Company inc.</li>
    <li>Defining and Measuring Employee Engagement</li>...................</ol>
                   contentHandler.characters(value.toCharArray(), 0, value.length());
                   contentHandler.endElement("", "line", "line");
                   contentHandler.endElement("", "section", "section");

  • Insert asterisk(*) for amount field (Very Urgent)

    Hi all,
    I want to insert asterisk() for amount field REGUD-SWNET(15C) in SAP script. ie suppose amount is 1000.00 rest of the length should be filled by asterisk() infrount of amount. ie ********1000.00 it has display like this.
    Your help ll be rewarded.
    Regards
    Yathish

    hi,
         We can replace leading spaces in a value with a FILL CHARACTER.
    SYNTAX:    <b> &symbol(Ff)&</b>    here f is fill character.
    example:    &REGUD-SWNET&  value is 700.00
                     &REGUD-SWNET(F*)& value printed as ******700.00.
    regards,
    sudheer.

  • Need info on Staging Error Tables ( Please Very urgent)

    Hi Friends,
    I am new to ERP. I need Information on Staging Error Tables in ERP. Please Let me know if anybody have an idea on this.
    Thanks

    I am new to ERP. I need Information on Staging Error Tables in ERP. Please Let me know if anybody have an idea on this.https://forums.oracle.com/forums/search.jspa?threadID=&q=Staging+AND+Tables&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • KeyEvent...Please Very Urgent!!!!!!

    Hi All,
    I have a problem when enter the value to the textbox..let see my sceneris. i have a dialog with 10 text box. while enter the value in the text box then press the "ENTER" key, focus transfer to the next component and accepting data. if we do it slowly no problem. it is transfering focus and accepting data whatever we enter. but if we do it faster, it is not happening. i can able to see focus transfer but data is not displaying properly..some field data is missing..some field take someother field value also...
    I am waiting for ur suggestyion and hint for that
    Best Regards,
    Muthu

    hi,
    the problem seems to be due to focus getting to the next textfield before the key is released. What you could try is in the keyReleased event of the KeyListener, add the code for setting the focus to the next textfield.
    for eg
    public class keyValidator implements KeyListener
    public void keyTyped(KeyEvent e)
    public void keyPressed(KeyEvent e)
    public void keyReleased(KeyEvent e)
    //some code here
    //code to set focus to the next textfield.
    hope that helpz.
    cheerz
    ynkrish

Maybe you are looking for

  • Mail message sent from PI comes with weird characters at Subject

    Hi folks, I've a Scenario where I must send a e-mail with some process data. To do that, I'm using emial Package to build the email Message. The email Package XML Looks like this: <?xml version="1.0" encoding="ISO-8859-1"?> <ns:email xmlns:ns="http:/

  • How to use sets in PL/SQL

    Hi all, I want to know how to implement algebraic sets in PL/SQl. I mean for example if there is a table R(A,B) where A is aprimary key having the data :- {(1,2),(2,1),(2,3),(3,1)} i want to have a data type that represents sets of data corresponding

  • Double clicking a list item

    Hi, I'm just trying to perform an action by double-clicking a list item, but doesn't seem to work. code: WHEN-MOUSE-DOUBLE-CLICK trigger on List item (TList). DECLARE v_verwalten VARCHAR2(40); BEGIN v_verwalten := :CONTROL.LIST; IF v_verwalten = 'Cod

  • Language data type problem

    I am executing a FM from XI to create a Material with several languages in the form of ES, EN, FR and so on, what is the type that I have to use in the FM for this languages? I use a simple Char 2 type and does not work from XI but If I use SPRAS wor

  • Contact / email form problem

    I am adding a contact / forward email form to a website I am building and ran into a snag. I have the Adobe Classroom in a book for AS3, and in chapter 13 it gives me the code, along with a start file and completed file. The problem is, the completed