‎2008 Mar 31 5:10 AM
Hi,
SAP Script Req:
Amount in words..but requires this in Numeric without any comma or dot..
example 2,200 to 2200
this amount may get higher amount for any other postings
example 1,22,300 that means it should display as 122300
and also i need space between each number.
How it is posible..this is very urgent
Thanks and Regards,
Prabhakar Dharmala
‎2008 Mar 31 5:14 AM
HI,
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = int_betrag
currency = par_waer
IMPORTING
in_words = up_spell
EXCEPTIONS
OTHERS = 1.Regards,
Brown.
‎2008 Mar 31 5:17 AM
Hi,
I want this in Reverse
in Words to Number
Thanks and Regards,
Prabhakar Dharmala
‎2008 Mar 31 5:22 AM
Hi,
To remove comma, you can use the following piece of code:
in the text editor:
/: PERFORM REMOVE_ASTERISK IN PROGRAM ZFI1_CHECKFORM
/:USING ®UH-ZANRE&
/:USING ®UD-SWNES&
/:USING ®UH-ZNME1&
/:CHANGING &V_NAME1&
/:CHANGING &V_TOTALAMT&
/:CHANGING &V_NAME2&
/:ENDPERFORM
in the program
Write a code to replace all occurances of ','.
You can make use of
Replacing the occurrences of '*'
REPLACE ALL OCCURRENCES OF ',' IN zswnes WITH space.
reward points if helpful.
thanks,
asha
‎2008 Mar 31 5:26 AM