SAP Knowledge Base Article - Preview

3651186 - Note Analyzer dump COMPUTE_BCD_OVERFLOW

Symptom

When attempting to execute the Note Analyzer function in SNOTE and loading the XML file "BRAZIL_TAX_REFORM_*.xml" provided by SAP Note 3561376, below dump occurs.

*XML file "BRAZIL_TAX_REFORM_*.xml" is an example here, the same dump could happen on loading other similar xml files in Note Analyzer.

Category               ABAP programming error
Runtime Errors         COMPUTE_BCD_OVERFLOW
Except.                CX_SY_ARITHMETIC_OVERFLOW
ABAP Program           SCWN_NOTE_ANALYZER
Application Component  BC-UPG-NA
Date and Time          02.09.2025 01:13:38 (BRAZIL)
----------------------------------------------------------------------------------
|Short Text                                                                       
|    Overflow during an arithmetic operation (type P) in program                  
|     "SCWN_NOTE_ANALYZER".                                                       
----------------------------------------------------------------------------------
|What happened?                                                                   
|    Error in the ABAP application program.                                       
|                                                                                 
|    The current ABAP program "SCWN_NOTE_ANALYZER" had to be terminated because it
|     found a                                                                     
|    statement that could not be executed.                                        

-----------------------------------------------------------------------------------
|Error analysis                                                                    
|    An exception has occurred in class "CX_SY_ARITHMETIC_OVERFLOW". This exception
|     was not caught                                                               
|    in procedure "_CALCULATE_MAX_SP_LEVEL" "(METHOD)" or propagated by a RAISING  
|     clause.                                                                      
|    Since the caller of the procedure could not have anticipated this             
|    exception, the current program was terminated.                                
|    The reason for the exception occurring was:                                   
|    The reason for the exception is:                                              
|    In the current arithmetic operation with operands of type P, an               
|    overflow has occurred. Possible reasons:                                      
|                                                                                  
|    1. The result field of type P is too small to store the result.               
|                                                                                  
|    2. The total or a subtotal has more than 31 decimal places.            

*Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.       


Read more...

Environment

  • Note Assistant

Product

SAP ERP all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

BRAZIL_TAX_REFORM_*.xml, Runtime Errors, COMPUTE_BCD_OVERFLOW, CX_SY_ARITHMETIC_OVERFLOW, SCWN_NOTE_ANALYZER, _CALCULATE_MAX_SP_LEVEL, The result field of type P is too small, Note Analyzer , KBA , BC-UPG-NA , Note Assistant , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.