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 are the types of transport queries?
Hi Shridher, Would you please send me an SAP CRM question and Answer to siri.testing@gmail.com Thanks, siri
What is the purpose of table tadir?
Myself Rahul am MBA(Mkt)having 1.5 years marketing experience.and in SAP-SD for 1 years experience.am looking for job.so pl anywher opening then pl let me revert.
what is the difference between with core
If I want only transaction data to be copied.What profile should I select, while doing local client copy within the same apllication server. Else is there any other way to perform above task?
I want to change five dialog work processes into batch. Where can I do this?
what is the difference b/w 4.7EE & ECC5.0?
What are the scripts you can create for security by using LSMW??
At o.s level where to check for system logs of sap application?
What is the different type of users in sap?
Explain kernel upgrade?
Why can't we do it thru some other client?
What is the difference between consolidation and development route ?
When I check transaction sm37 and I want to see the spool I get a message that says "no list available." Why is this?