<?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: overwrite in Application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769800#M1118014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just append the current date and time at the end of the file name that you are writing to the app. server. This will write a unique file each time the report is run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2008 10:56:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-13T10:56:25Z</dc:date>
    <item>
      <title>overwrite in Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769797#M1118011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to send the output to application server, the data was going perfectly but the problem is ,the report if we run twice the output should not overwrite with the first executed run in app server.&lt;/P&gt;&lt;P&gt;if we run run more than once also it shoud not overwrite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 07:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769797#M1118011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T07:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite in Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769798#M1118012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If we download output to application server with the same file name earlier file will be overwritten.&lt;/P&gt;&lt;P&gt;To avoid this concatinate current date or time or some thing else to the file name.&lt;/P&gt;&lt;P&gt;I added date with the file name as it is executed on daily basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 07:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769798#M1118012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T07:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite in Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769799#M1118013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add further what sudheer said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot avoid overwriting if the files have same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make some logic to change the file name everytime.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 10:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769799#M1118013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T10:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite in Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769800#M1118014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just append the current date and time at the end of the file name that you are writing to the app. server. This will write a unique file each time the report is run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 10:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769800#M1118014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T10:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite in Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769801#M1118015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want the contents of the file to be written to the same file without overwriting the existing data, then use the ... FOR APPENDING  addition of the open dataset statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
open dataset dsn ........ FOR APPENDING 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise do as suggested above by adding a date time stamp to the filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 11:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769801#M1118015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T11:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite in Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769802#M1118016</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;as suggested by ravi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Just append the current date and time at the end of the file name that you are writing to the app. server. This will write a unique file each time the report is run."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel this is the good option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 11:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-in-application-server/m-p/4769802#M1118016</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-11-13T11:10:46Z</dc:date>
    </item>
  </channel>
</rss>

