SAP Knowledge Base Article - Public

3801369 - Text wrapping does not follow image width in Document Generation

Symptom

When the image is wider than 100%, the text wrapping does not follow the width of the image.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Create a document generation template that includes an image configured to be wide (for example, width: 1000).
  2. Add a long sentence/paragraph in the template.
  3. Generate the document and observe that the text wrapping does not align with the image width and lines wrap unexpectedly. You expect the sentence to display in one line.
    Pasted image.png

Cause

Expected.

Resolution

Image width will not influence the text wrapping.

Keywords

docGen, Template, line breaking, text length, generate document
, KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors Employee Central all versions

Attachments

Pasted image.png