<?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 Exception handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/1017254#M80330</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;I need to react to JCO.ABAPExceptions thrown in an Javaclass in the ABAP RFC functionmodule.&lt;/P&gt;&lt;P&gt;I connect Java and ABAP by the SAP JCo RFC provider service.&lt;/P&gt;&lt;P&gt;I generate a new JCO.ABAPException with an exceptionclass that is defined in the functionmodule in ABAP (WRONG_INPUT). But sy-subrc is always the value for 'OTHERS'.&lt;/P&gt;&lt;P&gt;Where is my mistake? Does SAP JCo support this way of throwing Abap exceptions?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2005 09:29:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-08T09:29:26Z</dc:date>
    <item>
      <title>Exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/1017254#M80330</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;I need to react to JCO.ABAPExceptions thrown in an Javaclass in the ABAP RFC functionmodule.&lt;/P&gt;&lt;P&gt;I connect Java and ABAP by the SAP JCo RFC provider service.&lt;/P&gt;&lt;P&gt;I generate a new JCO.ABAPException with an exceptionclass that is defined in the functionmodule in ABAP (WRONG_INPUT). But sy-subrc is always the value for 'OTHERS'.&lt;/P&gt;&lt;P&gt;Where is my mistake? Does SAP JCo support this way of throwing Abap exceptions?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2005 09:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/1017254#M80330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-08T09:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/1017255#M80331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the function module is RFC Enabled, I am surprised that it allows Exceptions. All RFC Enabled function modules do not have exceptions thrown, instead they use internal tables like RETURN where the error messages are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I went the wrong direction or didn't understand your problem correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2005 09:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/1017255#M80331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-08T09:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/1017256#M80332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exceptions are allowed.&lt;/P&gt;&lt;P&gt;You can handle exceptions while using rfc functions. I do so in few function modules.&lt;/P&gt;&lt;P&gt;And the JCo seems to support this functionality, for in the direction J2EE=&amp;gt;ABAP you can distunguish between different exception classes but the other way round???&lt;/P&gt;&lt;P&gt;You can get the ABAP-name of the exception from java code but I need it vice versa when I call a EJB from ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2005 11:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/1017256#M80332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-08T11:25:00Z</dc:date>
    </item>
  </channel>
</rss>

