<?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: Exception Class Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532039#M1750830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: auto; margin-bottom: auto; font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;I wonder if it is in fact catching the zcx_bw_sd_code exception and your uncaught exception is the one you're raising within the catch: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit; color: #575757;"&gt;CATCH zcx_bw_sd_code INTO gl_cx.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit; color: #575757;"&gt;gv_text = gl_cx-&amp;gt;get_text( ).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit; color: #575757;"&gt;monitor_rec-msgid = 'Z001'.&lt;BR /&gt;monitor_rec-msgty = 'I'.&lt;BR /&gt;monitor_rec-msgno = 040.&lt;BR /&gt;monitor_rec-msgv1 = gv_text.&lt;BR /&gt;APPEND monitor_rec TO MONITOR&lt;BR /&gt;&lt;STRONG&gt;RAISE EXCEPTION TYPE CX_RSROUT_ABORT.&lt;/STRONG&gt;&lt;BR /&gt;ENDTRY.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 21:10:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-18T21:10:52Z</dc:date>
    <item>
      <title>Exception Class Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532036#M1750827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Hi Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;I need some advice on why my exception is not getting caught. Here are the details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Exception Class:&amp;nbsp; ZCX_BW_SD_CODE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;class ZCX_BW_SD_CODE&lt;BR /&gt;definition&lt;BR /&gt;public&lt;BR /&gt;inheriting from CX_STATIC_CHECK&lt;BR /&gt;final&lt;BR /&gt;create public .&lt;BR /&gt;public section.&lt;BR /&gt;*"* public components of class ZCX_BW_SD_CODE&lt;BR /&gt;*"* do not include other source files here!!!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;constants ZCX_BW_SD_CODE type SOTR_CONC value '1F47B9514EDAE054E1000000AC13310E'.&lt;BR /&gt;"#EC NOTEXT&lt;BR /&gt;constants NO_DATA_SP type SOTR_CONC value '1F49B9514EDAE054E1000000AC13310E'. "#EC&lt;BR /&gt;NOTEXT&lt;BR /&gt;constants NO_ORDER_DATA_SP type SOTR_CONC value '2248B9514EDAE054E1000000AC13310E'.&lt;BR /&gt;"#EC NOTEXT&lt;BR /&gt;data REQUEST type RSREQUEST .&lt;BR /&gt;data PACKET type RSDATAPID .&lt;BR /&gt;data RECORD type RSARECORD .&lt;BR /&gt;data SDORDER type /BI0/OIDOC_NUMBER .&lt;BR /&gt;data SDORDERLINE type /BI0/OIS_ORD_ITEM .&lt;BR /&gt;data GT_BSARKSD type /BI0/OIGT_BSARKSD .&lt;BR /&gt;data DISTR_CHAN type /BI0/OIDISTR_CHAN .&lt;BR /&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Exception is raised in a method ZCL_BW_SD_CODE-&amp;gt;GET_ORDERS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;methods GET_ORDERS&lt;BR /&gt;importing&lt;BR /&gt;!I_T_SP type ANY TABLE&lt;BR /&gt;!I_PACKET type RSDATAPID&lt;BR /&gt;raising&lt;BR /&gt;resumable(ZCX_BW_SD_CODE) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;METHOD get_orders.&lt;BR /&gt;...&lt;BR /&gt;IF i_t_sp IS INITIAL.&lt;BR /&gt;RAISE EXCEPTION TYPE zcx_bw_sd_code&lt;BR /&gt;EXPORTING&lt;BR /&gt;textid = zcx_bw_sd_code=&amp;gt;no_data_sp&lt;BR /&gt;packet = i_packet.&lt;BR /&gt;ELSE.&lt;BR /&gt;...&lt;BR /&gt;ENDMETHOD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;I'm calling this method in the start routine of a BW 7.0 Transformation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;gl_cx &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;zcx_bw_sd_code&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gcl_sdcode &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;zcl_bw_sd_code&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;gv_text &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;....&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;* Load Sale Order&lt;BR /&gt;lookup table in SD code class&lt;BR /&gt;TRY.&lt;BR /&gt;CALL METHOD gcl_sdcode-&amp;gt;get_orders&lt;BR /&gt;EXPORTING&lt;BR /&gt;i_t_sp = SOURCE_PACKAGE[]&lt;BR /&gt;i_packet = datapackid.&lt;BR /&gt;* If there is no SD Order data selected than raise an error.&lt;BR /&gt;*Always need to have reference SD order data and data in Source Package.&lt;BR /&gt;&lt;BR /&gt;CATCH zcx_bw_sd_code INTO gl_cx. &lt;STRONG&gt;&amp;lt;-----NOT CATCHING THE EXCEPTION HERE&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;gv_text = gl_cx-&amp;gt;get_text( ).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;monitor_rec-msgid = 'Z001'.&lt;BR /&gt;monitor_rec-msgty = 'I'.&lt;BR /&gt;monitor_rec-msgno = 040.&lt;BR /&gt;monitor_rec-msgv1 = gv_text.&lt;BR /&gt;APPEND monitor_rec TO MONITOR&lt;BR /&gt;RAISE EXCEPTION TYPE CX_RSROUT_ABORT.&lt;BR /&gt;ENDTRY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;If I type gl_cx as cx_root the it catches but I'm not sure why it won't catch zcx_bw_sd_code.&amp;nbsp; Thank you in advance for any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Dae Jin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 19:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532036#M1750827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-18T19:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Class Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532037#M1750828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dae,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check the exception raised by program is type of &lt;SPAN style="color: #575757; font-family: &amp;amp;font-size;"&gt;ZCX_BW_SD_CODE&amp;nbsp; in debugger.I hope exception raised is different type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;font-size;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;font-size;"&gt;Sreeniavs.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 20:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532037#M1750828</guid>
      <dc:creator>former_member219762</dc:creator>
      <dc:date>2013-06-18T20:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Class Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532038#M1750829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeniavs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception is never caught at "CATCH zcx_bw_sd_code INTO gl_cx.".&amp;nbsp; It get's caught in the calling method of the start routine as cx_root.&amp;nbsp; I have my code in the start routine of a BW transformation.&amp;nbsp; Basically an exit in a SAP BW generated program where user code can be added.&amp;nbsp; So the calling method is:&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRY.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_r_log-&amp;gt;add_substep( 'ROUTS' ).&lt;/P&gt;&lt;P&gt;*&amp;lt;&amp;lt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rule ID: '47'.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _curr_rule-ruleid = '47'.&lt;BR /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Step ID: '1', Type: 'ROUTINE'.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _curr_rule-stepid = '1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL METHOD me-&amp;gt;start_routine&amp;nbsp;&amp;nbsp; &amp;lt;-----This method is where I write my code.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; request&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = l_request&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datapackid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = i_r_inbound-&amp;gt;n_datapakid&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; monitor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = _lt_msg_s&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHANGING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE_PACKAGE = &amp;lt;_yt_SC_1&amp;gt;.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;CATCH cx_root INTO lr_cx_root.&amp;nbsp; &amp;lt;---This is where the exception gets caught.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I change my declaration of gl_cx to "type ref to cx_root", and the catch line to "CATCH cx_root INTO gl_cx." then the line catches the exception but as errid "UNCAUGHT_EXCEPTION".&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/233231" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dae Jin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 20:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532038#M1750829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-18T20:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Class Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532039#M1750830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: auto; margin-bottom: auto; font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;I wonder if it is in fact catching the zcx_bw_sd_code exception and your uncaught exception is the one you're raising within the catch: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit; color: #575757;"&gt;CATCH zcx_bw_sd_code INTO gl_cx.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit; color: #575757;"&gt;gv_text = gl_cx-&amp;gt;get_text( ).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto; font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit; color: #575757;"&gt;monitor_rec-msgid = 'Z001'.&lt;BR /&gt;monitor_rec-msgty = 'I'.&lt;BR /&gt;monitor_rec-msgno = 040.&lt;BR /&gt;monitor_rec-msgv1 = gv_text.&lt;BR /&gt;APPEND monitor_rec TO MONITOR&lt;BR /&gt;&lt;STRONG&gt;RAISE EXCEPTION TYPE CX_RSROUT_ABORT.&lt;/STRONG&gt;&lt;BR /&gt;ENDTRY.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 21:10:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532039#M1750830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-18T21:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Class Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532040#M1750831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dae,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Change the exception class type as &lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;CX_NO_CHECK if possible or remove the raising clause in Get_order method definition.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;for more details &lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="active_link" href="http://help.sap.com/saphelp_nw04/helpdata/en/83/636d1712fc11d5991e00508b5d5211/frameset.htm" title="http://help.sap.com/saphelp_nw04/helpdata/en/83/636d1712fc11d5991e00508b5d5211/frameset.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/83/636d1712fc11d5991e00508b5d5211/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 22:02:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532040#M1750831</guid>
      <dc:creator>former_member219762</dc:creator>
      <dc:date>2013-06-18T22:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Class Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532041#M1750832</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;The code works.&amp;nbsp; For some reason when I debugged the 5 times it didn't catch the exception.&amp;nbsp; I then logged off and logged back on and then debugged again and the exception was caught.&amp;nbsp; I'm guessing something in the compiler, runtime and/or buffer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dae Jin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 22:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-class-help/m-p/9532041#M1750832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-18T22:25:53Z</dc:date>
    </item>
  </channel>
</rss>

