Skip to Content
0
Former Member
Jul 17, 2009 at 05:58 PM

ABAP Dump error -> Division by 0 (type P) in program "RPCTX0KC"

593 Views

Dear All,

I am running Canadian Payroll on ECC 6.0 . when I run the transaction : PC00_M07_CALC_SIMU it throws ABAP Dump.

Standard Schema (Tcode : PE01) --> K000 is used in running payroll. Currently if I dont want this dump to occur I will have to put a line in comments. -> " 000200 COPY KTX0 * Calculate taxes ". But this line is important for Calculation of Taxes.

Can you please let me know what can be done about it? Is this anything to be done with any Patch or Note or ABAP correction?

ABAP Dump Error :

Runtime Errors BCD_ZERODIVIDE

Except. CX_SY_ZERODIVIDE

Date and Time 17.07.2009 11:53:58

Short text

Division by 0 (type P) in program "RPCTX0KC"

What happened?

Error in the ABAP Application Program

The current ABAP program "RPCTX0KC" had to be terminated because it ha

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_ZERODIVIDE', was not caught in

procedure "PP_CONTRIBUTIONS_EE" "(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:

In the current program "RPCTX0KC", an arithmetic operation ('DIVIDE',

'/', 'DIV' or 'MOD') with a type P operand attempted to divide

by 0.

Missing RAISING Clause in Interface

Program RPCTX0KC

Include RPCTXSK3

Row 75

Module type (FORM)

Module Name PP_CONTRIBUTIONS_EE

Trigger Location of Exception

Program RPCTX0KC

Include RPCTXSK3

Row 117

Module type (FORM)

Module Name PP_CONTRIBUTIONS_EE

Source Code Extract

Line SourceCde ..................... ( This starts at Line 87 - goes to Line 136)

Regards

Edited by: Mamta_SapHR on Jul 17, 2009 8:03 PM

Edited by: Mamta_SapHR on Jul 17, 2009 8:05 PM

Edited by: Monu on Jul 18, 2009 3:56 AM