2008 Oct 22 3:04 PM
Hello,
While executing the Zprogram ...I am receiving a run time error.
Got Runtime Error BCD_OVERFLOW
When I analysed the issue in ST22....Type P
Result is larger than one which is defined...
Any suggestion would be appreciated ...
Regards,
Kittu
2008 Oct 22 3:08 PM
Hi,
You may need to define the result field to be larger, if it is still
possible to do so.
Or
there is another way you can handle this error...
You can give a try using this sample code:
***********************************
Data : l_number_str type string.
Catch system-exceptions convt_no_number = 1
convt_overflow = 2
bcd_field_overflow = 3
bcd_overflow = 4.
l_number = l_number_str.
endcatch
Regards
Lekha
Hello,
While executing the Zprogram ...I am receiving a run time error.
Got Runtime Error BCD_OVERFLOW
When I analysed the issue in ST22....Type P
Result is larger than one which is defined...
Any suggestion would be appreciated ...
Regards,
Kittu
2008 Oct 22 3:08 PM
Hi,
You may need to define the result field to be larger, if it is still
possible to do so.
Or
there is another way you can handle this error...
You can give a try using this sample code:
***********************************
Data : l_number_str type string.
Catch system-exceptions convt_no_number = 1
convt_overflow = 2
bcd_field_overflow = 3
bcd_overflow = 4.
l_number = l_number_str.
endcatch
Regards
Lekha
2008 Oct 22 3:12 PM
Hello,
Thank you for your response!
I had just tried with the same resolution and I think it has solved my issue.
Regards,
Kittu
2008 Oct 22 3:15 PM
Hi,
what ever u r passing one variable to another variable that length is low .
ex.
data:a(10) type c,
b(5) type c .
a=1000000000.
b=a.
at that time u will get this error.
Regards,
Bharani
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |