Symptom
Unable to Preview the Customer Invoice / Sales Order Document, getting the following error message:
Document cannot be generated; ADS rendering of SAP template failed SYSTEM Template name:Customer Invoice(var id:) Language: Country: changed on: changed by:
ADS Render Failed [SYSTEM]ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: 0 : InvalidDataException: Xml parsing error: not well-formed (invalid token) (error code 4)
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Customer Invoicing work center.
- Navigate to the Invoice Documents view.
- Search for the relevant invoice document.
- Click on Preview.
- Observe that the preview fails with ADS render errors as follows:
Document cannot be generated; ADS rendering of SAP template failed SYSTEM Template name:Customer Invoice(var id:) Language: Country: changed on: changed by:
ADS Render Failed [SYSTEM]ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: 0 : InvalidDataException: Xml parsing error: not well-formed (invalid token) (error code 4)
Cause
The Item product description contains a special character (For Example: square brackets "[]"), which lead to the ADS Render error.
Resolution
To Resolve this issue kindly create a case to SAP Support.
See Also
KBA 3327009 - Cannot Release Customer Invoice Due to Special Character
KBA 3429684 - Error "ADS Render Failed [SYSTEM]ADS: com.adobe.ProcessingException: com.adobe.ProcessingException:: Invalid value: '' for 'float' property() " while preview the form .
Keywords
ADS Rendering Failed; XML Parsing Error; Customer Invoice; Sales Order; Product Description; Special Characters; Adobe Document Services; Document Preview; Invalid XML , KBA , SRD-CRM-INV , Customer Invoicing , SRD-CRM-ORD , Orders & Contracts , Problem
SAP Knowledge Base Article - Public