Symptom
You are trying to generate the preview (PDF file) of some document, however you receive the error: Document cannot be generated; ADS rendering of SAP template failed.
The error message could also be like:
Document cannot be generated; ADS rendering of SAP template failed SYSTEM Template name: XXXXXXX
ADS Render Failed [SYSTEM]ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: 0 : InvalidDataException: Xml parsing error: not well-formed (invalid token) (error code XX), line XX, column XX of file;
Environment
SAP Business ByDesign
Cause
Issue caused by a special or non-recognized character in some input text area.
Resolution
In order to correct the error you must locate and remove the special or non-recognized character:
- Open the document.
- Look for the character inside Customer Information Notes, Internal Notes, Internal Comments inside the document.
- Remember to check also inside the Items (Check Customer Information Notes, Internal Notes, Internal Comments inside the document) as each Item could have your own note.
- Edit the note and remove the character.
- Save the document.
- Generate the preview again.
Keywords
Preview, ADS error, XML parsing error, PDF error, rendering , KBA , AP-RC-OUT , Output Management , Problem