<?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: Error during file read from Application Server -Unicode tab Delimited Text file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653025#M1943737</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sh4il3sh&lt;/SPAN&gt;&lt;/P&gt;I edited my old answer because it was incorrect.</description>
    <pubDate>Mon, 22 Aug 2022 12:43:07 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-08-22T12:43:07Z</dc:date>
    <item>
      <title>Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653014#M1943726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi we have a requirement to read a file of type Unicode Tab delimited file ( containing chinese characters) from Application server.&lt;/P&gt;&lt;P&gt;i have tried in different ways , but i face following issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out System is Uncode and the file is prepared in Excel and saved as " Unicode( tab delimited) Text file".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp; I tried with OPEN DATASET p_inp_file FOR INPUT IN TEXT MODE ENCODING&amp;nbsp; default. but&amp;nbsp; it failed at statament READ DATASET p_inp_file INTO&amp;nbsp; lwa_line&amp;nbsp; . statement with error "CX_SY_CONVERSION_CODEPAGE" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; During conversion of a text from code page '4110' to code page '4102',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; one of the following occurred:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt; OPEN DATASET p_inp_file&amp;nbsp; FOR INPUT IN LEGACY TEXT MODE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BIG ENDIAN CODE PAGE '4102'. Got below error immediately after executing the open data set statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;The conversion of certain code pages is not supported.&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The conversion of texts in code page '4102' to code page '4102' is not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; supported here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt; OPEN DATASET p_inp_file&amp;nbsp; FOR INPUT IN LEGACY TEXT MODE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BIG ENDIAN CODE PAGE '4110'. Got below error immediately after executing the open data set statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;The conversion of certain code pages is not supported.&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt; The conversion of texts in code page '4110' to code page '4102' is not&lt;/P&gt;&lt;P&gt; supported here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;OPEN DATASET&amp;nbsp; p_inp_file FOR INPUT IN LEGACY&amp;nbsp; TEXT MODE BIG ENDIAN CODE PAGE '1100'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IGNORING CONVERSION ERRORS . I see that a special charecter '#' is added after each charetcre of the input file.&lt;/P&gt;&lt;P&gt;ex: if one of the field value is : Z1MAT , after reading the file it was:#Z#1#M#A#T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read1.PNG&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/954666" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the front end(PC) im able to read the same file with out any conversion, but same file when transferred to application server not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help to suggest how to read this Unicode tab Delimited Text file from application server. I see that its current code page 4102.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 02:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653014#M1943726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-18T02:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653015#M1943727</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 this:&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;open dataset P_FILE in text mode encoding default for input ignoring conversion errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 05:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653015#M1943727</guid>
      <dc:creator>pranay570708</dc:creator>
      <dc:date>2016-05-18T05:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653016#M1943728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that also, result is same as in case(4) above:&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;. I see that a special charecter '#' is added after each charetcre of the input file.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;ex: if one of the field value is : Z1MAT , after reading the file it was:#Z#1#M#A#T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt; &lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/2-16722596-954666/read1.PNG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/954691" height="126" width="450" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 05:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653016#M1943728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-18T05:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653017#M1943729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below code to remove '#'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPLACE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OCCURRENCES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'#' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;LWA_LINE &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;SPACE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;LWA_LINE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 05:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653017#M1943729</guid>
      <dc:creator>pranay570708</dc:creator>
      <dc:date>2016-05-18T05:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653018#M1943730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.Beforr replace statement&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/954745" width="450" /&gt;&lt;/P&gt;&lt;P&gt;2.After Replace statment&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/954749" width="450" /&gt;&lt;/P&gt;&lt;P&gt;No change. Looks like its not hash but some code page related character?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pasted the Text from above debug screen:&lt;/P&gt;&lt;P&gt;A#g#r#e#e#m#e#n#t# #T#y#p#e###P#r#o#j#e#c#t# #C#o#d#e###S#a#l#e#s# #O#r#g###D#i#s#t#C#h#a#n###D#i#v###C#u#s#t#g#r#p###C#h#a#n#n#e#l#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 05:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653018#M1943730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-18T05:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653019#M1943731</link>
      <description>&lt;P&gt;Excel "unicode text" (tab delimited) format is saved in UTF-16 Little Endian (with a BOM "FFFE" in the first 2 bytes).&lt;/P&gt;&lt;P&gt;There can be an issue at 2 moments: either during the upload of the file from the laptop to the application server, or when you read the file from the application server.&lt;/P&gt;&lt;P&gt;You must be sure which character encoding you upload to the application server. I advise to upload using BIN mode so that there's no conversion, and so you should have a file on the application server in UTF-16 little endian.&lt;/P&gt;&lt;P&gt;SAP code page for UTF-16 little endian (UTF-16LE) is "4103".&lt;/P&gt;&lt;P&gt;EDIT 22/08/2022:&lt;/P&gt;&lt;P&gt;OPEN DATASET cannot read directly UTF-16 (one of the only code page with that issue). The solution is to read directly in binary mode, and then convert.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA xstring TYPE xstring.
OPEN DATASET p_inp_file FOR INPUT IN BYTE MODE.
READ DATASET p_inp_file INTO xstring.
CLOSE DATASET p_inp_file.
DATA(string) = cl_abap_codepage=&amp;gt;convert_from( source = xstring codepage = `UTF-16LE` ).
IF string IS NOT INITIAL.
  string = string+1. " remove BOM character
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 May 2016 06:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653019#M1943731</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-05-18T06:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653020#M1943732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra Rossi, Thanks&lt;/P&gt;&lt;P&gt;I tried,&lt;/P&gt;&lt;P&gt;&amp;nbsp; OPEN DATASET p_inp_file FOR INPUT IN LEGACY TEXT MODE&lt;/P&gt;&lt;P&gt;&amp;nbsp; CODE PAGE '4103' message lv_mess.&lt;/P&gt;&lt;P&gt;i got the below dump immediately after the above statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The conversion of texts in code page '4103' to code page '4102' is not&lt;/P&gt;&lt;P&gt;supported here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already checked that when using gui_upload the code page 4103 is used, but on application server the code page is 4102.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using CG3Z transaction Binary mode to transfer the file TO appication server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 06:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653020#M1943732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-18T06:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653021#M1943733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that's true, as I could read in that &lt;A _jive_internal="true" href="https://answers.sap.com/people/ulrich.brink/blog/2005/08/18/unicode-file-handling-in-abap"&gt;post&lt;/A&gt;: "Unfortunately, the OPEN DATASET statement does not support UTF-16. A workaround is to open the file in BINARY MODE and to use the classes CL_ABAP_CONV_IN_CE and CL_ABAP_CONV_OUT_CE."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 07:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653021#M1943733</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-05-18T07:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653022#M1943734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls give it a try to remove special character '#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CONSTANTS&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;C_HASH&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;C &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;CL_ABAP_CHAR_UTILITIES&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;HORIZONTAL_TAB&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;REPLACE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OCCURRENCES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;C_HASH &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;LWA_LINE &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;SPACE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;LWA_LINE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653022#M1943734</guid>
      <dc:creator>pranay570708</dc:creator>
      <dc:date>2016-05-18T08:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653023#M1943735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example of code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: l_string TYPE string,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_xstring TYPE xstring,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lo_conv TYPE REF TO cl_abap_conv_in_ce,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lt_line TYPE TABLE OF string.

OPEN DATASET p_inp_file FOR INPUT IN BINARY MODE.
READ DATASET p_inp_file INTO l_xstring.
CLOSE DATASET p_inp_file.

lo_conv = cl_abap_conv_in_ce=&amp;gt;create( encoding = '4103' input = l_xstring ).
lo_conv-&amp;gt;skip_x( n = 2 ). " skip BOM
lo_conv-&amp;gt;read( IMPORTING data = l_string ).
SPLIT l_string AT cl_abap_char_utilities=&amp;gt;cr_lf INTO TABLE lt_line.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(Written directly in the forum, not tested)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 12:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653023#M1943735</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-05-18T12:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653024#M1943736</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; , could you please explain the significance of Skip BOM line? &lt;BR /&gt;3rd last line from bottom.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 11:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653024#M1943736</guid>
      <dc:creator>sh4il3sh</dc:creator>
      <dc:date>2022-08-22T11:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653025#M1943737</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sh4il3sh&lt;/SPAN&gt;&lt;/P&gt;I edited my old answer because it was incorrect.</description>
      <pubDate>Mon, 22 Aug 2022 12:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653025#M1943737</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-08-22T12:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653026#M1943738</link>
      <description>&lt;P&gt;Thank You &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; .&lt;BR /&gt;I just found that below statement works like charm, it was added in the release 6.40.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING UTF-8 SKIPPING BYTE-ORDER MARK WITH SMART LINEFEED IGNORING CONVERSION ERRORS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is there any way to determine if my internal table has special characters? &lt;BR /&gt;If there is no UTF file, I need to generate non utf-8 file in AL11 and vice versa. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 13:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653026#M1943738</guid>
      <dc:creator>sh4il3sh</dc:creator>
      <dc:date>2022-08-22T13:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error during file read from Application Server -Unicode tab Delimited Text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653027#M1943739</link>
      <description>&lt;SPAN class="mention-scrubbed"&gt;sh4il3sh&lt;/SPAN&gt;&lt;P&gt;my answer was about UTF-16, not UTF-8.&lt;/P&gt;&lt;P&gt;Please ask a new question, and clarify which "special characters" and what kind of "non utf-8" file you are talking about.&lt;/P&gt;&lt;P&gt;NB: you should not say "a file in AL11", you should say "a file in the file system of the application server". AL11 is just to view the file system.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 08:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-file-read-from-application-server-unicode-tab-delimited-text/m-p/11653027#M1943739</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-08-23T08:20:47Z</dc:date>
    </item>
  </channel>
</rss>

