SAP Knowledge Base Article - Public

2811902 - When Using The Export to Microsoft Excel Function in an OWL, HTML Tags Such As '<p>' Are Added To The Text Within The Excel File

Symptom

You use the 'Export to Microsoft Excel' function within an OWL, but HTML tags such as '<p>' are added to the text within the generated excel file.

Environment

SAP Cloud for Customer

Reproducing the Issue

This scenario can apply to different views, in this example we use Leads.

  1. Go to the Sales workcenter.
  2. Open the Leads view.
  3. Within the OWL click More.
  4. Click Export to Microsoft Excel.
  5. Open the exported Microsoft Excel file.

Notice the symbols '<p>' are added within the text of the exported file.

Cause

This is a limitation with Microsoft Excel. As there is styling applied on the text within the UI, Excel tries to convert it to normal text and this styling displays as HTML tags.

Resolution

There is currently a workaround for this issue:

  1. Open the exported file.
  2. Hold CTRL + H (Find and Replace function) on the keyboard.
  3. In the 'Find What' field, enter <*>.
  4. Leave the 'Replace' field empty.
  5. Click the 'Replace All' button.

Notice the <p> HTML tags are no longer within the text.

Keywords

Symbols, Tags, <, >, <p>, sales, accounts, customers, opportunities, quotes, orders, contacts , KBA , SRD-CC-OIN-XL , Excel Integration , Problem

Product

SAP Cloud for Customer core applications 1905