<?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: FILER SERVER TO INTERNAL TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825114#M1470720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used too in TEXT MODE, but when I try read a file.txt or file .pdf, anyone different of .csv --&amp;gt; DUMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OPEN DATASET l_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;            IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            ELSE.&lt;/P&gt;&lt;P&gt;              DO.&lt;/P&gt;&lt;P&gt;                CLEAR wa_fichero.&lt;/P&gt;&lt;P&gt;                READ DATASET l_file INTO wa_fichero.&lt;/P&gt;&lt;P&gt;                IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;                  EXIT.&lt;/P&gt;&lt;P&gt;                ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                APPEND wa_fichero TO t_fichero.&lt;/P&gt;&lt;P&gt;              ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CLOSE DATASET l_file.&lt;/P&gt;&lt;P&gt;              CALL SCREEN '1004'.&lt;/P&gt;&lt;P&gt;            ENDIF. " IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DUMP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the conversion of a text from codepage '4110' to codepage '4102':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- a character was found that cannot be displayed in one of the two&lt;/P&gt;&lt;P&gt;codepages;&lt;/P&gt;&lt;P&gt;- or it was detected that this conversion is not supported&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The running ABAP program 'Z_MONI_ETL' had to be terminated as the conversion&lt;/P&gt;&lt;P&gt;would have produced incorrect data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of characters that could not be displayed (and therefore not&lt;/P&gt;&lt;P&gt;be converted), is 1. If this number is 0, the second error case, as&lt;/P&gt;&lt;P&gt;mentioned above, has occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ivan R on Apr 20, 2010 10:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Apr 2010 08:06:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-20T08:06:37Z</dc:date>
    <item>
      <title>FILER SERVER TO INTERNAL TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825112#M1470718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can download a file server and store it in an internal table for display in an ALV? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this function: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ARCHIVFILE_SERVER_TO_TABLE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    sourcepath           = l_file        --&amp;gt; TYPE SAPB-SAPPFAD&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WITHOUT_DELETE       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LENGTH               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    archivobject         = t_fichero    " --&amp;gt; t_fichero like docs OCCURS 0 WITH HEADER LINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think the standard is wrong:&lt;/P&gt;&lt;P&gt;     assign archivobject-lines(length) to &amp;lt;f1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm triyin with OPEN DATASET l_file FOR INPUT IN BINARY MODE, but in the ALV show ascii code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me, PLEASE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 07:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825112#M1470718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-20T07:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: FILER SERVER TO INTERNAL TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825113#M1470719</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;Use OPEN DATASET l_file FOR INPUT IN &lt;STRONG&gt;TEXT&lt;/STRONG&gt; MODE. The ALV will display the text and not the binary values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jayesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 08:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825113#M1470719</guid>
      <dc:creator>jayesh_gupta</dc:creator>
      <dc:date>2010-04-20T08:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: FILER SERVER TO INTERNAL TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825114#M1470720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used too in TEXT MODE, but when I try read a file.txt or file .pdf, anyone different of .csv --&amp;gt; DUMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OPEN DATASET l_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;            IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            ELSE.&lt;/P&gt;&lt;P&gt;              DO.&lt;/P&gt;&lt;P&gt;                CLEAR wa_fichero.&lt;/P&gt;&lt;P&gt;                READ DATASET l_file INTO wa_fichero.&lt;/P&gt;&lt;P&gt;                IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;                  EXIT.&lt;/P&gt;&lt;P&gt;                ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                APPEND wa_fichero TO t_fichero.&lt;/P&gt;&lt;P&gt;              ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CLOSE DATASET l_file.&lt;/P&gt;&lt;P&gt;              CALL SCREEN '1004'.&lt;/P&gt;&lt;P&gt;            ENDIF. " IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DUMP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the conversion of a text from codepage '4110' to codepage '4102':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- a character was found that cannot be displayed in one of the two&lt;/P&gt;&lt;P&gt;codepages;&lt;/P&gt;&lt;P&gt;- or it was detected that this conversion is not supported&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The running ABAP program 'Z_MONI_ETL' had to be terminated as the conversion&lt;/P&gt;&lt;P&gt;would have produced incorrect data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of characters that could not be displayed (and therefore not&lt;/P&gt;&lt;P&gt;be converted), is 1. If this number is 0, the second error case, as&lt;/P&gt;&lt;P&gt;mentioned above, has occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ivan R on Apr 20, 2010 10:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 08:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825114#M1470720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-20T08:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: FILER SERVER TO INTERNAL TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825115#M1470721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with the file structure. .csv are basically comma separated file and that works pretty well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you need to use &lt;STRONG&gt;SPLIT&lt;/STRONG&gt; the special characters in the file uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even debug and see the internal table data hold structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 08:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825115#M1470721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-20T08:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: FILER SERVER TO INTERNAL TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825116#M1470722</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;For .doc and .pdf files, you will have to use Binary mode only. So, go ahead with the code you were using and then convert the binary data to text using the Function module SCMS_BINARY_TO_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jayesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 08:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filer-server-to-internal-table/m-p/6825116#M1470722</guid>
      <dc:creator>jayesh_gupta</dc:creator>
      <dc:date>2010-04-20T08:13:01Z</dc:date>
    </item>
  </channel>
</rss>

