Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
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
The document contains too many nested or recursive INCLUDE commands.
The formatting of the document was terminated.
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.
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 see if any of them lead back to the original text element.
Limit the Number of Includes:
- If you have too many nested includes, try to simplify your text structure. Reduce the number of includes by consolidating text elements where possible.
- Consider breaking down large text elements into smaller, more manageable pieces that do not require excessive includes.
Review Text Element Configuration:
- Ensure that the text elements are configured correctly and that there are no unnecessary includes.
- Check the documentation for the specific text elements to understand their intended use and structure.
Testing:
- After making changes, test the output to ensure that the error no longer occurs and that the text displays as expected.
Consult SAP Notes:
- Check the SAP Support Portal for any relevant notes or updates regarding this error. There may be specific patches or recommendations provided by SAP.
Related Information:
By following these steps, you should be able to identify the cause of the TD404 error and implement a solution to resolve it.
Get instant SAP help. Sign up for our Free Essentials Plan.
TD403
Style & is inactive and/or error in printer type &
What causes this issue? The style allocated to the document contains errors or does not exist.System Response The formatting of the document was ter...
TD402
Printed page selection contains error
What causes this issue? The pages to be output have been selected incorrectly.System Response The system issues an error message and will not allow ...
TD405
Output is continuous or contains too many pages (>&)
What causes this issue? The number of pages output is too large.System Response The formatting of the document was terminated.How to fix this error?...
TD406
Font & for device type & contains errors or does not exist
What causes this issue? The printer font specified contains errors or does not exist.System Response The formatting of the document was terminated.H...
Click on this link to search all SAP messages.