<?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 bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3132615#M744236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This is lalitha i have got an error while creating "BAPI" &lt;/P&gt;&lt;P&gt;error" BAPI &amp;amp;1: BAPI function module&amp;amp; 2 has no return parameter &lt;/P&gt;&lt;P&gt;and another error " not to creat methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while entering T-code swo1  - after selecting methods in object type -&amp;gt; utilities - API METHODS-&amp;gt; Add modules.&lt;/P&gt;&lt;P&gt;How to solve&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2007 18:25:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-04T18:25:06Z</dc:date>
    <item>
      <title>bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3132615#M744236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This is lalitha i have got an error while creating "BAPI" &lt;/P&gt;&lt;P&gt;error" BAPI &amp;amp;1: BAPI function module&amp;amp; 2 has no return parameter &lt;/P&gt;&lt;P&gt;and another error " not to creat methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while entering T-code swo1  - after selecting methods in object type -&amp;gt; utilities - API METHODS-&amp;gt; Add modules.&lt;/P&gt;&lt;P&gt;How to solve&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2007 18:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3132615#M744236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-04T18:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3132616#M744237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lalitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can address one of your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are creating a BAPI which is a special kind of RFC-enabled function module the BAPI must have a RETURN parameter (either a structure or a table type, e.g. &amp;lt;b&amp;gt;BAPIRET2 &amp;lt;/b&amp;gt;or &amp;lt;b&amp;gt;BAPIRETTAB&amp;lt;/b&amp;gt;) in order to return messages to the caller of the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is such a RETURN parameter &amp;lt;i&amp;gt;mandatory&amp;lt;/i&amp;gt;?&lt;/P&gt;&lt;P&gt;BAPIs are usually used for &amp;lt;b&amp;gt;external &amp;lt;/b&amp;gt;access, thus they are called via RFC. If the BAPI would throw any exceptions this would cause the RFC connection to break down. As a consequence the caller has no idea what has happened.&lt;/P&gt;&lt;P&gt;Instead, BAPIs &amp;lt;b&amp;gt;collect &amp;lt;/b&amp;gt;all messages (in the RETURN parameter) and stop processing as soon as they encounter any AEX message (Abort, Error, Dump).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2007 20:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3132616#M744237</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-12-04T20:09:36Z</dc:date>
    </item>
  </channel>
</rss>

