SAP Knowledge Base Article - Public

3014641 - Error "Document cannot be generated ADS rendering of SAP template failed" Due to Non Recognized Character

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:

  1. Open the document.
  2. Look for the character inside Customer Information Notes, Internal Notes, Internal Comments inside the document.
  3. 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.
  4. Edit the note and remove the character. 
  5. Save the document. 
  6. Generate the preview again.

Keywords

Preview, ADS error, XML parsing error, PDF error, rendering , KBA , AP-RC-OUT , Output Management , Problem

Product

SAP Business ByDesign 2011