Skip to Content
author's profile photo Former Member
Former Member

Run time error in MIGO after maintaining tax code

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2011 at 12:06 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 05:36 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.