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 Error Conversion Overflow

Former Member
0 Likes
1,675

Hi,

I am encountering the short dump: Overflow when converting from "110000000000.00 ".

This is because I have a field v_betrag which is type F and its value is 1.1000000000000000E+11.

Then I have to pass to yiseg-dmbtr which only has an output length of 16. I know that I have to change yiseg-dmbtr to make it longer. But the data declaration includes table ISEG and it is in a standard include. How should this be fixed?

The overflow error is this caused only by the length or by the size?

Appreciate your help on this. Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
655

Hi Rous,

Can you show the part of the code where this has occured?

Regards,

ravi

Read only

Former Member
0 Likes
655

Rous,

it is because of the size you are getting Runtime Error.

one suggestion i can give you, as you told you cannot change the datatype.

just check for v_betrag before moving the value into yiseg-dmbtr whether it is greater than the maximum length of yiseg-dmbtr.

if so make v_betrag = max value of yiseg-dmbtr.

i know this will not fully satisfy you but atleast you can avoid runtime error.

regds,

kiran