<?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: buffering data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271291#M1019172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello CA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you see my bit of code? Thats what i have suggested. Store the last file read to the DB table INDX(cluster table) . You dont have to create any table if u use this soln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2008 11:33:20 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2008-08-13T11:33:20Z</dc:date>
    <item>
      <title>buffering data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271286#M1019167</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;My problem is that i have scheduled my abap program in background and the program reads some files which are in sequence and after that when it runs again the program has to know the file name which it has last read.How can this be achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;C.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 10:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271286#M1019167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T10:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: buffering data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271287#M1019168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one way of doing is create a Z table and when u run the program as soon as it runs the first file, update the file name in the Z table and so...on till the program completes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when you are running for second time, read this Z table and you can find the file name and when it runs refresh the Z table data and once again add the file names...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 10:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271287#M1019168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T10:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: buffering data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271288#M1019169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try IMPORT &amp;amp; EXPORT stmts for this. When you read the last file export the filename to the DB &amp;amp; before starting to read the files do an import.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA:
    l_wa_indx    TYPE indx.

*   Before reading the files, export from DB
    EXPORT l_v_filenam = l_v_filenam
    TO DATABASE indx(xy)
    FROM l_wa_indx
    CLIENT sy-mandt ID 'test'.    

*   Reaf the files
*   Last file read, then Import to DB    
    IMPORT l_v_filenam = l_v_filenam
    FROM DATABASE indx(xy)
    TO l_wa_indx
    CLIENT sy-mandt ID 'test'.    
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 10:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271288#M1019169</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-08-13T10:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: buffering data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271289#M1019170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another solution is to rename &lt;/P&gt;&lt;P&gt;the filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: from   /home/file123   to   /home/file123.fin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 10:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271289#M1019170</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2008-08-13T10:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: buffering data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271290#M1019171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i mean my problem is evryday the sequence of files change, i mean they start afresh with 1 .So do i have any option to handle it directly just by buffering it somewhere in memory and retrieving it instead of craeting a db table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;C.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 10:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271290#M1019171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T10:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: buffering data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271291#M1019172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello CA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you see my bit of code? Thats what i have suggested. Store the last file read to the DB table INDX(cluster table) . You dont have to create any table if u use this soln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 11:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering-data/m-p/4271291#M1019172</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-08-13T11:33:20Z</dc:date>
    </item>
  </channel>
</rss>

