on 09-11-2007 5:46 PM
Hi,
I need to print amount in words on check. If I use &SPELL-WORD&, it gives the amount in UPPER CASE...where as i want to print in normal way that is first letter capital and other letters in lower case. How do I do the formatting for this. Can someone please suggest.
Thanks & regards,
Vijayshree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use function module <b>SPELL_AMOUNT</b> to get amount words.
And the pass this to function module <b>STRING_UPPER_LOWER_CASE</b> with delimiter as SPACE.
This will give amount in words with proper formatting as required.
Enjoy SAP.
Pankaj Singh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just use:
CALL FUNCTION 'SWA_STRING_TO_UPPERCASE'
EXPORTING
input_expression = fspell
preserve_existing_capitals = ' '
CAPITALIZE_AFTER_SPACE = 'X'
IMPORTING
output_expression = fspell
EXCEPTIONS
expression_truncated = 1
OTHERS = 2
I hope this helps,
Regards
Raju Chitale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.