Application Development 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: 

Internal session terminated with a runtime error CONVT_NO_NUMBER

mahabaleshwar_patil
Participant
0 Kudos

I am  getting dump, trying to create delivery for SO xxx from last few of days.

But,  is getting dump as "PE1410" cannot be interpreted as a number.

But PE1410 is a Customer.

Report: SAPMV50A 

Error: Internal session terminated with a runtime error CONVT_NO_NUMBER

5 REPLIES 5

Former Member
0 Kudos

Hi ;

Maybe you want to look up below the link ;

Regards

Özgün

Former Member
0 Kudos

Hi ,

You are passing a non-numeric value to a numeric field so getting this error.

Check the data type of the field which is giving error and then change the data as required.

Regards,

Ganesh Lathi.

0 Kudos

DATA : kunag TYPE likp-kunag VALUE 'PE1410',
         lv_kunag TYPE kna1-kunnr.
    


UNPACK kunag to lv_kunag .

      WRITE :/'kunag',kunag.
     WRITE :/'lv_kunag',lv_kunag.

in above code both  likp-kunag and kna1-kunnr have the same data type char 10.

getting dump.

0 Kudos

Hello,

Why do you use the statement UNPACK in the code above ?

These are both character fields, so you can use for example:

lv_kunag = kunag 

The problem is because the source field is not numeric.

regards,

0 Kudos

Unfortunately, I have seen many beginners use command 'UNPACK' instead of conversion exits to append zeros at the beginning of vendor code/customer code/PO/SO/Material etc.

Your problem is with UNPACK command.

I am not sure why you need to write a hardcoded value, but replacing UNPACK command with CONVERSION_EXIT_ALPHA_INPUT FM would fix your problem.