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.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
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