<?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 file from AL11 Tcode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223486#M137155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ask your Basis team to write a UNIX script which can be executed via SM49 to delete the file you want in the file system. This is the way we do it at our company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2006 11:23:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-30T11:23:18Z</dc:date>
    <item>
      <title>deleting file from AL11 Tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223485#M137154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guy's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls let me know ,how we can delete files which we have&lt;/P&gt;&lt;P&gt;in ALL11 tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sanju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2006 11:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223485#M137154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-30T11:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: deleting file from AL11 Tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223486#M137155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ask your Basis team to write a UNIX script which can be executed via SM49 to delete the file you want in the file system. This is the way we do it at our company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2006 11:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223486#M137155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-30T11:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: deleting file from AL11 Tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223487#M137156</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;try fm EPS_DELETE_FILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abap command :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete dataset file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2006 11:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223487#M137156</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-03-30T11:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: deleting file from AL11 Tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223488#M137157</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;Jus chk out this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE - Delete a file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;DELETE DATASET dsn. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Deletes the file specified in the field dsn. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return code is set as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;File deleted. &lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;File does not exist or could not be deleted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible reasons: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The file does not exist. &lt;/P&gt;&lt;P&gt;2) The file is a directory. &lt;/P&gt;&lt;P&gt;3) The R/3 System has no search authorization &lt;/P&gt;&lt;P&gt;for a component of the file name. &lt;/P&gt;&lt;P&gt;4) The R/3 System has no search authorization &lt;/P&gt;&lt;P&gt;for the directory which contains the file. &lt;/P&gt;&lt;P&gt;5) A component of the search path is not a &lt;/P&gt;&lt;P&gt;directory. &lt;/P&gt;&lt;P&gt;6) The file is a symbolic link which cannot be &lt;/P&gt;&lt;P&gt;resolved (endless loop ?). &lt;/P&gt;&lt;P&gt;7) The file is a program which is currently &lt;/P&gt;&lt;P&gt;running. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer this piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT gt_files WHERE type &amp;lt;&amp;gt; 'directory file'&lt;/P&gt;&lt;P&gt;AND len EQ 0.&lt;/P&gt;&lt;P&gt;CONCATENATE p_path gt_files-name INTO test.&lt;/P&gt;&lt;P&gt;CONDENSE test NO-GAPS.&lt;/P&gt;&lt;P&gt;OPEN DATASET test.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;DELETE DATASET test.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;MESSAGE i000(0) WITH 'file deleted'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;Gayathri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Gayathri Hariharan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2006 11:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223488#M137157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-30T11:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: deleting file from AL11 Tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223489#M137158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI&lt;/P&gt;&lt;P&gt; AL11 is a tcode for SAP directories.So every directory contain files.If you want to delete the files than you must have to delete the directrories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So no way you can delete the files without deleting the directory and directory can be deleted by the BASIS people only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you to give some idea to delete the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Mrutyunjaya Tripathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2006 12:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file-from-al11-tcode/m-p/1223489#M137158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-30T12:21:52Z</dc:date>
    </item>
  </channel>
</rss>

