SAP Knowledge Base Article - Public

2579487 - Extension Field Displaying HTML Tags in Report

Symptom

You are looking to use a Report which use an Extension Field of the Formatted Text type. When you add this field to the 'Rows' in the Report, you notice that this Extension Field is displaying HTML Tags along with the values, for example: <p><span style="font-size: 14pt">... instead of displaying only the values which are maintained for this Extension Field in the system.

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

In order to reproduce this behavior, follow the steps below:

  1. Create an Extension Field which uses the Formatted Text type in your system.
  2. Add this Extension Field in the Report you are looking to use.
  3. Go to the Business Analytics work center.
  4. Go to Design Reports work center.
  5. Search and Open the specific Report you are looking to use.
  6. Add the Extension Field to the rows and see that the values are displayed along with the HTML Tags.

Cause

The root cause for this behavior within Extension Fields, is in a specific type of field called Formatted Text. Currently, the system does not support displaying this field without displaying the HTML Tags along with the value, since these tags are used when you maintain the text or values in fields which use this field type.

Resolution

Currently, the system does not support displaying text without the tags in Reports, since the tags are also maintained in the text window when you add information to these fields in the system. We are checking if this can be implemented in a future release. You can register this as a requirement or vote for an existing entry here: https://influence.sap.com/SAPCloudforCustomer

Keywords

HTML; Tags; Reports; Formatted; Text; Extension Field; Analytics; Limitation; Restriction; C4C; , KBA , span style ,

Product

SAP Cloud for Customer all versions