Regarding USD into Words

hi all,
      i have one requirement that how can we convert
USD amount into words.
Regards
Rami Reddy

Use function module
data: wa_words type spell.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
   amount          = wrk_sum
   currency        = 'USD'
  FILLER          = ' '
  LANGUAGE        = SY-LANGU
IMPORTING
   in_words        = wa_words
EXCEPTIONS
  NOT_FOUND       = 1
  TOO_LARGE       = 2
  OTHERS          = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
In that form give the following coding
&WA_WORDS-WORD& &REGUD-WAERS&&' and 'WA_WORDS-DECWORD' Cents'&

Similar Messages

  • Converting USD amount into word

    Hi,
      I want to convert amount which is in USD into word  i am using below FM
    CALL FUNCTION 'SPELL_AMOUNT'
        EXPORTING
          amount          = dmbtr
          currency        = waers
        FILLER          = ' '
          language        = langu
        IMPORTING
          in_words        = spell
        EXCEPTIONS
          not_found       = 1
          too_large       = 2
          OTHERS          = 3.
      IF sy-subrc = 0.
    now my DMBTR  amount is 21960.00    which is atually 219.60 USD  but in dmbtr initially amount is coming as 21960.00  and when i convert it to word  it is coming as  USD : TWO HUNDRED NINETEEN,  AND CENTS AS SIX THOUSAND,  but acutally it should be  USD DOLLAR TWO HUNDRED NINETEEN AND CENTS SIXTY ONLY,    it is not coming peoprly  so is there any other functionn module for this to convert USD , JPY into word.
      regards,
       zafar

    Hi,
    Assign dmbtr to type PAYR_FI-RWBTR.
    PARAMETERS:   dmbtr type PAYR_FI-RWBTR.
                             OR
    If you didnt get from this try by using type P
    PARAMETERS:   dmbtr type P.
    Regards,
    kalandar
    Edited by: kalandar on Jun 16, 2010 9:48 AM

  • Regarding Amount(Dollars) into Words

    hi all,
          How we will convert Amount( in terms of Dollars) into Words . I know how to convert Amount (in Rupees) into Words
    and I know function module SPELL_AMOUNT . but it is not working for Decimals.
    Can anyone suggest solution for this.
    Regards
    Rami Reddy

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/spell%2bthe%2bamount%2bentered%2bin%2bwords
    Split the amout into two, Dollar and Cents
    123. 45
    call FM for 123 and call FM for 45 and concatenate the result.
    Youcall the Same function module, twice, once for dollars and once for cents, and concatenate the both answers.

  • I just purchased Export PDF, and when I use it, it opens them in WordPad (which I never use) instead of Word. Thus, the pictures are not there, and the fonts are changed. How do I get into Word?

    I just purchased Export PDF, and when I use it, it opens them in WordPad (which I never use) instead of Word. Thus, the pictures are not there, and the fonts are changed. How do I get them imported into Word?

    Hi,
    I checked your account,your Export PDF subscription is in 'Pending' status.
    Once it gets confirmed you will be able to use it.
    Please let us know if you require further assistance.
    Regards,
    Florence

  • How do I convert a pdf-presentation into Powerpoint, which it is said that I can do? I can convert into Word, but that is of no help as I need to change the text in the document.

    How do I convert a pdf-presentation into Powerpoint, which it is said that I can do? I can convert into Word, but that is of no help as I need to change the text in the document.

    Hi Sara!
    Yes this sounds interesting. Can I update to that from the PDF Export I have just renewed? How much would that cost?
    Thanks for your quick answer.
    Best Regards
    Per-Olof Egli                                         Logga Egli C.I.S
    Managing Director
    Egli C.I.S. Consulting
    Lapphundsgränd 43
    SE-128 62 SKÖNDAL
    Sweden/Швеция
    Phone:         +46 708 23 03 53
    <http://www.eglicisconsulting.se/> www.eglicisconsulting.se
    <mailto:[email protected]> [email protected]
    Skype: eglipo
    Från: Sara.Forsberg 
    Skickat: den 10 september 2014 22:11
    Till: P-o Egli
    Ämne:  How do I convert a pdf-presentation into Powerpoint, which it is said that I can do? I can convert into Word, but that is of no help as I need to change the text in the document.
    How do I convert a pdf-presentation into Powerpoint, which it is said that I can do? I can convert into Word, but that is of no help as I need to change the text in the document.
    created by Sara.Forsberg <https://forums.adobe.com/people/Sara.Forsberg>  n Adobe ExportPDF - View the full discussion <https://forums.adobe.com/message/6718870#6718870>

  • Converting the amount into words in different languages

    Hi All,
    Is there any FM to convert the amount into words in a specific language.
    SPELL_AMOUNT FM is not working for some of the languages like portuguese, etc..
    Any idea on this.
    Thanks in Advance.

    Hi,
    Use the FM:
    CALL FUNCTION <b>'Y_AMOUNT_IN_WORDS'</b>
    Hope it helps.
    Reward if helpful.
    Regards,
    Sipra

  • Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy

    Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy

    Hi Tony,
    Please refer this KB document : Return, cancel, or exchange an Adobe order
    Please let me know if you need any further assistance.
    Regards,
    Rahul

  • Images exported from iPhoto 6 cannot be inserted into Word:Mac OSX document

    I recently bought a new camera (Nikon D90). I have no problem importing the photos into iPhoto 6 as jpgs, but I am unable to insert the photos (in jpg format) into Word OSX documents. I get a message that says "This application cannot open this file. This file is an unsupported graphic format or may be damaged. Try opening the graphic in another application". I never had this problem with any of the other 3 cameras I have used (Sony and Canon). Has anyone experienced this problem?

    Brad
    What settings did you use in the Export Dialogue?
    When you go File -> Export you get a tabbed box with various options. In the File Export tab you can choose to scale the pics, or keep them the same size, change or retain the format.
    Regards
    TD

  • FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.

    HI EXPERTS,
         FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.
    PLS DO HELP.....

    Hiii gita
    we have another FM SPELL_AMOUNT
    regards
    Jaipal

  • Convert total amount into words

    Hi
    My requirement is to convert total amount into words.
    For this i used function module SPELL_AMOUNT.
    But its giving wrong (i.e. problem is in the paise).
    I tried with other function module also, its not giving output.
    how i can get exactly correct output.
    Reward points if helpful.

    Hi
    execute this code .
    REPORT  ZCOVERTION.
    TABLES SPELL.
    DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
    DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '23.45'.
    SY-TITLE = 'SPELLING NUMBER'.
    PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
    WRITE: 'NUMBERS', T_SPELL-WORD ,'and', T_SPELL-DECWORD.
    FORM SPELL_AMOUNT USING PWRBTR PWAERS.
      CALL FUNCTION 'SPELL_AMOUNT'
           EXPORTING
                AMOUNT    = PAMOUNT
                CURRENCY  = PWAERS
                FILLER    = SPACE
                LANGUAGE  = 'E'
           IMPORTING
                IN_WORDS  = T_SPELL
           EXCEPTIONS
                NOT_FOUND = 1
                TOO_LARGE = 2
                OTHERS    = 3.
    ENDFORM.                               " SPELL_AMOUNT
    Hope this will solve ur problem
    Thanks
    Krushna
    oputput:

  • How to write ABAP code to split a sentence into Word by Word and store them

    Hi all,
        I have to split a sentence into word by word and store them into separate columns. This sentence is nothing but a text description (TXTMD) from table TXXXX. The description will have 3 or more than 3 words and LAST word will be <b>always with %</b>'. The following is the sample input data:
    KEY(ORD43)       Description(TXTMD)
    'AAAA'                '1234  ABCD COMPANY USA  80%'
    'BBBB'                '4745  XYZ INC CANADA ABCD  70%'
    For the first record:
      '1234' should stored in to <b>Field 1</b>, 'ABCD COMPANY USA' into <b>Field 2</b> and
    '80%' into <b>Filed 3</b>.
    For the second record:
      '4745' should stored in to <b>Field 1</b>, 'XYZ INC CANADA ABCD'  into <b>Field 2</b> and 70%' into <b>Field 3</b>.
      The first word into Field 1, the last word with % into Field 3 and all middle words into Field 2. The number of words in the sentence could be 3 or more than 3.
      Could you please help in writing the ABAP for this requirement ????
      Thanks in advance.
    Regards,
    Venkat.

    Easy way if you know the length of the field.
    In my example I assumed my field has 12 places.
    DATA: obs TYPE string,
           bkp TYPE char12.
    obs = '12345678901234567890123456789012345678901234567890'.
    DO.
       MOVE obs TO bkp.
       SHIFT obs BY 12 PLACES LEFT.
       write: / bkp.   "Do what you want with bkp variable
       IF obs IS INITIAL.
         EXIT.
       ENDIF.
    ENDDO.

  • How to write ABAP code to split a sentence into Word by Word ???

    Hi all,
    I have to split a sentence into word by word and store them into separate columns. This sentence is nothing but a text description (TXTMD) from table TXXXX. The description will have 3 or more than 3 words and LAST word will be always with %'.
    This description is available on R/3 table and in InfoObject on BW side and this split is required in reporting. Should I split it in R/3 itself or BW side, PLEASE ?
    The following is the sample input data:
    KEY(ORD43) Description(TXTMD)
    'AAAA' '1234 ABCD COMPANY USA 80%'
    'BBBB' '4745 XYZ INC CANADA ABCD 70%'
    For the first record:
    '1234' should stored in to Field 1, 'ABCD COMPANY USA' into Field 2 and
    '80%' into Filed 3.
    For the second record:
    '4745' should stored in to Field 1, 'XYZ INC CANADA ABCD' into Field 2 and 70%' into Field 3.
      The first word into Field 1, the last word with % into Field 3 and all middle words into Field 2.
    Could you please help in writing the ABAP for this requirement ????
    Thanks in advance.
    Regards,
    Venkat.

    Hi,
    in case your text is built in that way for every record you can do the following in routines of the update rules to the 3 fields:
    routine for field 1:
    result = comm_structure-<name of your textfield>(4).
    routine for field 2:
    data: l_length type i.
    l_length = strlen( comm_structure-<name of your textfield> ).
    l_length = l_length - 9.  "the 5 characters at the beginning + 4 at the end.
    result = comm_structure-<name of your textfield>+4(l_length).
    routine for field 3:
    data: l_length type i.
    l_length = strlen( comm_structure-<name of your textfield> ).
    l_length = l_length - 3.
    result = comm_structure-<name of your textfield>+l_length(3).
    hope this helps!
    kind regards
    Siggi

  • Function for amount into words

    hi friends,
               can any one tell from which function module we can convert amount in figures into words.
    input   -> 50,000
    output -> fifty thousands
    plz. help.
    it's urgent

    HI
    use SPELL_AMOUNT
    data: words type spell.
    call function 'SPELL_AMOUNT'
    exporting
        amount          = '100000'
    *   CURRENCY        = ' '
    *   FILLER          = ' '
    *   LANGUAGE        = SY-LANGU
      importing
        in_words        = words.
    if words-word = 'ONE HUNDRED THOUSAND'.
      words-word = '1 LAKH'.
    endif.
    write:/ words-word.
    display amount in words (USD) including cents
    convert amount in no's to words
    /community [original link is broken]
    <b>Reward if usefull</b>

  • How to download graph output into word document?

    Hello experts!
    I have plotted graphs using some data.
    The graph is actually output of a function module into a container.
    Can anybody tell me , how can i download this graphs into a word document?
    I am able to download text data into word documents, but not graphs.
    Regards,
    Rahul

    Steelers, unfortunately your reply didn't get through. Perhaps you tried to send an attachment or screen shot by email? Please try again (but not sending attachments or screen shots by email).

  • Any ideas how I can insert a pdf into word, using the insert object option. However the pdf i want to insert has text and lines annotated, but once inserted the comments don't appear????  any help would be greatly appreciated.

    Any ideas how I can insert a pdf into word, using the insert object option. However the pdf i want to insert has text and lines annotated, but once inserted the comments don't appear????  any help would be greatly appreciated.

    You will need to find a forum for MS Word since that is the software that you are trying to manipulate in this.  If you think the processing/creation of the PDF plays a role then you should ask in the forum for the software that you are using to create the PDF.
    This forum is for issue regarding downloading and installing Adobe trial products, so in any circumstance, your issue does not fit in this forum.

Maybe you are looking for