<?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: error while creating BAPI. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-bapi/m-p/1573503#M258907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mridul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u r creating the bapi first of all u have to define strucures of ur own in SE11,then u have to give the parameters in import,export and tables.Also u have to use structure bapiret2 to capture return messages in the tables parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example- i have created a structure for two fields as zstruct.and the fields r zfield1 and zfield2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in import paramaters u have to give like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 like zstruct-zfield1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for tables paramater u have to define like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return like BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRy like above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2006 10:04:50 GMT</pubDate>
    <dc:creator>former_member404244</dc:creator>
    <dc:date>2006-09-18T10:04:50Z</dc:date>
    <item>
      <title>error while creating BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-bapi/m-p/1573501#M258905</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;       We are trying to create a BAPI. I am getting the following errors during "Adding API methods" for the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The reference structure LFA1 of parameter LIFNR does not begin with BAPI.&lt;/P&gt;&lt;P&gt;2) The ref. structure VEN parameter ITAB does not begin with BAPI.&lt;/P&gt;&lt;P&gt;3) BAPI function does not have any return parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warning Message:&lt;/P&gt;&lt;P&gt;                The input help for field &amp;amp;2-&amp;amp;3 are not defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest the appropriate solution.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 09:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-bapi/m-p/1573501#M258905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T09:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: error while creating BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-bapi/m-p/1573502#M258906</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;Check for eg: BAPI  &amp;lt;b&amp;gt;BAPI_REQUISITION_CREATE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w.r.t how the Import,Export and Tables are defined for this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import deals with what we are passing to the FM, and Export deals with that of what is returned by FM. And in Tables, you have along with other tables (if any) RETURN like &amp;lt;b&amp;gt;BAPIRETURN&amp;lt;/b&amp;gt; which holds the return messages from the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 09:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-bapi/m-p/1573502#M258906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T09:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: error while creating BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-bapi/m-p/1573503#M258907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mridul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u r creating the bapi first of all u have to define strucures of ur own in SE11,then u have to give the parameters in import,export and tables.Also u have to use structure bapiret2 to capture return messages in the tables parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example- i have created a structure for two fields as zstruct.and the fields r zfield1 and zfield2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in import paramaters u have to give like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 like zstruct-zfield1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for tables paramater u have to define like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return like BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRy like above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 10:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-bapi/m-p/1573503#M258907</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-09-18T10:04:50Z</dc:date>
    </item>
  </channel>
</rss>

