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
Do you know about oss what do you do with oss?
How do you check the installed software components and product versions on sap system?
what is role of sap administrator in pi & ep?
How will determine whether your sap server is unicode or ascii ?
When we install sap r/3 enterprise 4.7, there are several error messages in the sapview.log. What does this mean?
How database extend?
What is password policy?
If a background job runs more than the time it should be completed normally then what actions will u take?
Can anyone help me in educating me in installing SAP 4.6C over windows server 2000. Please make it a step by step process, my career depends upon the success and failure of installation.
The transaction should not be displayed in User Easy access menu. How to do user auditing in sap? What will u audit?
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?
describe how to setup a printer in SAP or where they would look to research why a user/users can not print?
How to add authorizations, how you will maintain profiles?
What is the difference between – support package, kernel and sap note?
If any errors coming during transport where it will be recorded and how will you rectify?transport log and active log