<?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 Error while defining BAPI method in the BOR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-defining-bapi-method-in-the-bor/m-p/5376770#M1236779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am following a document and trying to learn BAPIs. Now, after an object type is created through SWO1, from Utilities -&amp;gt; API Methods -&amp;gt; Add Method, I am asked to enter a function module name. Shouldthis FM be already existing one? When I gave some name there and entered, it's giving an error&lt;/P&gt;&lt;P&gt;BAPI : BAPI function module ZBAPI_GET_BILL_ITEMS has no return parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;The system checks that the RETURN parameter has been defined in both the BOR and in the function module. The parameter must refer to one of the BAPI return structures (all planned reference structures can be used for BAPIs up to and including Release 4.6B; but from Release 4.6C only BAPIRET2 can be used).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BOR parameter must be type EXPORT (one line or multi-line) and the function module parameter must be type EXPORT (if one line) or type TABLE (if multi-line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;Create a RETURN parameter for the function module. Also define the reference of the BOR parameters to the function module parameter in the BOR ("Name in function module").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that only incompatible changes can be made to BAPIs already released and delivered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find out about enhancing or modifying BAPIs that have already been delivered by calling the BAPI Explorer (Tools -&amp;gt; BusinessFramework -&amp;gt; BAPI Explorer) and reading the project form "Project to change an existing BAPI".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me out, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2009 05:00:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-30T05:00:01Z</dc:date>
    <item>
      <title>Error while defining BAPI method in the BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-defining-bapi-method-in-the-bor/m-p/5376770#M1236779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am following a document and trying to learn BAPIs. Now, after an object type is created through SWO1, from Utilities -&amp;gt; API Methods -&amp;gt; Add Method, I am asked to enter a function module name. Shouldthis FM be already existing one? When I gave some name there and entered, it's giving an error&lt;/P&gt;&lt;P&gt;BAPI : BAPI function module ZBAPI_GET_BILL_ITEMS has no return parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;The system checks that the RETURN parameter has been defined in both the BOR and in the function module. The parameter must refer to one of the BAPI return structures (all planned reference structures can be used for BAPIs up to and including Release 4.6B; but from Release 4.6C only BAPIRET2 can be used).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BOR parameter must be type EXPORT (one line or multi-line) and the function module parameter must be type EXPORT (if one line) or type TABLE (if multi-line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;Create a RETURN parameter for the function module. Also define the reference of the BOR parameters to the function module parameter in the BOR ("Name in function module").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that only incompatible changes can be made to BAPIs already released and delivered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find out about enhancing or modifying BAPIs that have already been delivered by calling the BAPI Explorer (Tools -&amp;gt; BusinessFramework -&amp;gt; BAPI Explorer) and reading the project form "Project to change an existing BAPI".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me out, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 05:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-defining-bapi-method-in-the-bor/m-p/5376770#M1236779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T05:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while defining BAPI method in the BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-defining-bapi-method-in-the-bor/m-p/5376771#M1236780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you have to enter existing FM name.&lt;/P&gt;&lt;P&gt;Declare one Return parameter, &lt;/P&gt;&lt;P&gt;RETURN	LIKE	BAPIRET2	Return Code&lt;/P&gt;&lt;P&gt;For BAPI this is mandator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 05:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-defining-bapi-method-in-the-bor/m-p/5376771#M1236780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T05:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error while defining BAPI method in the BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-defining-bapi-method-in-the-bor/m-p/5376772#M1236781</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;In the export of that fm u have to give this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter name typing   associated type&lt;/P&gt;&lt;P&gt;RETURN        TYPE            BAPIRETURN       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 05:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-defining-bapi-method-in-the-bor/m-p/5376772#M1236781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T05:34:22Z</dc:date>
    </item>
  </channel>
</rss>

