<?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 CATCH - ENDCATCH;  System Exception??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-endcatch-system-exception/m-p/2972188#M701500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. clarify couple of my simple doubt that,I got one statement from exsting Z FM, as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;1)   l_auart = /my_namespace/cl_l_order_type=&amp;gt;get_order_type( i_vbak-auart ).&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wht is happening in the above statemnt??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;method GET_ORDER_TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: l_auart type auart,&lt;/P&gt;&lt;P&gt;        l_exit  type ref to /my_namespace/if_ex_get_auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_auart = i_auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method cl_exithandler=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;         changing instance = l_exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not l_exit is initial.&lt;/P&gt;&lt;P&gt;    catch system-exceptions call_method_not_implemented = 1.&lt;/P&gt;&lt;P&gt;      call method l_exit-&amp;gt;get_auart&lt;/P&gt;&lt;P&gt;        changing&lt;/P&gt;&lt;P&gt;          c_auart = l_auart.&lt;/P&gt;&lt;P&gt;    endcatch.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read table G_ORDER_TYPE_ALL into e_data&lt;/P&gt;&lt;P&gt;             with key auart = l_auart.&lt;/P&gt;&lt;P&gt;endmethod.&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can  u explain, Wht is doing over here? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) CREATE OBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wht is the fnctionality of above statenmnt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 15:42:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-12T15:42:47Z</dc:date>
    <item>
      <title>CATCH - ENDCATCH;  System Exception???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-endcatch-system-exception/m-p/2972188#M701500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. clarify couple of my simple doubt that,I got one statement from exsting Z FM, as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;1)   l_auart = /my_namespace/cl_l_order_type=&amp;gt;get_order_type( i_vbak-auart ).&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wht is happening in the above statemnt??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;method GET_ORDER_TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: l_auart type auart,&lt;/P&gt;&lt;P&gt;        l_exit  type ref to /my_namespace/if_ex_get_auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_auart = i_auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method cl_exithandler=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;         changing instance = l_exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not l_exit is initial.&lt;/P&gt;&lt;P&gt;    catch system-exceptions call_method_not_implemented = 1.&lt;/P&gt;&lt;P&gt;      call method l_exit-&amp;gt;get_auart&lt;/P&gt;&lt;P&gt;        changing&lt;/P&gt;&lt;P&gt;          c_auart = l_auart.&lt;/P&gt;&lt;P&gt;    endcatch.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read table G_ORDER_TYPE_ALL into e_data&lt;/P&gt;&lt;P&gt;             with key auart = l_auart.&lt;/P&gt;&lt;P&gt;endmethod.&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can  u explain, Wht is doing over here? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) CREATE OBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wht is the fnctionality of above statenmnt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 15:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-endcatch-system-exception/m-p/2972188#M701500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T15:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: CATCH - ENDCATCH;  System Exception???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-endcatch-system-exception/m-p/2972189#M701501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the use of these statements, system will not give you the short dump if your mehtod get_auart is not implementd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;catch system-exceptions call_method_not_implemented = 1.
call method l_exit-&amp;gt;get_auart
changing
c_auart = l_auart.
endcatch.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATCH - ENDCATCH is used to avoid the short dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See online help for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 15:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-endcatch-system-exception/m-p/2972189#M701501</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-12T15:46:11Z</dc:date>
    </item>
  </channel>
</rss>

