<?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 IDOC_INBOUND_FROM_FILE function module and UNICODE not allowed ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-from-file-function-module-and-unicode-not-allowed/m-p/6593715#M1436231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IDOC_INBOUND_FROM_FILE function module doesn't allow inbound IDOCs to be processed if the UNICODE flag is set on with the WE21 transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I turned on the WE21 UNICODE checkbox so that I could output characters in the extended set of UTF-8 characters. Most notably, I need to output the Euro Currency character (code 8364) and the em dash character (code 8212). This worked fine for my outbound files.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried to import a normal 8-bit ASCII file with RSEINB00, the function module returns a code 8 because the UNICODE flag is set for the port. This is caused in form FIRST_RECORD_READ_AND_CHECK. The function module quits before the IDOC records are even processed at all. Look at the form code around line 168 of include program LEDINF01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems very wierd since program RSEINB00 is commonly used for reading IDOC files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone recommend a different function module or global class to use for inbound files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ed Baker&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. &lt;/P&gt;&lt;P&gt;If any of you need a nice website illustrating characters available with UTF-8 encoding, try this one. &lt;/P&gt;&lt;P&gt;&lt;A href="http://library.seaplusplus.net/software/plourde/utf8.html" target="test_blank"&gt;http://library.seaplusplus.net/software/plourde/utf8.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2010 12:13:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-17T12:13:28Z</dc:date>
    <item>
      <title>IDOC_INBOUND_FROM_FILE function module and UNICODE not allowed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-from-file-function-module-and-unicode-not-allowed/m-p/6593715#M1436231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IDOC_INBOUND_FROM_FILE function module doesn't allow inbound IDOCs to be processed if the UNICODE flag is set on with the WE21 transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I turned on the WE21 UNICODE checkbox so that I could output characters in the extended set of UTF-8 characters. Most notably, I need to output the Euro Currency character (code 8364) and the em dash character (code 8212). This worked fine for my outbound files.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried to import a normal 8-bit ASCII file with RSEINB00, the function module returns a code 8 because the UNICODE flag is set for the port. This is caused in form FIRST_RECORD_READ_AND_CHECK. The function module quits before the IDOC records are even processed at all. Look at the form code around line 168 of include program LEDINF01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems very wierd since program RSEINB00 is commonly used for reading IDOC files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone recommend a different function module or global class to use for inbound files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ed Baker&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. &lt;/P&gt;&lt;P&gt;If any of you need a nice website illustrating characters available with UTF-8 encoding, try this one. &lt;/P&gt;&lt;P&gt;&lt;A href="http://library.seaplusplus.net/software/plourde/utf8.html" target="test_blank"&gt;http://library.seaplusplus.net/software/plourde/utf8.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 12:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-from-file-function-module-and-unicode-not-allowed/m-p/6593715#M1436231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T12:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC_INBOUND_FROM_FILE function module and UNICODE not allowed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-from-file-function-module-and-unicode-not-allowed/m-p/6593716#M1436232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question rephrased and asked again to improve clarity&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 13:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-from-file-function-module-and-unicode-not-allowed/m-p/6593716#M1436232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T13:14:40Z</dc:date>
    </item>
  </channel>
</rss>

