<?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: GUI_DELETE_FILE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195697#M1002908</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;&lt;/P&gt;&lt;P&gt;Before Delete the file check whether file is Exit or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like Below Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : existing type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method cl_gui_frontend_services=&amp;gt;file_exist&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          file   = filename&lt;/P&gt;&lt;P&gt;        receiving&lt;/P&gt;&lt;P&gt;          result = existing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  existing  is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function 'GUI_DELETE_FILE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If file is not there in yur system 'GUI_DELETE_FILE' not &lt;/P&gt;&lt;P&gt;excute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this not go to DUMP.&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;Durai.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 04:58:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T04:58:15Z</dc:date>
    <item>
      <title>GUI_DELETE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195691#M1002902</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;I am using the FM GUI_DELETE_FILE for deleteing a file on Presentation Server. Although the FM successfully deletes a file, still it throws an Error always, i.e sy-subrc is never zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me with the problem?&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;Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 04:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195691#M1002902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T04:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DELETE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195692#M1002903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check your sy-subrc value and handel the exception explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 04:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195692#M1002903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T04:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DELETE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195693#M1002904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use class CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_DELETE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as GUI_DELETE_FILE is obsolate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 04:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195693#M1002904</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-23T04:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DELETE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195694#M1002905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the value of sy-subrc and compare this value with that of the exception value. This way you should be able to know what the error is exactly.&lt;/P&gt;&lt;P&gt;Accordingly take the appropriate action.&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;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 04:21:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195694#M1002905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T04:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DELETE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195695#M1002906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already handled the exception explicitly. The sy-subrc is always 1 and  though the program continues to execute properly, I am unable to find any explanation for why sy-subrc is 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 04:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195695#M1002906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T04:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DELETE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195696#M1002907</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;did it using CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_DELETE and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 04:50:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195696#M1002907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T04:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_DELETE_FILE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195697#M1002908</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;&lt;/P&gt;&lt;P&gt;Before Delete the file check whether file is Exit or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like Below Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : existing type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method cl_gui_frontend_services=&amp;gt;file_exist&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          file   = filename&lt;/P&gt;&lt;P&gt;        receiving&lt;/P&gt;&lt;P&gt;          result = existing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  existing  is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function 'GUI_DELETE_FILE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If file is not there in yur system 'GUI_DELETE_FILE' not &lt;/P&gt;&lt;P&gt;excute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this not go to DUMP.&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;Durai.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 04:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-delete-file/m-p/4195697#M1002908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T04:58:15Z</dc:date>
    </item>
  </channel>
</rss>

