Skip to Content
0
Former Member
Dec 08, 2008 at 11:07 PM

program dump

136 Views

Hi ,

i have used the below logic

l_kg LIKE afko-igmng,

g_total_to_store_mseg LIKE afko-igmng,

menge TYPE zti_recipe_usage-menge,

l_kg = g_total_to_store_mseg * tbl_recipe_mseg-menge.

iam getting the below error in the dump

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not

caught in

procedure "GET_KG_TO_STORE_MSEG" "(FORM)", nor was it propagated by a RAISING

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

An overflow was discovered in an ongoing arithmetical operation with

operands of type P. Possible causes are:

1. The result field of type P is too small for the result.

2. The result or a intermediate result has more than 31 decimal places.

please suggest

Thanks