‎2007 Feb 06 4:08 PM
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.
‎2007 Feb 06 4:14 PM
Hi Rous,
Can you show the part of the code where this has occured?
Regards,
ravi
‎2007 Feb 06 7:13 PM
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