<?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: Deleting files from application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268447#M492552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE DATASET '/usr/trans/test.txt'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 09:43:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-15T09:43:24Z</dc:date>
    <item>
      <title>Deleting files from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268446#M492551</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;I all i want to delete files(txt) from application server is there any abap statement by which i can delete it by specifying the path of that file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 09:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268446#M492551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T09:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting files from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268447#M492552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE DATASET '/usr/trans/test.txt'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 09:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268447#M492552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting files from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268448#M492553</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;Check this out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE DATASET '/tmp/test.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;WRITE: / 'Error in deleting'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;WRITE; / 'File deleted'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 09:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268448#M492553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting files from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268449#M492554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write program in se38 using this syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE DATASET &amp;lt;dataset name&amp;gt; syntax. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use FM &amp;lt;b&amp;gt;EPS_DELETE_FILE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 09:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268449#M492554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T09:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting files from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268450#M492555</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;  You can delete a folder in application server by using function module &amp;lt;b&amp;gt;WBMR_DELETE_APPL_FOLDER&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If you want to delete the txt files, get the list of txt files in the given folder and &lt;/P&gt;&lt;P&gt;open the file in write mode again and close it. Then, the content in txt file will be cleared and blank files will be stored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 09:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268450#M492555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T09:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting files from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268451#M492556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can delete the txt file by using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE DATASET &amp;lt;data set name&amp;gt; (here u can give exact path of the  file where it is stored)&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;write : 'file is deleted'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write : 'it is not deleted'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 10:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-files-from-application-server/m-p/2268451#M492556</guid>
      <dc:creator>former_member223446</dc:creator>
      <dc:date>2007-05-15T10:18:05Z</dc:date>
    </item>
  </channel>
</rss>

