<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760986#M1116331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the file is in your Presentation server then you can go to that path and delete the file. If it is giving you a error message that it is being used by some other program then try to end all the programs that you are running and then try it again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2008 08:34:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-07T08:34:54Z</dc:date>
    <item>
      <title>Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760981#M1116326</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;After I have finished the processing of an excel file(uploading it into an itab and copied this file from one folder to another folder), I want to delete this file.&lt;/P&gt;&lt;P&gt;However I can not delete it, it is said it is being used...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I control whether it is being used or not? And if not used then I can delete, how can I understand that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 21:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760981#M1116326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T21:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760982#M1116327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using open dataset or gui_upload?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 21:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760982#M1116327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T21:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760983#M1116328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the file is in application server after close dataset to read the file you can use &lt;STRONG&gt;delete dataset&lt;/STRONG&gt; statement to delete the file from app server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVT_DELETE_FILES&lt;/P&gt;&lt;P&gt;GUI_DELETE_FILE fm might help u..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 21:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760983#M1116328</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-11-06T21:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760984#M1116329</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;The file is under a directory at My Computer, not on application server and I do not use dataset.&lt;/P&gt;&lt;P&gt;Just got the file and upload it through:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSM_EXCEL_TO_INTERNAL_TABLE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I get a list of files under directory and loop through this file itab and upload all files into data itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After uploading the file into itab, and do some more works,&lt;/P&gt;&lt;P&gt;I want to delete this file but could not achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 08:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760984#M1116329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T08:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760985#M1116330</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;&lt;/P&gt;&lt;P&gt;To upload file you will select path take that select path in one variable and pass that variable to the FM below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: y_lv_dpath TYPE rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'GUI_DELETE_FILE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        file_name = y_lv_dpath&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        failed    = 0&lt;/P&gt;&lt;P&gt;        OTHERS    = 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 08:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760985#M1116330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T08:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760986#M1116331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the file is in your Presentation server then you can go to that path and delete the file. If it is giving you a error message that it is being used by some other program then try to end all the programs that you are running and then try it again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 08:34:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760986#M1116331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T08:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760987#M1116332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;close data set&lt;/P&gt;&lt;P&gt;delete dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 08:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760987#M1116332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T08:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760988#M1116333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You understood the problem but actual problem is that the program that uses file and wants to delete the file is the same program.&lt;/P&gt;&lt;P&gt;Logic is that, get data of a file and then delete this file with the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one way to solve this problem and it is to know when SHARING_VIOLATION ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 08:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-file/m-p/4760988#M1116333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T08:48:20Z</dc:date>
    </item>
  </channel>
</rss>

