<?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 in Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371674#M182878</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;Long texts are for help, what ever you maintain they will not come along with raise. you have to do it separately...like this..&lt;/P&gt;&lt;P&gt;when you want to raise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;message e000(zz) with 'no data found' raising no_data.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will do that,not long texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jun 2006 12:45:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-02T12:45:13Z</dc:date>
    <item>
      <title>Exception in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371669#M182873</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 one basic doubt.&lt;/P&gt;&lt;P&gt;I created one FM.&lt;/P&gt;&lt;P&gt;In that i writen Raise statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex; Raise Not_found.&lt;/P&gt;&lt;P&gt;and in the exception block i given the shorttext  and created longtext as partners are not found.&lt;/P&gt;&lt;P&gt;But when i exicute the FM it is displaying only Not_found.&lt;/P&gt;&lt;P&gt;not that text..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What may be the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body give some suggession&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 11:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371669#M182873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T11:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371670#M182874</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;Use MESSAGE .... RAISING stament to link a message to your excption:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE E208(00) with 'Not found' RAISING NOT_FOUND. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 11:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371670#M182874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T11:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371671#M182875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the exception which is raised has to be caught. if you are excuting the FM in SE37 then only the exception is raised. Call the function module in program in SE38, and then handle it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a instance&lt;/P&gt;&lt;P&gt;lp_object type ref to cx_root.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then catch the exception into the instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read the instance using get text and then move the value to a variable. The value which you retrieve in the variable will have the text which you had passed while raising the exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 11:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371671#M182875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T11:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371672#M182876</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;did you maintained the long text properly...&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 11:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371672#M182876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T11:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371673#M182877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.After creating the longtext i saved and activated it and it turned to green color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 12:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371673#M182877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T12:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371674#M182878</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;Long texts are for help, what ever you maintain they will not come along with raise. you have to do it separately...like this..&lt;/P&gt;&lt;P&gt;when you want to raise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;message e000(zz) with 'no data found' raising no_data.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will do that,not long texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 12:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-in-function-module/m-p/1371674#M182878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T12:45:13Z</dc:date>
    </item>
  </channel>
</rss>

