Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error :CONVT_NO_NUMBER

Former Member
0 Likes
456

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
429

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

2 REPLIES 2
Read only

Former Member
0 Likes
430

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

Read only

Former Member
0 Likes
429

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