How To Fix TD404 - Text contains recursive and/or too many INCLUDES


TD404 - Overview

  • Message type: E = Error

  • Message class: TD - SAPscript: Text editor, composer, forms, styles and fonts

  • Message number: 404

  • Message text: Text contains recursive and/or too many INCLUDES

  • Show details Hide details
  • What causes this issue?

    The document contains too many nested or recursive INCLUDE commands.

    System Response

    The formatting of the document was terminated.

    How to fix this error?

    Please check the INCLUDE commands used in your text which insert text
    modules in the text. Recursive INCLUDEs, insertion of a text in itself,
    are not permitted.
    In nested INCLUDES, where an INCLUDE command is called in a text
    inserted with INCLUDE, the maximum nesting depth permitted is 10. You
    can reduce the nesting depth of inserted texts by copying INCLUDE texts
    directly to the actual document.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message TD404 - Text contains recursive and/or too many INCLUDES ?
    The SAP error message TD404, which states "Text contains recursive and/or too many INCLUDES," typically occurs when there is an issue with the text elements in SAP, particularly when using text modules or includes in SAPscript or Smart Forms. This error indicates that the system has detected a recursive inclusion of text elements or that the number of includes has exceeded the allowed limit.
    Causes:
    
    Recursive Includes: This happens when a text element includes itself directly or indirectly through other text elements, creating a loop.
    Too Many Includes: SAP has a limit on the number of text includes that can be nested. If your text includes exceed this limit, you will encounter this error.
    Incorrect Configuration: Sometimes, the configuration of text elements or the way they are structured can lead to this error.
    
    Solutions:
    
    
    Check for Recursion:
    
    Review the text elements involved and ensure that none of them are including themselves directly or indirectly.
    Trace the includes to

    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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant