<?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 Raising exception in a BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-exception-in-a-bapi/m-p/5485728#M1255658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to create a wrapper remote enabled FM around the standard SAP FM - FI_PERIOD_DETERMINE .&lt;/P&gt;&lt;P&gt;I coped the import,export and even the exceptions from the standard FM and called FI_PERIOD_DETERMINE inside my wrapper BAPI. Will this work ? Can we raise exceptions in a wrapper remote enabled FM ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2009 17:54:15 GMT</pubDate>
    <dc:creator>former_member125661</dc:creator>
    <dc:date>2009-04-15T17:54:15Z</dc:date>
    <item>
      <title>Raising exception in a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-exception-in-a-bapi/m-p/5485728#M1255658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to create a wrapper remote enabled FM around the standard SAP FM - FI_PERIOD_DETERMINE .&lt;/P&gt;&lt;P&gt;I coped the import,export and even the exceptions from the standard FM and called FI_PERIOD_DETERMINE inside my wrapper BAPI. Will this work ? Can we raise exceptions in a wrapper remote enabled FM ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 17:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-exception-in-a-bapi/m-p/5485728#M1255658</guid>
      <dc:creator>former_member125661</dc:creator>
      <dc:date>2009-04-15T17:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Raising exception in a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-exception-in-a-bapi/m-p/5485729#M1255659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shareen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIs do not raise exceptions. They return the errors via the RETURN tables parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do one thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your wrapper BAPI - capture the messages of the exceptions raised by the standard FM and populate the RETURN table parameter of your BAPI (type BAPIRET2) with the exception text and type as E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your application calling the BAPI can read the RETURN in the other environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 18:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-exception-in-a-bapi/m-p/5485729#M1255659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T18:12:37Z</dc:date>
    </item>
  </channel>
</rss>

