how can i convert figures into words in sap?pl tell me the
function module name?
Answers were Sorted based on User's Feedback
Answer / shybunny
ABAP function to convert Number to Words
*
* Converting Number to Words
*
* This function comes handy mostly for the Finance module as
they need to print out check
* for the vendors. The function allows you to covert easily
from numbers to words.
*
* Written by : SAP Basis ABAP Programming and Other IMG Stuff
* http://www.sap-img.com
*
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
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / murtaza
System has a default variable called System variable you
can add the Same in the PLD with system variable text it
will show amount in words.
Only draw back is it show large digits in American
standards i.e One hundred Thousand only for One Lac in
Indian standard.
If you get any solution to please let me know on
murtazasp_1986@yahoo.co.in and mpiyersoap@annetsite.com
Is This Answer Correct ? | 0 Yes | 3 No |
how to repair the sap* default password,r3 sys log file accur error..
How to do the system copy ? can u plz expalin me step by step process
How to get a transaction history of a user for a period of 6 months? I also wish to know if we can take the report month wise by specifying start and end date.
Whats is the difference between ORACLE 9i and 10g?
How to change default client like 111?
how should I check the Last authorization failed using suim tcode?
SAP Startup process?
What is a support package? What is its purpose?
What is Listner?? How to get the status of the Listner?
how to know the port number of message server?
HI Good Evening This is chenna my qualification is mca. now am learning sap basis... so i don't know idea about sap basis can u give some suggestions on sap basis... and any interrview questions and answers (fresher and exp)links send my id: apps.chenna@gmail.com..
how to find a system is in particular ehp ?