<?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: Difference Between BAPI and RFM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214394#M474691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not having Exceptions and COMMIT WORK are standards followed in BAPI, but techinically one can create exceptions and COMMIT WORK in BAPIs, right ?&lt;/P&gt;&lt;P&gt;I mean does SAP stop us from doing them if we tried to do so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2007 08:45:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-08T08:45:50Z</dc:date>
    <item>
      <title>Difference Between BAPI and RFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214391#M474688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen a few thread explaining the difference between BAPI and RFM(Remote-enabled function Modules) from functional point of view. I know that there are cases when both are available in BOR. Both can be implement using Object Oriented Technology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any tell me how they differ from techincal point of view ? OR Are they same techinically ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 08:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214391#M474688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T08:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between BAPI and RFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214392#M474689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.Execptions not BAPI.&lt;/P&gt;&lt;P&gt;2.Comming work not in BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 08:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214392#M474689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T08:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between BAPI and RFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214393#M474690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically BAPIs and RFC-enabled function modules are the same. Importantly, both have absolutely NOTHING to do with object-oriented technology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a few differences between BAPIs and RFCs:&lt;/P&gt;&lt;P&gt;- BAPI does not throw any exceptions but returns the collected (error) messages&lt;/P&gt;&lt;P&gt;- BAPI usually does not do COMMIT WORK -&amp;gt; if no error message is returned call BAPI_TRANSACTION_COMMIT afterwards (in case of error BAPI_TRANSACTION_ROLLBACK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, BAPIs are much more scrupulous in validating the incoming data. For example, you may be able to find a RFC-function module that allows you to create a SAP user with a wrong title key that does not exist in the customizing tables. Although this is a minor error the BAPI will not allow you to create such a user but return an error message that the title key does not exist.&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, 08 May 2007 08:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214393#M474690</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-05-08T08:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between BAPI and RFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214394#M474691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not having Exceptions and COMMIT WORK are standards followed in BAPI, but techinically one can create exceptions and COMMIT WORK in BAPIs, right ?&lt;/P&gt;&lt;P&gt;I mean does SAP stop us from doing them if we tried to do so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 08:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214394#M474691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T08:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between BAPI and RFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214395#M474692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual way of calling a BAPI is:&lt;/P&gt;&lt;P&gt;(1) Call BAPI on remote system -&amp;gt; if successful then -&amp;gt; Call 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) Call BAPI on remote system -&amp;gt; if failed then -&amp;gt; Call 'BAPI_TRANSACTION_ROLLBACK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you intend to create your own BAPI (which, I believe, is nonsense) you can COMMIT WORK within your BAPI and you can raise exceptions but you should not do either of them because&lt;/P&gt;&lt;P&gt;- BAPIs are supposed to NOT commit work themselves&lt;/P&gt;&lt;P&gt;- the RFC connection will break down if you raise an exception within the BAPI&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, 08 May 2007 09:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214395#M474692</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-05-08T09:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between BAPI and RFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214396#M474693</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;Remote Function Call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC is an SAP interface protocol. &lt;/P&gt;&lt;P&gt;Based on CPI-C, it considerably simplifies the programming of communication processes between systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFCs enable you to call and execute predefined functions in a remote system - or even in the same system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFCs manage the communication process, parameter transfer and error handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&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;BAPI stands for Business API(Application Program Interface).&lt;/P&gt;&lt;P&gt;A BAPI is remotely enabled function module &lt;/P&gt;&lt;P&gt;ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..&lt;/P&gt;&lt;P&gt;You can make your function module remotely enabled in attributes of Function module but&lt;/P&gt;&lt;P&gt;A BAPI are standard SAP function modules provided by SAP for remote access.&lt;/P&gt;&lt;P&gt;Also they are part of Businees Objest Repository(BOR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. &lt;/P&gt;&lt;P&gt;You create business objects and those are then registered in your BOR (Business Object Repository) &lt;/P&gt;&lt;P&gt;which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA.&lt;/P&gt;&lt;P&gt; In this case u only specify the business object and its method from external system &lt;/P&gt;&lt;P&gt;in BAPI there is no direct system call. while RFC are direct system call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some BAPIs provide basic functions and can be used for most SAP business object types. &lt;/P&gt;&lt;P&gt;These BAPIs should be implemented the same for all business object types. &lt;/P&gt;&lt;P&gt;Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. &lt;/P&gt;&lt;P&gt;Whenever possible, a standardized BAPI must be used in preference to an individual BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 09:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214396#M474693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T09:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between BAPI and RFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214397#M474694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh&lt;/P&gt;&lt;P&gt;Some of the idifferences between BAPIs and RFM are:&lt;/P&gt;&lt;P&gt;1) BAPI can be invoked from anywhere while a RFM cannot.&lt;/P&gt;&lt;P&gt;2) BAPI does not COMMIT WORK.&lt;/P&gt;&lt;P&gt;3) BAPI doesn't throw an exception. Instead it collects error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 13:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-bapi-and-rfm/m-p/2214397#M474694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T13:57:39Z</dc:date>
    </item>
  </channel>
</rss>

