How To Fix 40352 - Maximum formula length in cell [&1,&2] exceeded


40352 - Overview

  • Message type: E = Error

  • Message class: 40 - Messages for Process Orders

  • Message number: 352

  • Message text: Maximum formula length in cell [&1,&2] exceeded

  • Show details Hide details
  • What causes this issue?

    Due to inserting or deleting lines or columns in material quantity
    calculation, the parameters of at least one of the C functions (CNUM,
    CSUM, CAMV, or CWAM) had to be repositioned. As a result, the maximum
    formula length allowed was exceeded. The formula has become invalid.

    System Response

    The formula is not defined and you must manually go over it.

    How to fix this error?

    Check and correct the formula for cell [<(>&<)>V1<(>&<)>,<(>&<)>V2
    <(>&<)>].
    If required, divide up th formula. You can use the fields of the
    <LS>Interim results</> column for this.
    <ZH>Recommendation</>
    Always enter parameters in C functions with leading zeros, for example
    CSUM (005;002). If you do so, this error will not occur.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 40352 - Maximum formula length in cell [&1,&2] exceeded ?
    The SAP error message 40352, which states "Maximum formula length in cell [&1,&2] exceeded," typically occurs in the context of SAP BusinessObjects or SAP Analysis for Microsoft Office when a formula in a cell exceeds the allowed length. This can happen when working with complex calculations or when a large number of nested functions are used in a single cell.
    
    Cause: Excessive Formula Length: The formula in the specified cell exceeds the maximum character limit allowed by SAP. Complex Calculations: Using too many nested functions or overly complex calculations can lead to this error. Data Volume: Large datasets or extensive use of references can contribute to the length of the formula.
    Solution: Simplify the Formula: Break down complex formulas into simpler components. Instead of having one long formula, consider using multiple cells to calculate intermediate results. Use Named Ranges: If applicable, use named ranges to simplify references within your formulas. Reduce Nesting: Limit the number of nested functions.

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker