<?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: CATCH Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603583#M270981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting this error when the parameters of report is not enough. Such as the report that I want to run gets 5 obligatory parameters and if I pass 4 parameters, problem is occured. And also, when the function is run from dialog, the required fields are wanted automatically. But if this function is called from RFC problem is occured. And problem is so critic. The rfc caller is asp.net process and when this error is occured asp.net process is killed automatically. So, killing asp.net process is so critic.&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, 18 Oct 2006 12:04:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T12:04:32Z</dc:date>
    <item>
      <title>CATCH Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603579#M270977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I want to catch errors which are not shown in ST22. But I can see errors in sm21 as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R49 Communication error, CPIC return code 020, SAP return code 223&lt;/P&gt;&lt;P&gt;R5A &amp;gt; Conversation ID: 65932358                                   &lt;/P&gt;&lt;P&gt;R64 &amp;gt; CPI-C function: CMSEND(SAP)                                 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I catch this error? &lt;/P&gt;&lt;P&gt;Note : My App. Server is 4.6C&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, 18 Oct 2006 09:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603579#M270977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T09:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: CATCH Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603580#M270978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    You need to use &amp;lt;b&amp;gt;CATCH&amp;lt;/b&amp;gt; statement.&lt;/P&gt;&lt;P&gt;    For more detail do F1 on Catch in se38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    Reward points if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 09:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603580#M270978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T09:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: CATCH Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603581#M270979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Manish,&lt;/P&gt;&lt;P&gt;But problem is not easy as pressing F1.&lt;/P&gt;&lt;P&gt;I have already declared statement as:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CATCH SYSTEM-EXCEPTIONS RMC_COMMUNICATION_FAILURE = 1
  RMC_SYSTEM_FAILURE = 2 RMC_INVALID_STATUS = 3.
...
...
ENDCATCH.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I can not cath the error.&lt;/P&gt;&lt;P&gt;And I want to give more info abaout problem. There is one function that is used for RFC. And this code gives error,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SUBMIT (RAPOR) EXPORTING LIST TO MEMORY AND RETURN
               WITH SELECTION-TABLE PARAMETRELER.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When error occures I can not see error from ST22. I can see error from sm21 as declared my previous message. How can I cath this error?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 10:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603581#M270979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T10:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: CATCH Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603582#M270980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you elaborate in what context you are getting the error ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 11:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603582#M270980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: CATCH Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603583#M270981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting this error when the parameters of report is not enough. Such as the report that I want to run gets 5 obligatory parameters and if I pass 4 parameters, problem is occured. And also, when the function is run from dialog, the required fields are wanted automatically. But if this function is called from RFC problem is occured. And problem is so critic. The rfc caller is asp.net process and when this error is occured asp.net process is killed automatically. So, killing asp.net process is so critic.&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, 18 Oct 2006 12:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603583#M270981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T12:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: CATCH Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603584#M270982</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;with the catch statement you can only catch ABAP runtime errors (more precisely "catchable runtime errors"). Since you don't have a runtime error you'd better check the existence of the obligatory parameters before the call is made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;:bus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 12:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603584#M270982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T12:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: CATCH Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603585#M270983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right. Passing true parameters is default solution. But if this is not a catchable error, there is a problem. I think that this error must be catched. If you think that your server which your asp.net process is run is so important, any error deal with not enough obligataroy parameter will closed all of the application under asp.net process. I think that killing asp.net process is not normal. Maybe this problem will deal with Nco. But if not any satisfied answer is found, I think to open an OSS note.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 13:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error/m-p/1603585#M270983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T13:11:38Z</dc:date>
    </item>
  </channel>
</rss>

