SAP Knowledge Base Article - Public

3065340 - Error "Document cannot be generated; ADS rendering of SAP template failed" raised while previewing document.

Symptom

After clicking on 'Preview' for a document containing an image, the following error message is displayed:

"Document cannot be generated; ADS rendering of SAP template failed"

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Open any Document ID e.g. Sales Quote
  2. Click Actions > Preview
  3. A popup window appears displaying the error message: "Document cannot be generated; ADS rendering of SAP template failed"

Cause

The root cause is due to customizations made by you to the form template. The template contains an extension field which is defined with the data type that only supports Text. This means that this extension field can be maintained only with Text, and not Image (binary object). Because of this restriction,  an image cannot be correctly inserted into this field. Instead, some invalid instance was pasted to the field which then leads to the rendering error.

Resolution

This is a general case with extension fields for formatted texts. The formatted text extension fields do not support images.

Keywords

Preview document, image, ADS rendering failed , KBA , AP-RC-OUT , Output Management , BC-DWB-REP-EXT , Extensibility , Problem

Product

SAP Cloud for Customer core applications all versions