<?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: SAP ABAP Object ERROR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037462#M85482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid there's no workaround to this. Just decide for one type of exception declaration in your method GET_DATA or your current method depending on where this error is reported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2005 09:42:01 GMT</pubDate>
    <dc:creator>thomas_szcs</dc:creator>
    <dc:date>2005-10-19T09:42:01Z</dc:date>
    <item>
      <title>SAP ABAP Object ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037461#M85481</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 GOT THESE TYPE OF ERROR IN THE EXCEPTION HANDLING IN THE CLASS BASED METHOD.,HERE I WRITE THE CODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD OL_OBJ-&amp;gt;GET_DATA&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                IM_VAL = 23&lt;/P&gt;&lt;P&gt;                IM_VAL1 = 34.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                CATCH ZCX_ERROR INTO LP_ZCX_ERROR.&lt;/P&gt;&lt;P&gt;                IF NOT LP_ZCX_ERROR IS INITIAL.&lt;/P&gt;&lt;P&gt;                RAISE EXCEPTION TYPE ZCX_ERROR&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                TEXTID = IP_ZCX_ERROR-&amp;gt;TEXTID&lt;/P&gt;&lt;P&gt;                NODE_TYPE = IM_NODE_TYPE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;I GOT THE THESE KIND OF ERROR &lt;/P&gt;&lt;P&gt; ERROR MESSAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Old and new exceptions cannot be used the same time.		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOU HAVE ANY IDEA&lt;/P&gt;&lt;P&gt;MEANS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;GG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 09:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037461#M85481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T09:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Object ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037462#M85482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid there's no workaround to this. Just decide for one type of exception declaration in your method GET_DATA or your current method depending on where this error is reported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 09:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037462#M85482</guid>
      <dc:creator>thomas_szcs</dc:creator>
      <dc:date>2005-10-19T09:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Object ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037463#M85483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess that the method OL_OBJ-&amp;gt;GET_DATA has a EXCEPTION in the definition.&lt;/P&gt;&lt;P&gt;It's not allowed to match class-based-exception and the this old exception concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I'm not wrong,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 09:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037463#M85483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T09:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Object ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037464#M85484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i am calling the method inside another method.,&lt;/P&gt;&lt;P&gt;i want to raise the exception when it fails.,&lt;/P&gt;&lt;P&gt;so that i am using the TRy endtry block&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 12:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037464#M85484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Object ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037465#M85485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is: Does the method called support class based exceptions? If not, you cannot catch them, but you should use old style exceptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, the next question is if the current method already has old style or class based excpetions? If it has old style exceptions you cannot raise a class based one, but you need to raise a old style one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, this clarifies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 12:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-object-error/m-p/1037465#M85485</guid>
      <dc:creator>thomas_szcs</dc:creator>
      <dc:date>2005-10-19T12:29:30Z</dc:date>
    </item>
  </channel>
</rss>

