cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos


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

Former Member
0 Kudos

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.