<?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: Can we catch ASSERT error occuring in FM/BAPI? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374833#M1993852</link>
    <description>&lt;P&gt;perhaps do you have to use ERROR_MESSAGE exception in list of exceptions of function module... (I don't remenber if ASSERT error is managed as standard error message)&lt;BR /&gt;Try it.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 13:00:32 GMT</pubDate>
    <dc:creator>stanislaslemaire</dc:creator>
    <dc:date>2021-02-10T13:00:32Z</dc:date>
    <item>
      <title>Can we catch ASSERT error occuring in FM/BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374830#M1993849</link>
      <description>&lt;P&gt;I have tried to look for options on SDN but couldn't find any solution for this issue. We are using a standard FM and it's giving us ASSERT error. We are able to find the issue and correct it but for better management of errors ,we want to raise an error whenever a record is going in that issue but FM currently is going in dump, So is there any way we can catch the error e.g. by catching exceptions , so that we could display proper error for that record ?.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Vimal&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 11:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374830#M1993849</guid>
      <dc:creator>vimal</dc:creator>
      <dc:date>2021-02-10T11:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can we catch ASSERT error occuring in FM/BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374831#M1993850</link>
      <description>&lt;P&gt;do you try to call the BAPI in destination NONE ? &lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 11:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374831#M1993850</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-02-10T11:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can we catch ASSERT error occuring in FM/BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374832#M1993851</link>
      <description>&lt;P&gt;No , BAPI is called as normal FM(Call Function xyz).&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 12:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374832#M1993851</guid>
      <dc:creator>vimal</dc:creator>
      <dc:date>2021-02-10T12:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we catch ASSERT error occuring in FM/BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374833#M1993852</link>
      <description>&lt;P&gt;perhaps do you have to use ERROR_MESSAGE exception in list of exceptions of function module... (I don't remenber if ASSERT error is managed as standard error message)&lt;BR /&gt;Try it.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 13:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374833#M1993852</guid>
      <dc:creator>stanislaslemaire</dc:creator>
      <dc:date>2021-02-10T13:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can we catch ASSERT error occuring in FM/BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374834#M1993853</link>
      <description>&lt;P&gt;ASSERT means that the developer wants the program to short dump because the condition should never happen or because the program is called with wrong parameters and that should never happen. You should first investigate why this ASSERT condition is false.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 13:10:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374834#M1993853</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-02-10T13:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we catch ASSERT error occuring in FM/BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374835#M1993854</link>
      <description>&lt;P&gt;Yes, we have explored and found the issue but we want standard FM to return an error message for same rather than dumping on ASSERT statement. If that's not possible we have to put extra line of code for validation.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 16:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374835#M1993854</guid>
      <dc:creator>former_member708560</dc:creator>
      <dc:date>2021-02-10T16:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can we catch ASSERT error occuring in FM/BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374836#M1993855</link>
      <description>&lt;P&gt;No. Sorry. If you control the calling of the FM/BAPI, make that check yourself before the call...&lt;/P&gt;&lt;P&gt;Or is there something wrong or inconsistent with your data? ASSERTS are often used for situations that shouldn't occur... But of course that might not be the case here and if you have found the reason then you would know... &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 17:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-catch-assert-error-occuring-in-fm-bapi/m-p/12374836#M1993855</guid>
      <dc:creator>joltdx</dc:creator>
      <dc:date>2021-02-11T17:07:43Z</dc:date>
    </item>
  </channel>
</rss>

