Convert amount to in words

Hi all ,
i wanr to convert amount(which in numeric )   into words
ex   1234 i want one thousand two hundared thirty four
plz tell me function will help me or other solution
Regards
Bhavesh

hie
check the following code.
  x_amount = z_payslip01-amount.
  CALL FUNCTION 'SPELL_AMOUNT'
    EXPORTING
      amount    = x_amount
      currency  = 'ZWS'
    IMPORTING
      in_words  = xwords
    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.
  CONCATENATE xwords-word 'Kerd' xwords-decword 'Cents'
  INTO z_payslip01-amount_in_words SEPARATED BY space.
regards
Prince Isaac

Similar Messages

  • Reg: Convert amount in values to amount in words

    Dear All,
    Want to convert amount value into words and it will displays on UDF which is created in Marketing document. How can i do that.
    Plese help me
    Thanks & Regards
    Venkatesh N

    Hi,
    Check Re: Amount in Words in INR for solution.
    Create function in SQL and then apply FMS to get that function in udf.
    Thanks,
    Neetu

  • Function Module to convert  amount to  amount in words

    Dear Guru ,
    I want to know is there any sap standard Function Module to convert  amount value   to  amount in words
    Thanks & Regards

    Hi..
    Use FM SPELL_AMOUNT.
    This function module converts an amount or number into words. It can be used as follows:
    Convert a number into words
    To do this, the transfer parameters LANGUAGE and AMOUNT have to be entered.
    Convert an amount into words
    To do this, the fields LANGUAGE, CURRENCY, and AMOUNT have to be entered.
    Program RF_SPELL contains a sample call of the function module. You can use it for test purposes.
    REPORT ZSPELL.
    TABLES SPELL.
    DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
    DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '1234510'.
    SY-TITLE = 'SPELLING NUMBER'.
    PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
    WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', 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
    I hope it helps.
    Reward pts if helpful
    Regards
    - Rishika Bawa

  • How to convert Amount which is in figure to words

    How to convert Amount which is in figure to words like :
    Rs 1005.70   into   'Rupees One Thousand Five and 70 Paise'
    Thanks
    kumar n

    hiii
    use FM
    SPELL_AMOUNT
    WA_AMOUNT = '10000'.
    CALL FUNCTION 'SPELL_AMOUNT'
           EXPORTING
                AMOUNT    = WA_AMOUNT
                CURRENCY  = PWAERS
                FILLER    = SPACE
                LANGUAGE  = 'E'
           IMPORTING
                IN_WORDS  = WA_SPELL
           EXCEPTIONS
                NOT_FOUND = 1
                TOO_LARGE = 2
                OTHERS    = 3.
    regards
    twinkal

  • Convert amount in no's to words

    hi sapiens,
                 I need a code or Fm to convert amount in numbers to words
    eg) 1500 --->  one thousand and five hundred

    Hi,
    Use FM SPELL_AMOUNT
    Pass the below value only
    Import parameters               Value
    AMOUNT                          1234
    CURRENCY
    FILLER
    LANGUAGE                        EN
    Export parameters               Value
    IN_WORDS                           000000000001234000 0 ONE THOUSAND TWO HUNDRED THIRTY-FOUR
    Regards
    Shiva

  • (v urgent) converting amount in figures to amount in words ina spec languag

    Hi All,
               I have a requirement like i need to convert amount i n figures to amount in words, and that too for a specific language (eg., portuguese and not english) . This needs to be done in the SAPSCRIPT and not in the program as the program is a standard one.
    Please help me out as it is v urgent.
    Regards,
    Priya

    Use FM
    HR_IN_CHG_INR_WRDS
    Award points if answer is useful
    tc
    saji

  • Converting amount to words

    how can i convert amount to words using sql query
    eg : Rs 10234.50
    Ten Thousand Two Hundred Thirty Four Rupees Fifty Paise

    Perhaps the forum admin need to put the search box right next to the Create New Message button just so people get the idea that what they're asking for just may have been asked for previously by other people.As when creating a new SR in Metalink: Before posting you'll be asked to to search the bug db, knowledge base, technical forums ...etc ...
    Not really a bad idea actually ...

  • Any FM to convert amount to words?

    Hi friends,
    Is there any function module available to convert amount to words?
    Regards,
    Lijo Joseph

    Refer:
    Re: I want Function Name which converts number to words
    Regards,
    Subramanian V.

  • Convert amount to words in Malaysian and Indonesian Language

    Hi
    I want to convert the number into words , the words should display in Malaysian & Indonesian Language.
    I wanted to display in the report
    Regards
    Yram

    Hi,
    Incognito wrote:
    Hi,
    This query will give you the numbers spelled as words.
    select to_char(to_date(873,'J'), 'JSP') as converted_form from dual;I am not sure as to how you can change the language through a query. I am afraid, we can not until and unless we change the required NLS parameters.Unfortunately, that returns the number in Engllish, no matter what the NLS settings are.
    For other languages, I think a user-defined function is needed.
    See AskTom for some ideas. About half way through that long page, there's an example that spells numbers in the German language.
    A little bit earlier, there's an example for French, where they actually translate the English words into French. That example may be admired, if not imitated.
    Edited by: Frank Kulash on Feb 2, 2010 2:36 PM
    Added AskTom reference.

  • Convert given value into words

    i want convert given value into words
    such as
    amount 54300
    in words fifty four thousand three hundred only
    thanking you
    aamir

    number value in words

  • Convert amount to char

    Hi Experts,
           Here i have one question and that was how to convert amount like 345 into words like THREE HUNDRED FORTY FIVE.......
    Thanks,
    Natala

    Hi. Welcome to SDN! If you are asking how to do this using ABAP, then first you should know that  ABAP related questions should be asked in the ABAP forum.  This will provide you with quicker answers. 
    To answer your question you can use the function module SPELL_AMOUNT.  This will convert your number to words.
    For example.
    report  zrich_0004.
    data: i type i value '345'.
    data: words type spell.
    call function 'SPELL_AMOUNT'
      exporting
        amount          = i
    *   CURRENCY        = ' '
    *   FILLER          = ' '
        language        = sy-langu
      importing
        in_words        = words
    exceptions
       not_found       = 1
       too_large       = 2
       others          = 3.
    write:/ words-word.
    Again, welcome to SDN.
    Regards,
    Rich Heilman

  • 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.

  • How to convert from value to word ?

    Hi all,
    I intend to convert from value into words such as 234.50 will be two hundred and thirty four and cents fifty. How should I code or any function will able to produce this ?
    Please advise.
    Rgds
    Lim

    Lim
    The SP format modifier spells out part of a date - so does YEAR:
    SQL> select to_char(sysdate,'YEAR') from dual
      2  /
    TO_CHAR(SYSDATE,'YEAR')
    TWO THOUSAND EIGHT
    SQL> To spell out a money amount, you have to take a decimal number and break it into dollars and cents (both integers):
    SQL> r
      1  declare
      2    amount number(10,2) := 12345.67;
      3    dollars integer;
      4    cents integer;
      5  begin
      6    dollars := floor(amount);
      7    cents := (amount - dollars) * 100;
      8    dbms_output.put_line(to_char(to_date(dollars,'J'), 'JSP') ||  ' dollars a
    nd ' ||
      9        to_char(to_date(cents,'J'),'JSP') || ' cents');
    10* end;
    TWELVE THOUSAND THREE HUNDRED FORTY-FIVE dollars and SIXTY-SEVEN cents
    PL/SQL procedure successfully completed.
    SQL>Note that the spelling out is rather american (in UK we wouldn't add the hyphen and we would say twelve thousand three hundred AND forty five).
    Using JSP means we are spelling out a Julian date (ie a number of days, which is allowed to get pretty large. But watch out - there is a limit (somwhere between 1 and 10 million) - ie the number of days between minimum date (4172 BC) and max date (around 31/12/9999).
    HTH
    Regards Nigel

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • How does this work. I don't find any way to convert a document to Word.

    When I sign in, I get the pricing page. When I get to my documents, I can't find an icon to convert the pdf to Word.

    Hi,
    Thank you for your subscription.
    Have you verified your Email address? Adobe sent you an email "Welcome to Adobe" in Subject after you signed up for our service so please verify your Email address first from the link in the Email.
    How to export your PDF files to Word files:
    Using Web UI:
    Log into https://exportpdf.acrobat.com/signin.html with your Adobe ID and password
    Select “Export from PDF”
    Click “Select Files” button then choose your PDF file
    Select the format from the list below
    Check ON “Recognized text in” if your PDF file is scanned images to recognize the image to text
    Click “Export” button
    Click “Download” button in the progress bar after completion of exporting to download the file to your computer.
    Using Adobe Reader:
    Launch Adobe Reader X or Reader XI
    Select “Tools” and click “Sign In” link to sign in with your Adobe ID and password
    Select “Export PDF” then click “Select PDF file” link
    Click “Convert”
    Click “Download Converted File” link to download the file to your computer after the process is completed.
    Note: All exported files are stored at https://files.acrobat.com.
    Please let me know if you have any questions.
    Thank you.
    Hisami

Maybe you are looking for

  • Paid by Company CC receipts posted to FI

    Iu2019m trying to resolve the following issue.  Thank you for any advice or guidance you can provide. My company has been using Travel Management to process out of pocket receipts, reimbursed to the employee for quite a few years; we are now looking

  • Get child users of composite role

    Hello There is FM (ESS_USERS_OF_ROLE_GET ) which bring all user of roles but what i want it's more complicated IF there is composite role i want to get all the user that in the roles under the composite role . Let say i have composite role with two r

  • Can you exclude genres from playlists

    Have "Books and Spoken" genre and would like to exclude from music playlists and iTunes DJ. Is this possible and if yes, how? Thanks

  • My macbook pro turns on and shuts off after about thirty seconds

    After force shutting my computer by holding the on button, my macbook pro will not start up anymore. It displays the loading screen for around thirty to forty seconds, but shuts off immediately after that. My battery is in good condition and works fi

  • I can't update Aperture 2 to Aperture 3 (Maverick)

    Hallo, I'd like update Aperture from ver. 2 to 3, for free. I have OS Maverick and Aperture 2 BOX (not purchased by App Store). Unfortunately, when I check updates not show Aperture... I can download upadate Pages, Number etc., but Aperture not. I re