<?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: NOT_FOUND Exception in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716674#M1297413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try put a RAISE NOT_FOUND after the method call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2009 15:03:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-04T15:03:47Z</dc:date>
    <item>
      <title>NOT_FOUND Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716673#M1297412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(SRM 5.00)&lt;/P&gt;&lt;P&gt;Dear SDN,&lt;/P&gt;&lt;P&gt;please, how can I catch an exception NOT_FOUND, defined in the method GET_ENTITY_WITH_GUID of the class CL_CGPL_ENTITIES, if there is no exception TYPE defined for this exception, and the programs that call this method are all standard, and there is no treatment, in those programs, for catching this exception ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program, I've tried many different error treatments, but nothing works. Once inside that method, this exception crashes the program suddenly, giving no chances for treatment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On ST22, the description is:&lt;/P&gt;&lt;P&gt;"A RAISE statement in the program "CL_CGPL_ENTITIES==============CP" raised the exception condition "NOT_FOUND".&lt;/P&gt;&lt;P&gt;Since the exception was not intercepted by a superior program, processing was terminated."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea is welcome.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 02:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716673#M1297412</guid>
      <dc:creator>fabio_bellocchio</dc:creator>
      <dc:date>2009-06-03T02:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: NOT_FOUND Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716674#M1297413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try put a RAISE NOT_FOUND after the method call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 15:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716674#M1297413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T15:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: NOT_FOUND Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716675#M1297414</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;You're getting that dump because the excption NOT_FOUND is not managed in the program, but probably that means (if the program is std one) this execption shouldn't be triggered, it is not expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the method is called you should find:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD .....
   ......................
   EXCPTION
      NOT_FOUND = &amp;lt;number&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the developer supposes the execption should never triggered, he can omit it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it the program is your, you need to add the execption where u call the method, but if the method is called by a standard class you've a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 15:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716675#M1297414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T15:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: NOT_FOUND Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716676#M1297415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Max.&lt;/P&gt;&lt;P&gt;Definetly I have a problem.&lt;/P&gt;&lt;P&gt;Both programs (caller and called) are std.&lt;/P&gt;&lt;P&gt;I think there should be a catch or any other subsequent treatment, wherever there is a RAISE command, for preventing crashes, and specially for allowing the tracking of errors.&lt;/P&gt;&lt;P&gt;Anyway....&lt;/P&gt;&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;The problem has been solved by other ways.&lt;/P&gt;&lt;P&gt;(pts assigned)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 06:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-found-exception/m-p/5716676#M1297415</guid>
      <dc:creator>fabio_bellocchio</dc:creator>
      <dc:date>2009-06-05T06:03:50Z</dc:date>
    </item>
  </channel>
</rss>

