SAP Knowledge Base Article - Public

3386932 - Extension fields of type formatted text are stored in the DB with HTML tags to render the same on the UI .

Symptom

When a KUT field of Type formatted text containing Data is getting called for OData purpose, you will be getting the data along with the html tag.

"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 Cloud for Customer

Cause

Because of tags only data will get showcased in UI with formation which is customized as per the user requirement.

Resolution

KUT field formatted text type will get saved along with tag in backend.

Resulting the data fetched from backend will come along with tag.

Example

Formatted text field- 

This is just a successful Test 

it will get saved like-

<d:Z_AA_ACC_OwnershipmodelorganizationalstructureExecutive_KUT><div><p><span style="font-size: 14pt"></span><span style="font-size: 14pt">This is just a </span><span style="font-size: 14pt ; color: #00ff37">successful&nbsp;</span><span style="font-size: 14pt"><strong><span style="text-decoration: underline">Test</span></strong>.&nbsp;</span></p><p><span style="font-size: 14pt">&nbsp;</span></p></div></d:Z_AA_ACC_OwnershipmodelorganizationalstructureExecutive_KUT> .

IF data is getting fetched for any operation same data will get called.

 

Keywords

Extension fields of type formatted text are stored in the DB with HTML tags to render the same on the UI . , KBA , AP-RC-UIF-FLX , Page Layout & Key User Configuration , Problem

Product

SAP Cloud for Customer core applications all versions

Attachments

Pasted image.png
Pasted image.png
KBA 0003386932 image.png
kba.png
Pasted image.png
KBA 0003386932 image.png