<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Invalid Characters - Control Characters in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565901#M4312835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VA03, the values are set as # symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908879" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the RFC Destination, it is set as Unicode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908880" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to replicate it in the QA environment but cannot recreate the error as it was successful in QA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 17:55:08 GMT</pubDate>
    <dc:creator>neilpadilla</dc:creator>
    <dc:date>2016-03-15T17:55:08Z</dc:date>
    <item>
      <title>Invalid Characters - Control Characters</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaq-p/11565897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Guys,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I have encountered a mapping error in PI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;As per checking using Notepad++, there are invisible characters in the content.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/907786" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ECC -&amp;gt; PI Integration Engine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;From ECC, the IDoc field contains number signs '#'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/907844" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;However upon receiving in PI, the other number signs are no longer visible. And the mapping error is encountered. When the payload is viewed with a Notepad++, the number signs are now replaced into control characters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/907845" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;How could this be possible that the values (number signs) were replaced when received in PI?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Neil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaq-p/11565897</guid>
      <dc:creator>neilpadilla</dc:creator>
      <dc:date>2016-03-14T19:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Characters - Control Characters</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565898#M4312832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The special character is not visible in PI monitoring because of encoding issue. You need to use right encoding conversion in sending adapter to read those character. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can refer the below blogs to handle the encoding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="114778" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Character Encoding Handled the right way" href="https://community.sap.com/" modifiedtitle="true" title="Character Encoding Handled the right way"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?overridelayout=true" title="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?overridelayout=true"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?overridelayout=t…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="62165" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="Handling Code page, Character encoding in SAP PI / PO" href="https://community.sap.com/" modifiedtitle="true" title="Handling Code page, Character encoding in SAP PI / PO"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 23:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565898#M4312832</guid>
      <dc:creator>Harish</dc:creator>
      <dc:date>2016-03-14T23:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Characters - Control Characters</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565899#M4312833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field BSTNK looks like it's related to a sales order in the ECC system. Can you check the sales order using VA03 and see what is the value under Purchase Order number? Does it have any of these special characters and how does it look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, can you check the RFC destination that is used for the IDoc communication between ECC and PI. Not sure if you are using IDoc or IDoc_AAE adapter, but you should be able to find the RFC destination by clicking on the IDoc port used in the partner profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eng Swee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 01:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565899#M4312833</guid>
      <dc:creator>engswee</dc:creator>
      <dc:date>2016-03-15T01:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Characters - Control Characters</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565900#M4312834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sap note &lt;A href="http://service.sap.com/sap/support/notes/1420744" style="font-family: Arial, Helvetica, sans-serif; background-color: #cbdbea;" title="1420744  - IDoc adapter: Rare special characters in IDoc XML"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;1420744 - IDoc adapter: Rare special characters in IDoc XML&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000;"&gt;Praveen.&lt;/SPAN&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 03:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565900#M4312834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-15T03:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Characters - Control Characters</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565901#M4312835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VA03, the values are set as # symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908879" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the RFC Destination, it is set as Unicode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908880" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to replicate it in the QA environment but cannot recreate the error as it was successful in QA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 17:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565901#M4312835</guid>
      <dc:creator>neilpadilla</dc:creator>
      <dc:date>2016-03-15T17:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Characters - Control Characters</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565902#M4312836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By any chance, is the sales order created by interface as well? If yes, are you able to track the original payload that created this sales order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the short term, you might want to explore the note that Praveen mentioned. You can check the hexadecimal representation of the special characters in your payload by using a Hex Editor (Notepad++ has such a plugin for it). If they match the characters that will be filtered by the Note, then you can possibly use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for long term, you will need to resolve this on the sender side, which is also recommended by the note. As such, you need to trace back where is the origin of such characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eng Swee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 01:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565902#M4312836</guid>
      <dc:creator>engswee</dc:creator>
      <dc:date>2016-03-16T01:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Characters - Control Characters</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565903#M4312837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems data entry issue (typo by user). Request functional team to correct data in SAP ABAP tables.&lt;/P&gt;&lt;P&gt;If there are multiple Purchase Oreders with these characters, you have to find root cause (user is repeating typo OR it is due to some ABAP program storing extra characters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI. Message is failing in Message Mapping as &amp;amp; is not escaped.&lt;/P&gt;&lt;P&gt;# Esc &lt;STRONG&gt;# &lt;/STRONG&gt;GS RS US GS GS&amp;nbsp; ---&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;# &lt;/STRONG&gt;&amp;amp;#27; &lt;STRONG&gt;# &lt;/STRONG&gt;&amp;amp;#29; &amp;amp;#30; &amp;amp;#31; &amp;amp;#29; &amp;amp;#29;&lt;/P&gt;&lt;P&gt;&lt;A href="http://unicode-table.com/en/#001D" title="http://unicode-table.com/en/#001D"&gt;http://unicode-table.com/en/#001D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fix the issue in source system. If it is not possible, before Message Mapping use Java Mapping to replace &amp;amp; with &amp;amp;amp; &lt;A __default_attr="119116" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Not well-formed XML - &amp;amp;amp; issue" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 05:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-characters-control-characters/qaa-p/11565903#M4312837</guid>
      <dc:creator>RaghuVamseedhar</dc:creator>
      <dc:date>2016-03-16T05:16:55Z</dc:date>
    </item>
  </channel>
</rss>

