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

CX_SY_CONVERSION_NO_NUMBER :error

former_member225134
Participant
0 Likes
10,642

Hi,

    am getting dump error  CX_SY_CONVERSION_NO_NUMBER

    Unable to interpret " 398.8KGS " as a number ? may i know for what reason am getting this error.

1 ACCEPTED SOLUTION
Read only

former_member187748
Active Contributor
0 Likes
9,536

Hi Anitha,

what is your data type you have used in where you are getting this error ?

If you have used it as a char , please change it as a number.

Search in this forum, it has been discussed earlier many times.

Also separate the unit as suggested by Mehwish

Hi,

    am getting dump error  CX_SY_CONVERSION_NO_NUMBER

    Unable to interpret " 398.8KGS " as a number ? may i know for what reason am getting this error.

6 REPLIES 6
Read only

former_member188827
Active Contributor
0 Likes
9,536

Unit KGS in concatenated with number "398.9". Try to split the two.

Regards

Read only

former_member187748
Active Contributor
0 Likes
9,537

Hi Anitha,

what is your data type you have used in where you are getting this error ?

If you have used it as a char , please change it as a number.

Search in this forum, it has been discussed earlier many times.

Also separate the unit as suggested by Mehwish

Read only

Arun_Prabhu_K
Active Contributor
0 Likes
9,536

Hello Anitha.

     I guess you are trying to assign variable with value "398.8KGS" to an integer/decimal variable.

     If your right hand side variable is a combination of proper number values and alphanumeric values, you can make use of TRY.CATCH.ENDTRY.

     To avoid getting dump, you can make use of

          TRY .

             Lvar = Rvar.

           CATCH CX_SY_CONVERSION_NO_NUMBER.

         ENDTRY.

   

Regards.

Read only

former_member194739
Active Participant
0 Likes
9,536

Dear Anitha,

Split the value(398.8) and unit(KGS)  in your code.

Use SPLIT statement.

Regards,

Abbas.

Read only

0 Likes
9,536

Thanx to all..

issue solved.i changed the data type as number before that i gave

data: weight(4)

Read only

Mansa_09
Associate
Associate
0 Likes
3,487

Have been getting the Same error in SAINT tcode does anyone can share the reason why EPS FILES FROM APPLICATION SERVER  is going to dump