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: 

upload program with run time error issue

Former Member
0 Kudos

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

former_member585060
Active Contributor
0 Kudos

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

Jelena
Active Contributor
0 Kudos

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.