<?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>Question Re: Abap Proxy exception Handling in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560696#M683433</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;If you are raising an exception in the finction module then you can catch them in the function module itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just assuming here that you have a sender proxy. so if you have an error then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. don't call the proxy&lt;/P&gt;&lt;P&gt;2. if its mandatory to send data to the soap then call proxy by updating some error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you avoid creating any dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, go through this RRL that gives you all the options:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Oct 2006 10:28:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-19T10:28:15Z</dc:date>
    <item>
      <title>Abap Proxy exception Handling</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaq-p/1560691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've implemented the following scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BPM Process where I've got a async receive (from a file receiver), a sync send (to an ABAP PROXY) and a send async (to a file sender).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is working great, I've catched 'Communication exceptions', and the proxy contemplates the necessary exception throwers too, but I'm now trying to Handle one specific exception. Imagine you force a dump, with a divide by zero in the proxy code...the proxy will dump and the XI gets a mapping exception (like is supposed to).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SAP:Code area="MAPPING"&amp;gt;EXCEPTION_DURING_EXECUTE&amp;lt;/SAP:Code&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SAP:P2&amp;gt;com.sap.aii.utilxi.misc.api.BaseRuntimeException&amp;lt;/SAP:P2&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;SAP:P3&amp;gt;RuntimeException in Message-Mapping transformatio~&amp;lt;/SAP:P3&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is, I want to catch this exception on the mapping and handle it, so the bpm process sends the handle response with the file sender.&lt;/P&gt;&lt;P&gt;I've looked to Alessandro Guarneri blog, but it's a little bit different, because I don't want to throw an exception but I'd like to handle it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guys help me with this question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 16:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaq-p/1560691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T16:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Abap Proxy exception Handling</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560692#M683429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys....can anyone give me any hint...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The divide by zero error is not the one that I've posted before, but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:Category&amp;gt;XIProxy&amp;lt;/SAP:Category&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:Code area="ABAP"&amp;gt;DYNAMIC_CALL_FAILURE&amp;lt;/SAP:Code&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P1&amp;gt;COMPUTE_INT_ZERODIVIDE&amp;lt;/SAP:P1&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P2&amp;gt;ZGDCCL_MI_POST_SAPREQ&amp;lt;/SAP:P2&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P3&amp;gt;EXECUTE_SYNCHRONOUS&amp;lt;/SAP:P3&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P4 /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:AdditionalText&amp;gt;Unable to execute the dynamic application call (kernel error ID COMPUTE_INT_ZERODIVIDE, class ZGDCCL_MI_POST_SAPREQ, method EXECUTE_SYNCHRONOUS)&amp;lt;/SAP:AdditionalText&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:ApplicationFaultMessage namespace="" /&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;I can catch this exception in the BPM, but only with a general exception text...I wanted to be more specific...is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Gonçalo Mouro Vaz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 08:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560692#M683429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Abap Proxy exception Handling</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560693#M683430</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;One option would be to try catching the exception in the Proxy itself.&lt;/P&gt;&lt;P&gt;I have not tried this myself but can u check out the code at the end if this is what u are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a1/082589fc4246f09793039d5fb01a17/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a1/082589fc4246f09793039d5fb01a17/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vijaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 09:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560693#M683430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T09:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Abap Proxy exception Handling</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560694#M683431</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; This will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="224054"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="209150"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="55812"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="221507"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="199745"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Agasthuri Doss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 10:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560694#M683431</guid>
      <dc:creator>agasthuri_doss</dc:creator>
      <dc:date>2006-10-17T10:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Abap Proxy exception Handling</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560695#M683432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to catch the exception like you said, on the proxy side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to conceive some real and feasible dumps scenarios and for that I'm forcing dumps, and catching exceptions. Divisions by zero was one of the examples.&lt;/P&gt;&lt;P&gt;For division by zero I was able to catch it with a cx_sy_no_handler exception, but I've another example which I'm not being able to catch it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sendind an message e001(zisa), which will exit automatically from the function module. Am I able to catch that message? Meaning, can I catch it and treat it, instead of the system exiting the function and showing the corresponding message?Is there any cx_* ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even better, on sxmb_moni I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand=""&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:Category&amp;gt;XIServer&amp;lt;/SAP:Category&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:Code area="INTERNAL"&amp;gt;HTTP_RESP_STATUS_CODE_NOT_OK&amp;lt;/SAP:Code&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P1&amp;gt;500&amp;lt;/SAP:P1&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P2&amp;gt;Internal Server Error&amp;lt;/SAP:P2&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P3 /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:P4 /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:AdditionalText&amp;gt;&amp;lt;html&amp;gt; &amp;lt;body&amp;gt; &amp;lt;H1&amp;gt; 500 SAP Internal Server Error &amp;lt;/H1&amp;gt; &amp;lt;B&amp;gt; Error message: &amp;lt;/B&amp;gt; O centro nao existe ou nao esta preenchido. ( &amp;lt;B&amp;gt; type of termination: &amp;lt;/B&amp;gt; ERROR_MESSAGE_STATE ) &amp;lt;BR /&amp;gt; &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;&amp;lt;/SAP:AdditionalText&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:ApplicationFaultMessage namespace="" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:Stack&amp;gt;HTTP response contains status code 500 with the description Internal Server Error Error when sending by HTTP (error code: 500, error text: Internal Server Error)&amp;lt;/SAP:Stack&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:Retry&amp;gt;N&amp;lt;/SAP:Retry&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/SAP:Error&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the SOAP adapter receives something. If it's not possible to catch this exception on the abap proxy side, can I catch and map that soap adapter error text on the BPM side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for all of your attention&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 10:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560695#M683432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T10:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Abap Proxy exception Handling</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560696#M683433</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;If you are raising an exception in the finction module then you can catch them in the function module itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just assuming here that you have a sender proxy. so if you have an error then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. don't call the proxy&lt;/P&gt;&lt;P&gt;2. if its mandatory to send data to the soap then call proxy by updating some error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you avoid creating any dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, go through this RRL that gives you all the options:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 10:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560696#M683433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Abap Proxy exception Handling</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560697#M683434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;relating to your first question. Yes, I'm forcing a dump in the function module but I don't know what type of exception is, so that I can catch it. &lt;/P&gt;&lt;P&gt;I want to catch that exception so that I can raise the ABAP proxy exception, and XI gets it as an exception and not as an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how can I catch this exceptions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 16:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-proxy-exception-handling/qaa-p/1560697#M683434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T16:36:28Z</dc:date>
    </item>
  </channel>
</rss>

