<?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: Capturing Raise_Exception error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987367#M1341827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Before supplying data to FM, you can have a validation check on the data.  If the data is in expected data format then submit it to FM other wise throw an error. - this is better to implement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you want to capture an exception. same validation check should be checked inside FM and then if it's wrong data format...then raise exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though there are many fields, we have to have this validation as even a single field can cause DUMP due to it's incorrect format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2009 07:09:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-14T07:09:30Z</dc:date>
    <item>
      <title>Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987365#M1341825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to avoid DUMP bcz of RAISE_EXCEPTION error.  I am using one function module to create Material Master. when ever there is a problem with some data format it is giving me the DUMP with raise_exception. There is no guarantee that every time client enters correct data. Even  he enters wrong data i need to give only ERROR MESSAGE instead of this DUMP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there are lot fields, i cant write the code to check each and every feild before creating material master. I need to give error message when ever there is RAISE_EXCEPTION condition instead of creating entry i n ST22.. So i need to capture this RAISE _EXCEPTION with in my progem only to give a ERROR Message indicatig 'Wrong Data Enterd'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Any ideas or suggesions. it's urgetn pls help.&lt;/P&gt;&lt;P&gt;                                                                                Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 07:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987365#M1341825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T07:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987366#M1341826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using CONVERSION_EXIT_ALPHA.xxxxxxxxxxxxxx?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After FM u can check sy-subrc &amp;amp; give the  message.&lt;/P&gt;&lt;P&gt;Do u want to give different messages for exceptions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pravin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 07:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987366#M1341826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T07:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987367#M1341827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Before supplying data to FM, you can have a validation check on the data.  If the data is in expected data format then submit it to FM other wise throw an error. - this is better to implement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you want to capture an exception. same validation check should be checked inside FM and then if it's wrong data format...then raise exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though there are many fields, we have to have this validation as even a single field can cause DUMP due to it's incorrect format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 07:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987367#M1341827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T07:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987368#M1341828</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;&lt;/P&gt;&lt;P&gt;This can be feasible by using the below statement.&lt;/P&gt;&lt;P&gt;Use this statement immediately next to your function module by deleting the existing EXCEPTIONS to that function module.&lt;/P&gt;&lt;P&gt;RECEIVE RESULTS FROM FUNCTION 'GUI_UPLOAD' &amp;nbsp;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;sy-subrc = 1.&lt;/P&gt;&lt;P&gt;error1 = exception1&lt;/P&gt;&lt;P&gt;sy-subrc = 2.&lt;/P&gt;&lt;P&gt;error2 = exception2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Mention all your exceptions here by correlating to your error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 07:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987368#M1341828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T07:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987369#M1341829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pravin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. you r rite. i am using CONVERSION_EXIT_ALFA_INPUT module. will it give any problems. Please tell me how to avoid this. i need to use that function moduel. shall i check the data format before calling that function module. i need just one message like 'Wrong Data' if exception occure. but it shouldn't crate entry in ST22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;                         Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 08:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987369#M1341829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T08:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987370#M1341830</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;Can you please answer a couple of questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. After execution of which func. module are you getting this runtime dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Are you handling the EXCEPTIONS of the func. module in your code. If yes, then you should not be getting this dump ( unless of course if you have used MESSAGE TYPE 'X' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 08:11:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987370#M1341830</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-08-14T08:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987371#M1341831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actucally i am using Web Service to call my RFC. There is no chance of using exception conditions here. But i am using following function modules in my RFC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALFA_INPUT,&lt;/P&gt;&lt;P&gt;TEXT_SPLIT,&lt;/P&gt;&lt;P&gt;SAVE_TEXT, CREATE_TEXT, CONVERTION_EXIT_PDATE_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually DUMP's are coming in Client Quality Syatem and i have no access to that system. i can't even see the DUMPS. but working fine in DEV server with no such errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are these function modules causing any problems?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                            Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 08:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987371#M1341831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T08:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Raise_Exception error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987372#M1341832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Actucally i am using Web Service to call my RFC. There is no chance of using exception conditions here. But i am using following function modules in my RFC. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; CONVERSION_EXIT_ALFA_INPUT,&lt;/P&gt;&lt;P&gt;&amp;gt; TEXT_SPLIT,&lt;/P&gt;&lt;P&gt;&amp;gt; SAVE_TEXT, CREATE_TEXT, CONVERTION_EXIT_PDATE_OUTPUT.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Actually DUMP's are coming in Client Quality Syatem and i have no access to that system. i can't even see the DUMPS. but working fine in DEV server with no such errors.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Are these function modules causing any problems?  &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check that you have handled the EXCEPTIONS (if any) for these FMs. If so you have to see the dumps &amp;amp; analyse. No point in shooting arrows in the dark. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask for QA access ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 08:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-raise-exception-error/m-p/5987372#M1341832</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-08-14T08:32:05Z</dc:date>
    </item>
  </channel>
</rss>

