<?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: BAPI Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185290#M126994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kamlesh &lt;/P&gt;&lt;P&gt;plz go through the following proceedure if you are still not bale to solve it please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI: if your problem gets a solution plz do give the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI (business Application Programming Interface) is a precisely defined interface providing&lt;/P&gt;&lt;P&gt;access Process and data in business Application systems such as SAP/R3..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benefits of  BAPI.&lt;/P&gt;&lt;P&gt;Can be used in diverse languages/Development environments.&lt;/P&gt;&lt;P&gt;Can be called from divers platforms.&lt;/P&gt;&lt;P&gt;Reduced development costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO CREATE BAPI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step by Step Procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1: Define structure of BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step2 Write Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step3: Create the API method using BAPI Wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step4: Final Steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1: Define structure of BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this step structures for the parameters and tables of the Function module used for the BAPI are defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use T code SE11  -&amp;gt; Data Types-&amp;gt; structures ( create your structure according to your requirements).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important note:You will have to define a structure for every parameter in the BAPI. You cannot use the same structures used in existing applications because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step2: Write Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Each BAPI must have its own function group. &lt;/P&gt;&lt;P&gt;2. Under the attributes tab remember to select Processing Type Remote Enabled module, otherwise the function module cannot be invoked via RFC and used as BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Import/Export parameters can only be BY VALUE for an RFC enabled Function module.&lt;/P&gt;&lt;P&gt;Note: when we create a function module for BAPI we never fill any data in tabs of Exception and   changing. In Export tab we generally write ZBAPI like Returnbapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the Function module &amp;amp; release it using (ctr+F10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3: Create the API Method Using The BAPI WIZARD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. BAPI wizard is used to expose the remote function module as a BAPI .&lt;/P&gt;&lt;P&gt;2. Wizard will generate some additional code, so the function module is a valid method of the BOR.     &lt;/P&gt;&lt;P&gt;    This allows the BAPI to be called as a work flow method in addition to be called by an outside  &lt;/P&gt;&lt;P&gt;    program. &lt;/P&gt;&lt;P&gt;3. Each function module corresponds to a method in the BOR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the Business Object  Builder SWO1.&lt;/P&gt;&lt;P&gt;You can either create the new Object type as a subtype of an existing business object or  create new business object from scratch.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing all these steps then Generate the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jul 2006 10:33:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-29T10:33:16Z</dc:date>
    <item>
      <title>BAPI Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185286#M126990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I am trying to create one BAPI but when i try to release it it gives me information message that no default attribute is set for object type. and then it says BAPI could not be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me in solving this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kamesh Bathla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 04:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185286#M126990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-24T04:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185287#M126991</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;You don't need to release function modules. That's something for SAP, released FM should have a documentation and have better (or one at all) support by SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for custom FM a release just has no meaning - activation (generation) is all you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 07:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185287#M126991</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-01-24T07:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185288#M126992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;without releasing my BOR Method how can i generate the object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 08:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185288#M126992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-24T08:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185289#M126993</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;I am not clear of the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you let us know what you want to release?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Release a BUSINESS OBJECT?&lt;/P&gt;&lt;P&gt;Release a Business Object Method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The warning does come when your BO doesnt have any KEY FIELDS. And coming to Error, can you let us know more info about the error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Raja Sekhar&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 08:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185289#M126993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-24T08:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185290#M126994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kamlesh &lt;/P&gt;&lt;P&gt;plz go through the following proceedure if you are still not bale to solve it please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI: if your problem gets a solution plz do give the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI (business Application Programming Interface) is a precisely defined interface providing&lt;/P&gt;&lt;P&gt;access Process and data in business Application systems such as SAP/R3..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benefits of  BAPI.&lt;/P&gt;&lt;P&gt;Can be used in diverse languages/Development environments.&lt;/P&gt;&lt;P&gt;Can be called from divers platforms.&lt;/P&gt;&lt;P&gt;Reduced development costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO CREATE BAPI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step by Step Procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1: Define structure of BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step2 Write Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step3: Create the API method using BAPI Wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step4: Final Steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1: Define structure of BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this step structures for the parameters and tables of the Function module used for the BAPI are defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use T code SE11  -&amp;gt; Data Types-&amp;gt; structures ( create your structure according to your requirements).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important note:You will have to define a structure for every parameter in the BAPI. You cannot use the same structures used in existing applications because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step2: Write Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Each BAPI must have its own function group. &lt;/P&gt;&lt;P&gt;2. Under the attributes tab remember to select Processing Type Remote Enabled module, otherwise the function module cannot be invoked via RFC and used as BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Import/Export parameters can only be BY VALUE for an RFC enabled Function module.&lt;/P&gt;&lt;P&gt;Note: when we create a function module for BAPI we never fill any data in tabs of Exception and   changing. In Export tab we generally write ZBAPI like Returnbapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the Function module &amp;amp; release it using (ctr+F10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3: Create the API Method Using The BAPI WIZARD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. BAPI wizard is used to expose the remote function module as a BAPI .&lt;/P&gt;&lt;P&gt;2. Wizard will generate some additional code, so the function module is a valid method of the BOR.     &lt;/P&gt;&lt;P&gt;    This allows the BAPI to be called as a work flow method in addition to be called by an outside  &lt;/P&gt;&lt;P&gt;    program. &lt;/P&gt;&lt;P&gt;3. Each function module corresponds to a method in the BOR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the Business Object  Builder SWO1.&lt;/P&gt;&lt;P&gt;You can either create the new Object type as a subtype of an existing business object or  create new business object from scratch.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing all these steps then Generate the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2006 10:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error/m-p/1185290#M126994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-29T10:33:16Z</dc:date>
    </item>
  </channel>
</rss>

