<?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: delete file form SAP application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732108#M898213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to set up an Operating System command in txn SM69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And execute this in your program using func mod SXPG_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 08:05:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-23T08:05:09Z</dc:date>
    <item>
      <title>delete file form SAP application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732107#M898212</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 need some help on deleting files from SAP application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want to do is.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;upload the file from the server to a internal table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;then do the sales order creation using a BAPI&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;then transfer the file to another folder.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to upload and do the SO creation. only problem is with deleting the file.&lt;/P&gt;&lt;P&gt;I know how to write it in another location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any of u guys help me out on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in ADV&lt;/P&gt;&lt;P&gt;nafran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732107#M898212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: delete file form SAP application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732108#M898213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to set up an Operating System command in txn SM69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And execute this in your program using func mod SXPG_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732108#M898213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: delete file form SAP application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732109#M898214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Phil Rix:&lt;/P&gt;&lt;P&gt;Sorry, but you do not need to execute an OS command to delete a file on AppServer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete a file localed on AppServer use ABAP statement&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DELETE DATASET...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732109#M898214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: delete file form SAP application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732110#M898215</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; use process type 'os command' and you can delete the 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;Try DELETE DATASET &amp;lt;dataset name&amp;gt; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use FM EPS_DELETE_FILE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use DELETE DATASET with target path. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete dataset '\tmp\file.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\tmp\file.txt is the file path on application server which you want to delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&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;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732110#M898215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: delete file form SAP application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732111#M898216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Writing a file or reading a file from the Appl server, You need to use the statement: "Open Data Set" / "TRANSFER - Writing to a File" / "DELETE - Delete a file ";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the help on these statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732111#M898216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: delete file form SAP application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732112#M898217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;As you need to copy the file from one folder to another, you can use command MOVE &amp;lt;path1&amp;gt; &amp;lt;path2&amp;gt;.
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732112#M898217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: delete file form SAP application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732113#M898218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your quite right Mike, using DELETE is far simpler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-file-form-sap-application-server/m-p/3732113#M898218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T08:14:33Z</dc:date>
    </item>
  </channel>
</rss>

