cancel
Showing results for 
Search instead for 
Did you mean: 

Run time error in MIGO after maintaining tax code

Former Member
0 Kudos

Hello Experts,

I had configured the new tax code ,which is working fine for the PO document ZLOC domestic and the account category Z.

While doing the MIGO for purchase document type ZGEN general purchase , I am getting run time error:

"Division by 0 (type P) in program "SAPLJ1IEX".

When I debugged the code i found that inside FM: 'J_1IEX_DEFAULT_EXCISE_DUTY'

one another FM is being called: 'J_1I6_UNIT_CONVERSION' which is returning the value "ls_ekpo-menge" as 0(Zero).

later in the code when "ls_ekpo-menge" used in calculation then divide by 0 runtime error is coming.

Please suggest what need to be done.

Is there anything related to tax code? How should I correct it?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

There is not value in that field for PO quantity / Value it is missing while doing MIGO. Check whether you have maintained values for all required fields.

Kiran

Former Member
0 Kudos

Pl check your pricing procedure. Some where in the system, in the calculation there is division by ZERO, hence a run time error.