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 can we see system logs os SAP at OS level?
Problem in SPAM taking lot of time? Why?
What is the use of reference and service user in sap?
How do you do the load balancing?
diff between SM50 and SM66?
For ex: i scheduled one ABAP program as a background job but it was running 10 days, how to analyze the problem?
Explain central instance?
What is OCS and How to apply OCS Patches ?
If sechuduled backup through db13, but it is not triggered?
How the system log analysis will work(sm21),how the logs are sended,can anyone explain the behind process.
How can one start Sap Application Server through Command prompt and what is the command used to start SAP Application Server ?
When we install sap r/3 enterprise 4.7, there are several error messages in the sapview.log. What does this mean?