11-21-2014 7:14 AM
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
11-21-2014 7:23 AM
11-21-2014 7:33 AM
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.
11-21-2014 7:56 AM
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.
11-21-2014 8:06 AM
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,
11-21-2014 8:22 AM
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.