<?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: Is it possible to circumvent error message within a function module? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-circumvent-error-message-within-a-function-module/m-p/5977997#M1340350</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;Do not use Excerption Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead declare a variable or Structure at export parameter.&lt;/P&gt;&lt;P&gt;Which will return you error Description or Status of the FM.&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;Goto Se37 ---&amp;gt; key in FM name of yours.&lt;/P&gt;&lt;P&gt;Go to Table tab&lt;/P&gt;&lt;P&gt;At Parameter Name Column key in RETURN, Type as LIKE and Associate type as BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThankS &amp;amp; regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ShreeMohan Pugalia on Aug 10, 2009 12:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2009 10:28:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-10T10:28:13Z</dc:date>
    <item>
      <title>Is it possible to circumvent error message within a function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-circumvent-error-message-within-a-function-module/m-p/5977996#M1340349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to circumvent error message generation from within a function module? My program calls a FM (namely FKK_S_CADOCUMENT_WRITEOFF) to do some updates. However, in certain cases this FM throws error messages and terminates the whole process. I cannot control the aftermath because it never gets back to the calling program.It stops at the FM level and not at my program level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In essence, what I would like to do is to let the FM do its thing, generate some kind of exception (but no error message), come back to the calling program, and then I can capture the status in my program and do what is necessary from then on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 10:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-circumvent-error-message-within-a-function-module/m-p/5977996#M1340349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-10T10:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to circumvent error message within a function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-circumvent-error-message-within-a-function-module/m-p/5977997#M1340350</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;Do not use Excerption Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead declare a variable or Structure at export parameter.&lt;/P&gt;&lt;P&gt;Which will return you error Description or Status of the FM.&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;Goto Se37 ---&amp;gt; key in FM name of yours.&lt;/P&gt;&lt;P&gt;Go to Table tab&lt;/P&gt;&lt;P&gt;At Parameter Name Column key in RETURN, Type as LIKE and Associate type as BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThankS &amp;amp; regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ShreeMohan Pugalia on Aug 10, 2009 12:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 10:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-circumvent-error-message-within-a-function-module/m-p/5977997#M1340350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-10T10:28:13Z</dc:date>
    </item>
  </channel>
</rss>

