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.
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,
zafarHi,
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 -
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 -
hi all,
i have one requirement that how can we convert
USD amount into words.
Regards
Rami ReddyUse 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& ®UD-WAERS&&' and 'WA_WORDS-DECWORD' Cents'& -
Amount into Word (i.e. 1001 one thousand one)
can some body help me to tell me that any function in Oracle which can translate any given amount into words.
regards
Zahidselect to_char(to_date(873,'J'), 'JSP') as converted_form from dual;
CONVERTED_FORM
EIGHT HUNDRED SEVENTY-THREESource:http://www.oracle.com/technology/oramag/code/tips2005/011705.html
2.Convert amount in words to amount in numbers
HTH
Girish Sharma -
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: -
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 urgentHI
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> -
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
Bhaveshhie
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 -
hi all,
I want convert the INR into words.
ex: 1,23,456.00 - one lac twenty three thousands four hundred fifty six only.
but using SPELL_AMOUNT FM.
it converting one hundred twenty-three thousand four hundred fifty-six.
can anyone suggest me.
thanx.
srinivas.FUNCTION Z_FI_AMT_WRDS_CONVERT .
""Local interface:
*" IMPORTING
*" REFERENCE(AMT)
*" EXPORTING
*" REFERENCE(WORD) TYPE SPELL-WORD
amt_c1 = amt.
replace '.' with 'D' into amt_c1.
SEARCH amt_c1 for 'D'.
IF sy-subrc = 0.
amt_wh1 = amt_c1+0(sy-fdpos).
wrk_fdpos = sy-fdpos + 1.
amt_dc1 = amt_c1+wrk_fdpos(2).
ELSE.
amt_wh1 = amt_c1.
amt_dc1 = '00'.
ENDIF.
amtnmr = amt_wh1.
amtdec = amt_dc1.
CONCATENATE amtnmr amtdec INTO amount.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = amount
currency = 'INR'
filler = ' '
language = 'E'
IMPORTING
in_words = amountrs.
*WRITE: / 'amount in figures: ' ,'Rs.-->', AMTNMR,'.',AMTDEC.
*WRITE: / 'Amount in WORDS.: ' ,' Rs.' ,AMOUNTRS-WORD,
*'AND' ,AMOUNTRS-DECWORD ,'Paisa Only'.
*SKIP.
CLEAR: unit1,digit1,unit2,digit2,unit3,digit3,unit4,digit4,word1,word2,
word3,word4,word.
digit1 = amtnmr+14.
unit1 = amtnmr+13.
digit2 = amtnmr+12.
unit2 = '0'.
digit3 = amtnmr+11.
unit3 = amtnmr+10.
digit4 = amtnmr+9.
unit4 = amtnmr+8.
digit5 = amtnmr+7.
unit5 = amtnmr+6.
digit6 = amtnmr+5.
unit6 = '0'.
digit7 = amtnmr+4.
unit7 = amtnmr+3.
digit8 = amtnmr+2.
unit8 = amtnmr+1.
digit9 = amtnmr.
unit9 = '0'.
*WRITE:/ 'UNIT9 = ' , UNIT9, 'DIGIT9 = ', DIGIT9.
IF ( unit1 NE '0' ) OR ( digit1 NE '0' ).
SELECT SINGLE wort INTO word1 FROM t015z WHERE einh = unit1
AND ziff = digit1 AND spras = 'E'.
word1 = t015z-wort.
REPLACE ';' WITH '' INTO word1.
*write: / word1.
ENDIF.
IF unit2 NE '0' OR digit2 NE '0'.
SELECT SINGLE * FROM t015z WHERE einh = unit2
AND ziff = digit2 AND spras = 'E'.
word2 = t015z-wort.
REPLACE ';' WITH '' INTO word2.
CONCATENATE word2 ' HUNDRED ' INTO word2.
*REPLACE '(FEMININE)' WITH '' INTO WORD2.
*write: / word2.
ENDIF.
IF unit3 NE '0' OR digit3 NE '0'.
SELECT SINGLE * FROM t015z WHERE einh = unit3
AND ziff = digit3 AND spras = 'E'.
word3 = t015z-wort .
CONCATENATE word3 ' THOUSAND ' INTO word3.
REPLACE ';' WITH '' INTO word3.
*write: / word3.
ENDIF.
IF unit4 NE '0' OR digit4 NE '0'.
SELECT SINGLE * FROM t015z WHERE einh = unit4
AND ziff = digit4 AND spras = 'E'.
word4 = t015z-wort.
REPLACE ';' WITH '' INTO word4.
CONCATENATE word4 ' LAKH ' INTO word4.
*WRITE: / WORD4.
ENDIF.
IF unit5 NE '0' OR digit5 NE '0'.
SELECT SINGLE * FROM t015z WHERE einh = unit5
AND ziff = digit5 AND spras = 'E'.
word5 = t015z-wort.
REPLACE ';' WITH '' INTO word5.
*write: / word5.
ENDIF.
IF unit6 NE '0' OR digit6 NE '0'.
*UNIT6 = 'H'.
SELECT SINGLE * FROM t015z WHERE einh = unit6
AND ziff = digit6 AND spras = 'E'.
word6 = t015z-wort.
REPLACE ';' WITH ' ' INTO word6.
CONCATENATE word6 ' HUNDRED ' INTO word6.
*REPLACE '(FEMININE)' WITH '' INTO WORD6.
*write: / word6.
ENDIF.
IF unit7 NE '0' OR digit7 NE '0'.
SELECT SINGLE * FROM t015z WHERE einh = unit7
AND ziff = digit7 AND spras = 'E'.
word7 = t015z-wort.
REPLACE ';' WITH ' ' INTO word7.
CONCATENATE word7 ' THOUSAND ' INTO word7.
*write: / word7.
ENDIF.
IF unit8 NE '0' OR digit8 NE '0'.
SELECT SINGLE * FROM t015z WHERE einh = unit8
AND ziff = digit8 AND spras = 'E'.
word8 = t015z-wort.
REPLACE ';' WITH '' INTO word8.
CONCATENATE word8 ' LAKHS ' INTO word8.
*write: / word8.
ENDIF.
IF digit9 NE '0'.
unit9 = '0'.
SELECT SINGLE * FROM t015z WHERE einh = unit9
AND ziff = digit9 AND spras = 'E'.
word9 = t015z-wort.
REPLACE ';' WITH ' ' INTO word9.
*REPLACE '(FEMININE)' WITH ' ' INTO WORD9.
CONCATENATE word9 ' HUNDRED ' INTO word9.
ENDIF.
CONCATENATE word9 word8 word7 word6 word5 ' CRORE ' INTO wordc
SEPARATED BY space.
*WRITE:/ 'Amount in Rs.------->'.
IF amountrs-decword NE 'ZERO'.
CONCATENATE ' AND PAISE ' amountrs-decword INTO dcwrd
SEPARATED BY space.
ENDIF.
IF amtnmr > 9999999.
*WRITE: / WORDC.
*ENDIF.
CONCATENATE 'RUPEES' wordc word4 word3 word2 word1 dcwrd 'ONLY'
INTO word SEPARATED BY space.
ELSE.
CONCATENATE 'RUPEES'word4 word3 word2 word1 dcwrd 'ONLY'
INTO word SEPARATED BY space.
ENDIF.
CLEAR dcwrd.
*WRITE :/ WORD.
*WRITE: 'AND' ,AMOUNTRS-DECWORD ,'Paise Only
ENDFUNCTION.
Regards,
Deva. -
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.
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> -
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 -
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.
Maybe you are looking for
-
Text in document has disappeared
Strange things are happening here. My wife created and saved her resume' and the test has disappeard. The document still shows in the finder with 29 kb of data showing in info. This happened once before on the same document, but then the text myst
-
In-App purchases not working on iPad.
I've checked all my Resrections, synced my iPad and made sure all updates were current and made sure all games were updated. Every time I try to buy an in-app purchase it just shows loading until I turn the game off. Anyone have any ideas? I'm not su
-
Exit for extended batmas02.
Hi All, I have extended the batmas02 basic type. Does anyone know of an exit I can use to populate the extended segment? Regards, James.
-
Hi guys, Is there anyway to find out the right Basic type which suites our requirement? Sahil
-
How to run servlets in IIS Server
Hi Techies, I had read in one book , in IIS server we can run servlets n jsp. Can u guys tell how can we run servlets n jsp in IIS server. Does we need to include some 3rd party software in IIS regards, KRish