SAP Knowledge Base Article - Public

3837382 - Preview of Customer Invoice fails due to special character in Product Description

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

  1. Go to Customer Invoicing work center.
  2. Navigate to the Invoice Documents view.
  3. Search for the relevant invoice document.
  4. Click on Preview.
  5. 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

Product

SAP Business ByDesign all versions