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
In my portal ABAP + JAVA I get a bootstrap error message how do I resolve this erroe
Explain how client refresh is different than client copy?
How you can assign an object to 100 roles at time?
User wants lock ASAP then what will u do?
At o.s level where to check for system logs of sap application?
What is the purpose of table tadir?
How you will rate yourself in SAP, Oracle from a scale 1 - 10?
I have a requirement from the SD people wherein whenver one runs the tcode F-02 (Enter G/L account Policy : Header Data), they should not get the list of all acounts in the ACCOUNT field. But when i go to pfcg to check for restricting the list, i dont find any pertinet auth field for doing so. Isi t something that we can ( as Basis Admin) do or the ABAPpers to do. Maybe the ABAPpers have to program the screen where in they need to restrict the list options. If not so, lemme know the auth field that has to bet set if any.
What is “data sets” in sap?
What is the folder it will ask to install oracle?
Can you tell me installation procedure of SAP on UNIX
How can you view locked transactions?
How will you define logon groups ? What is load balancing in sap ?
what is garbage collector. is there any way to set the time to gc?
Explain the system trace?