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

Runtime Errors CONVT_NO_NUMBER

Former Member
0 Likes
8,872

Hi Experts,

we got a runtime error in program CONVT_NO_NUMBER ,here are the details of the error ,could not find a sap note on this.

same program is ran with same variant recently but got this runtime error today ,please suggest how to correct this

The termination occurred in the ABAP program "/SAPAPO/SAPLMSDP_CAP" in

"PROD_LIST_RESULT".

The main program was "/SAPAPO/RMSDPCAP ".

The termination occurred in line 1078 of the source code of the (Include)

program "/SAPAPO/LMSDP_CAPF02"

of the source code of program "/SAPAPO/LMSDP_CAPF02" (when calling the editor

10780).

The program "/SAPAPO/SAPLMSDP_CAP" was started as a background job.

Processing was terminated because the exception "CX_SY_CONVERSION_NO_NUMBER"

occurred in the

procedure "PROD_LIST_RESULT" "(FORM)" but was not handled locally, not declared

in the

RAISING clause of the procedure.

The procedure is in the program "/SAPAPO/SAPLMSDP_CAP ". Its source code starts

in line 1001

of the (Include) program "/SAPAPO/LMSDP_CAPF02 ".

Error analysis

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_CONVERSION_NO_NUMBER',

was neither

caught nor passed along using a RAISING clause, in the procedure

"PROD_LIST_RESULT" "(FORM)"

.

Since the caller of the procedure could not have expected this exception

to occur, the running program was terminated.

The reason for the exception is:

The program attempted to interpret the value "*08" as a number, but

since the value contravenes the rules for correct number formats,

this was not possible.

Thanks in Advance.

Edited by: Brahamananda reddy Arikatla on Aug 23, 2010 7:05 AM

4 REPLIES 4
Read only

Former Member
0 Likes
7,236

Hi

This error generally comes in when you try to convert/allocate an alphabet or a special character to a numeric type field.

This run time error is mostly due to data. Some specific entry in your data must be satisfying this condition, thus this problem. As you said, that on the earlier execution of the program, it executed perfectly but not now. I advise you to kindly alter the data and then try again.

Hope this helps.

Harsh

Read only

Former Member
0 Likes
7,236

This seems to be conversion error. If you define the variable holding the value '08' in your code as an integer or any numeric type , your problem should be solved.

Read only

Former Member
0 Likes
7,236

Hi

"*08

1. I think this is some chararater that you have declared and the value is shooting to bypass the length. It is not able to handle the

value and a * is in place.

declare with appropriate data type by int or quan.. or char(xx) length to handle this.

SInce this is dealing with some background job its not clear loading of the data type . But u you can place the breakpoint at the code of line mentioned and observe the value .

2.

if u r doing a char comparision then see that RHS is in quotes .

Ex : ZB eq 11 will go for a dump

ZB eq '11' - > no dump

BR,

Vijay

Read only

Former Member
0 Likes
7,236

Hi All Thanks for ur rensponse the issue is resolved, the exact cause of the issue is due to wrong master data and that has been corrected.