2008 Nov 01 9:38 AM
Hi
My coding is like below :
var_EXBED TYPE MAXBT .
Error: (Dump)
Unable to interpret " 980,000.00 " as a number.
READ TABLE T_IN9 WITH KEY 'J_1IEXCHDR-EXBED'.
CHECK SY-SUBRC = 0.
---> MOVE T_IN9-VALUE TO var_EXBED . " Error at this point
CLEAR T_IN9 .
later am converting var_EXBED value AMT to WORDS by calling FM spell_amount.
the error is due to ',' symbol
pls suggest how to resolve it out .
Thanks in Advance
SATYA
2008 Nov 01 9:43 AM
Hi Sahoo,
Try to use REPLACE keyword and replace all ,s(commos) before passing the value to Read statement.
REPLACE ALL OCCURRENCES OF ',' in T_IN9 WITH ''.
Read.....
Cheers!!
VEnk@
Edited by: Venkat Reddy on Nov 1, 2008 3:15 PM
Hi Sahoo,
Try to use REPLACE keyword and replace all ,s(commos) before passing the value to Read statement.
REPLACE ALL OCCURRENCES OF ',' in T_IN9 WITH ''.
Read.....
Cheers!!
VEnk@
Edited by: Venkat Reddy on Nov 1, 2008 3:15 PM
2008 Nov 01 9:43 AM
Hi Sahoo,
Try to use REPLACE keyword and replace all ,s(commos) before passing the value to Read statement.
REPLACE ALL OCCURRENCES OF ',' in T_IN9 WITH ''.
Read.....
Cheers!!
VEnk@
Edited by: Venkat Reddy on Nov 1, 2008 3:15 PM
2008 Nov 01 9:53 AM
This error occurs when you are trying to pass character instead of integer to a variable.So please check it.
MOVE T_IN9-VALUE TO var_EXBED.
T_IN9-VALUE - this might contain character value
var_EXBED - this might expecting integer
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |