<?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 handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/6669664#M1447694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Mar 2010 05:59:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-18T05:59:10Z</dc:date>
    <item>
      <title>exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/6669662#M1447692</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 have created exception class in my class and I have written try - catch in my program. WEhne an exception is raised, and the get text () is working fine in below code. &lt;/P&gt;&lt;P&gt;  TRY.&lt;/P&gt;&lt;P&gt;      CALL METHOD gr_PARK-&amp;gt;CHECK_BUKRS_KTOPL&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;    CATCH ZCX_CA into lr_error.&lt;/P&gt;&lt;P&gt;      lv_error_msg =  lr_error-&amp;gt;get_text( ).&lt;/P&gt;&lt;P&gt;      MESSAGE lv_error_msg TYPE 'E'.&lt;/P&gt;&lt;P&gt;  ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_error_msg has same text as specfied in exception class. &lt;/P&gt;&lt;P&gt;But its displaying different message. For example lv msg has value "Invalid company code" but the message displayed was "No vendot specified" . And the same text is coming for all messages. I have debugged also and seen then before message stmt execution sy-msg no is 000 but in message stmt execution it has been set as '001' and messge class is set to "00". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the soln for above problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 06:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/6669662#M1447692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T06:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/6669663#M1447693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It happens because of the wrong entry in the message 001 of message class 00. When you use the statement MESSAGE ... TYPE, system by default uses the message 001 of 00 to generate and display the message. If you see the same message in English, you would see "No Vendor Specified" and if you see the German translation, you would see &amp;amp;1&amp;amp;2&amp;amp;3&amp;amp;4&amp;amp;5&amp;amp;6&amp;amp;7&amp;amp;8. So, the correct value is &amp;amp;1&amp;amp;2&amp;amp;3&amp;amp;4&amp;amp;5&amp;amp;6&amp;amp;7&amp;amp;8 for that message. I guess there is an OSS note to correct that.&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>Tue, 09 Mar 2010 14:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/6669663#M1447693</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-03-09T14:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/6669664#M1447694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 05:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-handling/m-p/6669664#M1447694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-18T05:59:10Z</dc:date>
    </item>
  </channel>
</rss>

