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: 

Conversion error in screen

bhavinnayi28
Explorer
0 Kudos

hi All,

i am uploading file and on the press of Upload button file data is displaying inn table control

in that only 3 fields for Material , Quantity and Weight . we can change quantity in table and from that calculation of weight will display . but after change quantity while i am pressing Enter then it display below error.

calculation is performed on press of enter.

1>

2>

1 ACCEPTED SOLUTION

bhavinnayi28
Explorer
0 Kudos

Its solved .

there was another issue with text length so its high values couldn't converted .

Thankx.

8 REPLIES 8

Sandra_Rossi
Active Contributor
0 Kudos

You must make sure that the definition of dynpro fields match the definition of the global variables (with same names) in the program.

0 Kudos

that are all right because without changing if i will save then it will update table

and in debug the values are also correct but give dump from line no 180.

thank you.

0 Kudos
You could at least take the 2 seconds needed to check the definitions of the concerned field.

0 Kudos

its solved now

there was another issue with text length

raymond_giuseppi
Active Contributor
0 Kudos

Check validity of the field values, don't forget that some fields use conversion-exit from domain definition or implicitly for date, time and such types of data.

NB: There are less check on update of database thru open-sql, which only check that field values are compatible with field defintion on database level (e.g. a simple varchar or such type without much control)

Sandra_Rossi
Active Contributor
0 Kudos

Please show the description of the dynpro field, and the definition of the global variable using the debugger's view (so that we can see the real internal type). A screen capture of the dynpro can help too.

What is the field's value before change, and which value did you enter?

bhavinnayi28
Explorer
0 Kudos

Its solved .

there was another issue with text length so its high values couldn't converted .

Thankx.

Jelena
Active Contributor
0 Kudos

This question is still displayed as unanswered. If this is resolved then kindly close it so that others would know there are no further answers expected. See this blog.