how can i convert figures into words in sap?pl tell me the
function module name?
Answer Posted / 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 |
Post New Answer View All Answers
what is the use of psapundo tablespace? what is the error ora -01555 represents.how can u prevent this error?
How you will get help from OSS notes?
What is the difference between – support package, kernel and sap note?
what are the main issues you faced in the implementation project?
What is SSO? How to configure SSO?
How to lock or unlock a transaction code using sm01?
Explain what is heterogenous system copy and homogenous system copy ?
How to transport objects from Production to Development?
What is sap netweaver administrator tool?
Mention the use of personalized tab and parameter tab in user master record?
What is the purpose of table tdevc?
What is password policy?
What are the activities you done in EP?
I am attempting to complete a system copy of bw. When I try to go in to rsa1 afterwards I get the error message, "entry in inbound table already exists." What should I do to solve the problem?
Explain what are the functional modules used in sequence in bdc?