SAP Knowledge Base Article - Public

2786939 - Special characters issue in XML output file - Integration Center

Symptom

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

While building an XML output file integration, some special characters are not shown as they should in Integration Center preview.

Example:
After building an XML configuration and putting the character "<" as one of its results, Integration Center's preview shows the value "&lt;" instead of showing the character "<", as below:

special_characters_ic_1.jpg

Environment

  • SuccessFactors
  • Integration Center

Reproducing the Issue

  1. Create a Scheduled XML File Output Integration in Integration Center;
  2. Configure it in a way that the result would show a special character;
  3. The special characters are not shown properly (they are shown as a code).

Cause

The cause is in XML itself. XML has some reserved characters that can't be used on its results, and Integration Center is only behaving according to it.

The reserved characters that cause this behavior in Integration Center are three, and their results are the following:

Character Result
less-than (<) &lt;
greater-than (>) &gt;
amperstand (&) &amp;

Example:
special_characters_ic_2.jpg

The characters "<", ">" and "&" were inserted in the XML results, but were shown as their encoded text in the preview.

Resolution

This is an expected behavior of XML.

There is no way to bypass the reserved characters encoded result, so it's better to just avoid using them in these cases.

Keywords

successfactors, success, factors, xml, output, file, encoded, special, character, different, result, element, value, record, automatic, replacement, preview, view, symbol, reserved , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-INC , Integration Center , How To

Product

SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM Suite all versions