<?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: Runtime Error : cl_gui_frontend_services file_copy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-cl-gui-frontend-services-file-copy/m-p/7554538#M1563784</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 may use ST22 and check which exception is beign raised under which scenarion.&lt;/P&gt;&lt;P&gt;Once you are ready with list of all Exceptions keep the Method call in TRY. ENDTRY. Block &lt;/P&gt;&lt;P&gt;and after the Method call use Catch Exception to catch all the possible exception into their Class Reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Preyansh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Dec 2010 10:27:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-23T10:27:22Z</dc:date>
    <item>
      <title>Runtime Error : cl_gui_frontend_services file_copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-cl-gui-frontend-services-file-copy/m-p/7554536#M1563782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the method cl_gui_frontend_services=&amp;gt;file_copy to copy file from one location to another location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when either of the input parameters are invalid, the program throws a short dump like path_not_found, access_denied, file_not_found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think internally, the program calls raise satement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to handle these exceptions in order to avoid runtime errors/short dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any exception class for all these type of exceptions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 10:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-cl-gui-frontend-services-file-copy/m-p/7554536#M1563782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-23T10:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error : cl_gui_frontend_services file_copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-cl-gui-frontend-services-file-copy/m-p/7554537#M1563783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have commented the exception parameters in the code, while calling the method. Uncomment those and handle them by checking sy-subrc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 10:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-cl-gui-frontend-services-file-copy/m-p/7554537#M1563783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-23T10:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error : cl_gui_frontend_services file_copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-cl-gui-frontend-services-file-copy/m-p/7554538#M1563784</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 may use ST22 and check which exception is beign raised under which scenarion.&lt;/P&gt;&lt;P&gt;Once you are ready with list of all Exceptions keep the Method call in TRY. ENDTRY. Block &lt;/P&gt;&lt;P&gt;and after the Method call use Catch Exception to catch all the possible exception into their Class Reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Preyansh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 10:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-cl-gui-frontend-services-file-copy/m-p/7554538#M1563784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-23T10:27:22Z</dc:date>
    </item>
  </channel>
</rss>

