Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

DUMP CONVT_OVERFLOW

Hello everybody

We are having the dump CONVT_OVERFLOW in our environment.

Overflow when converting from "-3.9361e+261"

The current ABAP/4 program "SAPFGRWE " had to be terminated because

ne of the statements could not be executed.

The termination occurred in the ABAP/4 program "SAPFGRWE " in

"CALCULATE_FORMULA".

The main program was "GP9Q9JBR3CK43POW2YZH2PUUS5B100 ".

The termination occurred in line 233

of the source code of program "FGRWEE03 " (when calling the editor 2330).

Source code extract

002030 p_subrc = 4. " invalid operand

002040 EXIT.

002050 ENDIF.

002060

002070 *....... evaluate formula ......................................

002080 PERFORM eval_formula

002090 USING p_formula

002100 p_formula_index

002110 CHANGING l_result

002120 l_subrc.

002130 IF l_subrc <> 0.

002140 p_amount = 0.

002150 p_p_ut = 'F'.

002160 p_subrc = 1. " invalid result

002170 EXIT.

002180 ENDIF.

002190

002200 *....... store 0-amounts with unit ' ' .........................

002210 IF l_result = 0.

002220 p_p_ut = 'F'.

002230 ENDIF.

002240

002250 *....... conversion F -> P .....................................

002260 PERFORM read_unit_tab(sapfgrwx)

002270 USING p_p_ut CHANGING l_s_curr.

002280 l_result = l_result * ( 10 ** l_s_curr-decimals ).

002290

002300 *....... check for overflow ....................................

002310 IF l_result > const-min_f_amount AND

002320 l_result < const-max_f_amount.

> p_amount = l_result.

002340 p_subrc = 0. " o.k.

002350 ELSE.

002360 p_amount = 0.

002370 p_p_ut = 'F'.

002380 p_subrc = 2. " overflow

Anybody know the solution?

Best Regards,

Fábio Karnik Tchobnain

Former Member
Not what you were looking for? View more on this topic or Ask a question