SAP Knowledge Base Article - Public

3100039 - amp; Suffixed to & when Replicating a Service Ticket to S4 or FSM

Symptom

You notice that, after replicating a Service Ticket to S4 or Field Service Management (FSM) system, in case a field e.g. Subject, has & in it's content / value, the value amp; will be suffixed to it in the XML / Payload.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Navigate to Service work center.
  2. Navigate to Tickets work center view.
  3. Open any Ticket.
  4. See the ticket subject is, for example, Test&Test.
  5. Click Actions.
  6. Click either Release to ERP or Release to FSM.
  7. Save the changes.
  8. Navigate to Administrator work center.
  9. Navigate to Web Service Message Monitoring work center view.
  10. Filter for the outgoing message related to your ticket.
  11. Click View.
  12. Click Payload.
  13. See the following <TicketSubject languageCode="EN">Test&amp;Test</TicketSubject> is sent to S4 / FSM, when you would expect <TicketSubject languageCode="EN">Test&Test</TicketSubject>

Cause

The data from Cloud for Customer system is sent out in XML format, and the amp; is added suffixed to the & as part of the XML conversion, so it can be a valid XML format.

In case this was not suffixed, the data would not have a valid XML format as it would have issues while performing the conversion.

Resolution

This is the system expected behavior.

Keywords

XML, XML Format, Conversion, Payload, Outgoing, Message, Web Service Message Monitoring, C4C, FSM, S4, Release to FSM, Release to ERP, &, amp;, suffixed, Service, Ticket, Service Request, , KBA , LOD-CRM-SRP , Service Request Processing , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions