cancel
Showing results for 
Search instead for 
Did you mean: 

error on ud

former_member223028
Participant
0 Kudos

dears

I have a characerestic called Density

i have a setting like follows

Data Type:numeric

Number of Chars: 6
Decimal Places ; 3
Unit of Measure: g/l

in value tab additinal value is ticked

and this charecterstic is assigned to one mic and this aslo assigned to one class and this class is assigned in material master

now when i do the ud abap error is coming like as follows

---------------------------------------------------------------------------------------------------------

Category               ABAP Programming Error
Runtime Errors         CONVT_NO_NUMBER
Except.                CX_SY_CONVERSION_NO_NUMBER
ABAP Program           ZCL_IM_GTCABADI_WTDAVG========CP
Application Component  LO
Date and Time          18.07.2012 11:07:49

Short text
     Unable to interpret "22.00 g/l" as a number.

What happened?
     Error in the ABAP Application Program

     The current ABAP program "ZCL_IM_GTCABADI_WTDAVG========CP" had to be
      terminated because it has
     come across a statement that unfortunately cannot be executed.

Error analysis

    An exception occurred that is explained in detail below.

    The exception, which is assigned to class 'CX_SY_CONVERSION_NO_NUMBER', was not

     caught in

    procedure "IF_EX_CACL_VALUE_CHANGE~MODIFY_INPUT" "(METHOD)", nor was it

     propagated by a RAISING clause.

    Since the caller of the procedure could not have anticipated that the

    exception would occur, the current program is terminated.

    The reason for the exception is:

    The program attempted to interpret the value "22.00 g/l" as a number, but

    since the value contravenes the rules for correct number formats,

    this was not possible.

---------------------------------------------------------------------------------------------


Any body can give any input if i didnt enter any value on RR no error at all

Abu fathima

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

This error is because of :

Number of Chars: 6
Decimal Places ; 3
Unit of Measure: g/l

Now try one thing,Reduce the "Number of Char " to say 4 and Decimal Places to "2"

If you have ticked on additional value then I presume you must have maintained values in  "char value" field.

Check how it works !

former_member223028
Participant
0 Kudos

Hi sujit

it working fine in devolpement with character 4 and deci 2

but in my prodn i was created character lenth as 5 system is not allowing me to reduce it can you help on this

Abu Fathima

Former Member
0 Kudos

I did not get your question.

You have to change the same in class char ,then update MIC .

New changes will be applicable in from new Inspection lot.