Symptom
- Carriage return symbol appear in the excel file.
- When exporting a multi-line text object to 'Microsoft Excel (Data-only)' format, the exported file has one line with a carriage return symbol instead of line breaks.
Environment
- SAP Crystal Reports 2020
- SAP Crystal Reports 2025
Resolution
- Add the registry key: WrapTextInDataOnly, and set the value to: True
WARNING The following resolution involves editing the Microsoft Registry. Using the Microsoft Registry Editor incorrectly can cause serious problems. Use the Microsoft Registry Editor at your own risk. For more information see the SAP Knowledge Base Article 1323322
- Open the Microsoft Registry Editor.
(In Microsoft Windows, under the menu Start, select Run, and type: regedit)
- In the Microsoft Registry Editor, navigate to the path
HKEY_LOCAL_MACHINE\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Export\Excel - Add the registry key: WrapTextInDataOnly
- Set the value to: True
- Open the Microsoft Registry Editor.
Keywords
CR, export, xlxs , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem
Product
SAP Crystal Reports 2020 ; SAP Crystal Reports 2025
SAP Knowledge Base Article - Public