<?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 - Behaviour in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-behaviour/m-p/844036#M44831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an exception is raised in a function mdoule or method of a class, the interface parameters which are passed by reference keep their values at the point of time when the exception is raised. The parameters passed by value lose their content in case of an exception.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sükrü&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2005 12:04:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-14T12:04:15Z</dc:date>
    <item>
      <title>Exception - Behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-behaviour/m-p/844034#M44829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have user exit fm EXIT_SAPLCVALE_001 which has i_msg_txt as a changing variable (Pass by value).&lt;/P&gt;&lt;P&gt;If I assign i_msg_txt within the user exit, the value is reflected back in the calling program in normal cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if i assign the i_msg_txt and then throw an exception, the assignment does not happen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this normal behaviour ? why ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What all happens once an exception is raised ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prashanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 11:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-behaviour/m-p/844034#M44829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T11:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exception - Behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-behaviour/m-p/844035#M44830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you raise an exception no output-data will &lt;/P&gt;&lt;P&gt;be filled. This is the way it works.&lt;/P&gt;&lt;P&gt;Better way is to define a additiaonal parameter&lt;/P&gt;&lt;P&gt;like RET_CODE or something else and fill it, in case of&lt;/P&gt;&lt;P&gt;an error.&lt;/P&gt;&lt;P&gt;In your case (Userexit) it will not work, becouse you cannot change the parameter-structure.&lt;/P&gt;&lt;P&gt;Well try to give the user a message instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 11:57:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-behaviour/m-p/844035#M44830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T11:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exception - Behaviour</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-behaviour/m-p/844036#M44831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an exception is raised in a function mdoule or method of a class, the interface parameters which are passed by reference keep their values at the point of time when the exception is raised. The parameters passed by value lose their content in case of an exception.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sükrü&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 12:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-behaviour/m-p/844036#M44831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T12:04:15Z</dc:date>
    </item>
  </channel>
</rss>

