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

upload program with run time error issue

Former Member
0 Likes
446

I have an upload program and am using GUI upload to load my data into an internal table, then pass it on to the database table, but one of my numeric fields is having an issue during the upload and am getting the dump with the error message "Cannot interperet "0" as a number as there are a few computations i am doing to a numeric field. what could be the issues here?

2 REPLIES 2
Read only

former_member585060
Active Contributor
0 Likes
405

first upload all the data to a table which of all fields of character type.

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
405

Just make sure that you're using the correct data types everywhere and keep in mind that type N is, in fact, a character type. Also you might want to add TRY ... CATCH cx_sy_conversion_error ... ENDTRY to avoid dumps.