<?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 How to develop a BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988070#M73445</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;&lt;/P&gt;&lt;P&gt;I got a requirement to develop a BAPI and call it from Visual Basic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please let me know how to develop a BAPI from scratch?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a simple example of addition of two numbers or some example which I can understand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly help !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2005 12:28:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-30T12:28:30Z</dc:date>
    <item>
      <title>How to develop a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988070#M73445</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;&lt;/P&gt;&lt;P&gt;I got a requirement to develop a BAPI and call it from Visual Basic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please let me know how to develop a BAPI from scratch?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a simple example of addition of two numbers or some example which I can understand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly help !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2005 12:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988070#M73445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-30T12:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988071#M73446</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;Some of the points are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Bapi is basically an RFC registered in BOR. So you have to implement ur code in a function module using se37&lt;/P&gt;&lt;P&gt;where in the attributes u have to choose remote call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. RFC's dont use exception hence dont raise any exception instead use a return parameter ( type bapireturn or bapiret2) and pass all the message and message related data ( message id, message number ) with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Implement the logic in RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Release the FM and register it in BOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the BAPI is available for external system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want detailed explanation i think its better u refer to sap documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2005 12:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988071#M73446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-30T12:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988072#M73447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed FM which is RFC enabled.&lt;/P&gt;&lt;P&gt;How do i registerd the developed FM in BOR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2005 12:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988072#M73447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-30T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988073#M73448</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;Once ur bapi is done..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to transaction SWO1 (O for Orange)&lt;/P&gt;&lt;P&gt;and create an object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the methods of the object type that is created. Create a new method, for example method called addnumber. When creating it will ask for a function module for which u can give this FM name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this u have to change the status from 'MODELLED' to 'IMPLEMENTED' and then release ur object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry i only know in bits, i hope my info is of any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharath kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2005 13:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988073#M73448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-30T13:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988074#M73449</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 VB it is possible to call "simple" RFC modules that are not BAPIs. Enhancing such a RFC toward a BAPI is - in my opinion - a lot of work and does not necessarily offer any benefits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since a BAPI is - more or less - simply an RFC module that has to keep certain requirements (no implicit COMMIT, return a BAPIRETx structure etc.), it should normally be enough to simply write an RFC enabled FM and call it from VB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my suggestion is: stick with your FM and don't bother turning it into a BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2005 13:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988074#M73449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-30T13:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988075#M73450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use VB for data migration for we have an interfaces being develoed in Bapi's. which we use to post data in SAP. get data from Access database and post data into SAP using BAPI's for which we developed the modules in Visual Basic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2005 15:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-a-bapi/m-p/988075#M73450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-30T15:20:27Z</dc:date>
    </item>
  </channel>
</rss>

