<?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 catch error come from FM? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/2534315#M574975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   when calling a FM 'L_TO_CREATE_TR', a error 'Storage type xx does not allow negative stock figures' occurs, and the process popup E message text at status line, so the program is stoped ! &lt;/P&gt;&lt;P&gt;   while i want to process the error in program, how to do to avoid the ECC popup this error text when calling this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 03:06:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-17T03:06:43Z</dc:date>
    <item>
      <title>catch error come from FM?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/2534315#M574975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   when calling a FM 'L_TO_CREATE_TR', a error 'Storage type xx does not allow negative stock figures' occurs, and the process popup E message text at status line, so the program is stoped ! &lt;/P&gt;&lt;P&gt;   while i want to process the error in program, how to do to avoid the ECC popup this error text when calling this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 03:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/2534315#M574975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T03:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: catch error come from FM?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/2534316#M574976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi edgar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using sy-subrc, check where the error occurs in you code and then catch that exception using exception handling. Then you wont have this pop up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 06:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/2534316#M574976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T06:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: catch error come from FM?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/2534317#M574977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In you call function EXCEPTION add the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;ERROR_MESSAGE&amp;lt;/b&amp;gt;: This exception instructs the system to ignore S messages, I messages and W messages until return from the function module (although they still appear in the log during background processing). When an E message or an A message occurs, the called function module terminates, as if the exception &amp;lt;b&amp;gt;ERROR_MESSAGE&amp;lt;/b&amp;gt; has been triggered. &lt;/P&gt;&lt;P&gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;(...)
 EXCEPTIONS
   FOREIGN_LOCK                         = 1
   QM_RELEVANT                          = 2
   TR_COMPLETED                         = 3
   XFELD_WRONG                          = 4
   LDEST_WRONG                          = 5
   DRUKZ_WRONG                          = 6
   TR_WRONG                             = 7
   SQUIT_FORBIDDEN                      = 8
   NO_TO_CREATED                        = 9
   UPDATE_WITHOUT_COMMIT                = 10
   NO_AUTHORITY                         = 11
   PREALLOCATED_STOCK                   = 12
   PARTIAL_TRANSFER_REQ_FORBIDDEN       = 13
   ERROR_MESSAGE                        = 14
   OTHERS                               = 15.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You message will trigger the ERROR_MESSAGE exception and SY-SUBRC = 14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/2534317#M574977</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-07-17T07:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: catch error come from FM?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/13861958#M2030906</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks Raymond,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It is working. Great information&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Sep 2024 08:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-error-come-from-fm/m-p/13861958#M2030906</guid>
      <dc:creator>EvrimAkyuz</dc:creator>
      <dc:date>2024-09-11T08:29:16Z</dc:date>
    </item>
  </channel>
</rss>

