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

dump error in HINCF160

deepak_t2
Explorer
0 Likes
613

Dear Experts,

I am faceing the below error.


Overflow during the arithmetical operation (type P) in program "HINCF160".

Kindly suggest.

Thanks in advance.


Deepak

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
575

Have you read the dump to find out precisely where, and what the value was (or needed to be) at the time of the dump?  So far, you've told us almost nothing, and certainly not enough to give you a reasonable reply.

3 REPLIES 3
Read only

Former Member
0 Likes
576

Have you read the dump to find out precisely where, and what the value was (or needed to be) at the time of the dump?  So far, you've told us almost nothing, and certainly not enough to give you a reasonable reply.

Read only

0 Likes
575

hai,

I am faceing this error for the particular employee and particular one period (jan2012 only).

in program HINCF160 or PCF16IN17.

with in the PCF16IN17 program below perform

READ_CHALLAN_DETAILS.

below line i am facing the error.

WA_CHALLAN_DET-MNINC = ( WA_MON_TAX_COMP-MTINC * RATIO ) / 100000.

thanks in advance.

Deepak

Read only

0 Likes
575

Sorry, Deepak, I don't have that include in my unused version of this program.  If I had this problem, I would look in the dump for the value of WA_MON_TAX_COMP-MTINC, and the value of RATIO.

Then I would just do the math that computes the value for WA_CHALLAN_DET-MNINC (that doesn't exist in my version either).

When I had the answer, I would consider how many digits there are.  The decimal in P fields is implied, so for instance if the calculation gives 2341234567890.12345, we're going to overflow, since P fields are stored in 8-bytes in the system (15 digits and a sign).  If WA_CHALLAN_DET-MNINC is described as just type p or (10) type p decimals 5, for instance, there would be a problem there, too.  I suspect that the ratio might be a problem....look at how it's obtained and see if it's a whole number instead of a decimal, like 80 instead of .80 or something.   Was the ratio entered or obtained correctly?  Or maybe the guy got a 100 trillion rupee bonus? 

Get as much detail as you can from the dump.   All the variable values are stored in the details at the time of the dump.  If this is standard SAP code, your next step should be SAP Note search or, if not applicable note, an SAP Message with detailed explanation of what is happening, including the data values.