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

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

While releasing ML81N error given


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


What happened? Error in the ABAP Application Program The current ABAP program "SAPLFMOI" had to be terminated because it has come across a statement that unfortunately cannot be executed.

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


What happened? Error in the ABAP Application Program The current ABAP program "SAPLFMOI" had to be terminated because it has come across a statement that unfortunately cannot be executed. 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 "PO_GET_REDUCED_AMOUNT" "(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.
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 03, 2014 at 07:14 AM

    Hello Akshata,

    today i also face same problem for my ' Z' report for this very simple issue .

    steps.

    1) find the line number where is dump comes .this line we get from error (dump) screen .

    for example in my program .

    164 IF <lwa_display>-menge_con NE 0 . >>>>> <lwa_display>-loss_per = ( ( <lwa_display>-menge_con - <lwa_display> 166 * 100 ) / <lwa_display>-menge_con . 167 ENDIF .

    >>>>>> shows error line number

    2) put there break point and debug ones and check the data stored in that variable and actual data type and capacity of that variable to store data , and adjust suitable data types means change the domain for that field in table .

    Thanking you .

    Shrikant Padwale.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2014 at 07:24 AM


    Hi Akshata,

    Check in debug mode and also check if can change that variable from data type P to C (Characters) to over come such dump. Also check if that amount which gives dump have any quantity unit or currency convesrion.

    Regards,

    Pravin

    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.