<?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: file processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-processing/m-p/3515562#M845554</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;Do like this&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;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;*--Error in opening file&lt;/P&gt;&lt;P&gt;    MESSAGE i368(00) WITH text-005.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Get all the records from the specified location.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    READ DATASET l_file INTO l_line.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SPLIT l_line AT cl_abap_char_utilities=&amp;gt;horizontal_tab&lt;/P&gt;&lt;P&gt;                      INTO st_ipfile-vbeln&lt;/P&gt;&lt;P&gt;                           st_ipfile-posnr&lt;/P&gt;&lt;P&gt;                           st_ipfile-edatu&lt;/P&gt;&lt;P&gt;                           st_ipfile-wmeng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND st_ipfile TO it_ipfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDDO.&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;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2008 07:51:37 GMT</pubDate>
    <dc:creator>former_member386202</dc:creator>
    <dc:date>2008-03-10T07:51:37Z</dc:date>
    <item>
      <title>file processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-processing/m-p/3515561#M845553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A program reading file using&lt;/P&gt;&lt;P&gt; OPEN DATASET dsn FOR INPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;takes long tiome for opening the file ,&lt;/P&gt;&lt;P&gt;can anyone suggest how to reduce the time ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 07:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-processing/m-p/3515561#M845553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T07:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: file processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-processing/m-p/3515562#M845554</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;Do like this&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;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;*--Error in opening file&lt;/P&gt;&lt;P&gt;    MESSAGE i368(00) WITH text-005.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Get all the records from the specified location.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    READ DATASET l_file INTO l_line.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SPLIT l_line AT cl_abap_char_utilities=&amp;gt;horizontal_tab&lt;/P&gt;&lt;P&gt;                      INTO st_ipfile-vbeln&lt;/P&gt;&lt;P&gt;                           st_ipfile-posnr&lt;/P&gt;&lt;P&gt;                           st_ipfile-edatu&lt;/P&gt;&lt;P&gt;                           st_ipfile-wmeng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND st_ipfile TO it_ipfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDDO.&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;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 07:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-processing/m-p/3515562#M845554</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2008-03-10T07:51:37Z</dc:date>
    </item>
  </channel>
</rss>

