Sunday, December 19, 2010
Use the Function Module SPELL_AMOUNT to convert the integer into text.
- Convert a number into words: To do this, the transfer parameters LANGUAGE and AMOUNT have to be entered.
- Convert an amount into words: To do this, the fields LANGUAGE, CURRENCY, and AMOUNT have to be entered.
- Set the number of places before and after the decimal point for an amount: To do this, the parameters CURRENCY and AMOUNT have to be entered. The LANGUAGE field must be transferred with the value SPACE. This option optimizes the runtime of the function module.
REPORT ZTEST_NOTEPAD. DATA words LIKE spell. PARAMETERS:P_int type I. START-OF-SELECTION. CALL FUNCTION 'SPELL_AMOUNT' EXPORTING amount = p_int language = sy-langu IMPORTING in_words = words. WRITE words-word.
how to convert amount in words in web dynpro alv and pass to end of list
ReplyDeletehow to convert amount in words in web dynpro alv and pass it the end of list
ReplyDelete