<?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>topic Re: Special characters causing extract to split in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040898#M86442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Hari, you will not be able to do that. As I said it is very difficult to work with those characters without knowing how many and which character set. You said, the addresses are from different countries, does that mean different languages as well? Are you checking for the language when you are extracting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A 'MOVE' or a 'WRITE' will not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2005 16:20:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-08T16:20:41Z</dc:date>
    <item>
      <title>Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040890#M86434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  We are having some problems with characters that SAP is not able to interpret. We have customer addresses entered through web. This sometimes contain special caharcters that SAP is not able to interpret/diaplay/print. SAP shows this as a '#' sign. We have another program that creates an extract of this data. Some of these "#''s are causing the lines to be splait in the extract and appear at the end after the trailer. Have anyone had this kind of an issue.Is there any solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 15:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040890#M86434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040891#M86435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it not possible for you to prevent the website users from entering these special characters OR intercepting the spec chars as they are loading into SAP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 15:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040891#M86435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T15:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040892#M86436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John is correct. It will be very difficult to make the extract right because of the special characters. You have to make it right at the source. You can have a mass clean-up for the existing addresses using a BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless you know what those special characters are, it will be difficult to search for them in your address and remove them. It is easier to simply overwrite them with the correct address. Have your frontend program modified so that it wont happen again, while you can do a onetime cleanup in the backend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 15:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040892#M86436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T15:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040893#M86437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;  Thanks for the replies. But we have a lot of data coming in from web and from different countries. If i use a "MOVE" statement does SAP convert these to the equivalent character representation, '#' maybe, so that the lines does not get split to the end of the file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040893#M86437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T16:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040894#M86438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Hari,&lt;/P&gt;&lt;P&gt;   Actually the #s you see in SAP may not be #s at all.&lt;/P&gt;&lt;P&gt;Anything that cannot be displayed in SAP will be displated as #s.You need to check for their hexadecimal codes before you make a judgement of whether to retain them or not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040894#M86438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T16:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040895#M86439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;  Yes, we know that it is somethine else.But all i need to do is to replace this with a space or '#' when i move to the extract file so that it is not split. Will a "move' or "write" do this? i.e. convert to the character value .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040895#M86439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T16:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040896#M86440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;   I'm afraid, a simple move or write will not do this.&lt;/P&gt;&lt;P&gt;If we know what character it is, then we need to use the replace or translate command .&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040896#M86440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T16:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040897#M86441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering if you search on that '#' sign if you will get a positive indicator.  What I mean is in your extract before you do the split.  Try searching for the "#" and replacing them with space.  If the pound is the representation of the value underneath, the I don't think that this will work, if it is converted to the "#', then it might.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;translate iextract-rec using '# '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040897#M86441</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-08T16:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040898#M86442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Hari, you will not be able to do that. As I said it is very difficult to work with those characters without knowing how many and which character set. You said, the addresses are from different countries, does that mean different languages as well? Are you checking for the language when you are extracting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A 'MOVE' or a 'WRITE' will not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040898#M86442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040899#M86443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may have to test each character of the entire string.  Maybe split the fields into a column of an internal table, loop thru that internal table, and test for a hex value, if so, the replace that value, then rebuild your string using the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040899#M86443</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-08T16:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040900#M86444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had this issue in a previous implementation, luckily we were able to identify the characters, it was a combination of clean up of data on the 3rd party side &amp;amp; we also had to use code to replace the special characters with spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if the Function Module SF_SPECIALCHAR_DELETE helps you..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 21:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040900#M86444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T21:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040901#M86445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt; Thanks a ton for the responses. I guess the issue is as follows, but not sure what would be the best approach to correct it.&lt;/P&gt;&lt;P&gt;. The &amp;#147;unreadable&amp;#148; character that causes the split is the CR(Carriage return) that has a hexa decimal code &amp;#145;0D&amp;#146;( I checked the data before correction in PRD, from the change records, the two &amp;#145;#&amp;#146;&amp;#146;s have the hexa code 0D0A. We determined the exact character by looking at the "changes" for that customer in debug mode. I looked at the hex value of &lt;/P&gt;&lt;P&gt;the deleted characters in debug and found that it was '0D0A', where as ou are aware '0D' is the code for CR(carriage return). Unfortunately we&lt;/P&gt;&lt;P&gt; do not know the exact keys that should be used to reacreate the same.  This is caused as DOS/Windows based systems use CRLF(Carriage return /Line feed) for a &amp;#147;new line&amp;#148; while UNIX uses only LF.  Some times the compiler fails to interpret this new line symbol coming down from DOS/Windows based systems and causes the corruption of the file.&lt;/P&gt;&lt;P&gt;Possible Solutions:&lt;/P&gt;&lt;P&gt;Check for &amp;#145;#&amp;#146; in the fields and if it has an ASCII(Hexa) code of &amp;#145;0D&amp;#146; replace by a space?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 18:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040901#M86445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T18:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040902#M86446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: v_hash(4) TYPE x VALUE '0D0A',
      v_string(100) TYPE c.

REPLACE v_hash WITH space INTO v_string.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 19:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040902#M86446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T19:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters causing extract to split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040903#M86447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using FM SSM_REPLACE_CHAR_BY_HEX_VALUE. Pass the problematic string to the FM  , return value will converted output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kalpana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 21:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/special-characters-causing-extract-to-split/m-p/1040903#M86447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T21:30:08Z</dc:date>
    </item>
  </channel>
</rss>

