<?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: RFC and  bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213527#M766128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC is nothing but a Function Module which can be called REMOTELY. i.e. Remote enable Function Module is RFC.&lt;/P&gt;&lt;P&gt;You can create your own RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI also can be called remotely &amp;amp; provided by SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 12:42:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-12T12:42:51Z</dc:date>
    <item>
      <title>RFC and  bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213526#M766127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;        pls give me answer &lt;/P&gt;&lt;P&gt;        what are the diferences  between RFC and  BAPI ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 12:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213526#M766127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T12:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: RFC and  bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213527#M766128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC is nothing but a Function Module which can be called REMOTELY. i.e. Remote enable Function Module is RFC.&lt;/P&gt;&lt;P&gt;You can create your own RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI also can be called remotely &amp;amp; provided by SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 12:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213527#M766128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T12:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: RFC and  bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213528#M766129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check the links,&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="38616"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="192106"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 12:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213528#M766129</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2007-12-12T12:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: RFC and  bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213529#M766130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there are images in this attachment, they will not be displayed.  Download the original attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objectives&lt;/P&gt;&lt;P&gt;&amp;#149; To introduce the concepts of Remote function calls ( RFC&amp;#146;s)&lt;/P&gt;&lt;P&gt;&amp;#149; RFC Basics&lt;/P&gt;&lt;P&gt;&amp;#149; Calling remote function modules&lt;/P&gt;&lt;P&gt;&amp;#149; Writing remote function modules&lt;/P&gt;&lt;P&gt;&amp;#149; Maintaining remote destinations&lt;/P&gt;&lt;P&gt;&amp;#149; To understand about ABAP queries and the difference between&lt;/P&gt;&lt;P&gt;ABAP reports and queries&lt;/P&gt;&lt;P&gt;&amp;#149; To get acquainted with BAPI&amp;#146;s ( Business Application&lt;/P&gt;&lt;P&gt;Programming Interface )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC ( Remote Function calls )&lt;/P&gt;&lt;P&gt;Basics&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;A remote function call is a call to a function module running in a&lt;/P&gt;&lt;P&gt;system different from the caller's. The remote function can also&lt;/P&gt;&lt;P&gt;be called from within the same system (as a remote call).&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;RFC consists of two interfaces : A calling interface for ABAP&lt;/P&gt;&lt;P&gt;Programs and a calling interface for Non-SAP programs.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Any ABAP program can call a remote function using the CALL&lt;/P&gt;&lt;P&gt;FUNCTION...DESTINATION statement. The DESTINATION&lt;/P&gt;&lt;P&gt;parameter tells the SAP System that the called function runs in&lt;/P&gt;&lt;P&gt;a system other than the caller's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC CLIENT and RFC SERVER&lt;/P&gt;&lt;P&gt;RFC client is the instance that calls up the Remote Function Call to&lt;/P&gt;&lt;P&gt;execute the function that is provided by an RFC server.&lt;/P&gt;&lt;P&gt;The RFC Interface takes care of :-&lt;/P&gt;&lt;P&gt;- Converting all parameter data to the representation needed in the&lt;/P&gt;&lt;P&gt;remote system&lt;/P&gt;&lt;P&gt;- Calling the communication routines needed to talk to the remote&lt;/P&gt;&lt;P&gt;system.&lt;/P&gt;&lt;P&gt;- Handling communications errors, and notifying the caller, if desired (&lt;/P&gt;&lt;P&gt;using EXCEPTIONS paramater of the CALL FUNCTION).&lt;/P&gt;&lt;P&gt;Calling Remote function modules&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;You can use the CALL FUNCTION statement to call remote&lt;/P&gt;&lt;P&gt;functions by including an additional DESTINATION clause.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;#145;remotefunction&amp;#146;&lt;/P&gt;&lt;P&gt;DESTINATION dest&lt;/P&gt;&lt;P&gt;EXPORTING f1 =&lt;/P&gt;&lt;P&gt;IMPORTING f2 =&lt;/P&gt;&lt;P&gt;TABLES t1 =&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;The field &amp;#145;dest&amp;#146; can be either a literal or a variable. Logical&lt;/P&gt;&lt;P&gt;destinations are defined in the RFCDES table via transaction SM59&lt;/P&gt;&lt;P&gt;or via the menu path: Tools -&amp;gt;Administration,Administration-&lt;/P&gt;&lt;P&gt;&amp;gt;Network-&amp;gt;RFC destinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Calling remote functions locally :-&lt;/P&gt;&lt;P&gt;( i.e. call a remote function within the same system )&lt;/P&gt;&lt;P&gt;The two options to do this are &amp;#150;&lt;/P&gt;&lt;P&gt;&amp;#149; CALL FUNCTION...DESTINATION = 'NONE'&lt;/P&gt;&lt;P&gt;&amp;#149; CALL FUNCTION... &lt;A href="no DESTINATION used"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Calling remote function modules BACK :-&lt;/P&gt;&lt;P&gt;The remote function can invoke its own caller (if the caller is itself a&lt;/P&gt;&lt;P&gt;function module), or any function module loaded with the caller.&lt;/P&gt;&lt;P&gt;You can trigger this call-back mechanism using&lt;/P&gt;&lt;P&gt;CALL FUNCTION... DESTINATION 'BACK&amp;#145;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types of RFC&amp;#146;s&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Synchronous RFC &amp;#150; The calling program continues the execution&lt;/P&gt;&lt;P&gt;only after the called function is complete.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Asynchronous RFC - The calling program continues the execution&lt;/P&gt;&lt;P&gt;without waiting for return from the called function.&lt;/P&gt;&lt;P&gt;Eg: CALL FUNCTION &amp;#145;remotefunction&amp;#146; STARTING NEW TASK&lt;/P&gt;&lt;P&gt;&amp;#145;taskname&amp;#146;.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Transactional RFC - The called function module is executed exactly&lt;/P&gt;&lt;P&gt;once in the RFC server system.Each function call is seen as a&lt;/P&gt;&lt;P&gt;transaction in the target system. Transactional RFCs use the suffix IN&lt;/P&gt;&lt;P&gt;BACKGROUND TASK .&lt;/P&gt;&lt;P&gt;Eg : CALL FUNCTION &amp;#145;remotefunction&amp;#146; IN BACKGROUND&lt;/P&gt;&lt;P&gt;TASK&lt;/P&gt;&lt;P&gt;Writing remote function modules&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;In the function module attributes tab (transaction code SE37), set&lt;/P&gt;&lt;P&gt;the processing type as Remote-enabled module to create a remote&lt;/P&gt;&lt;P&gt;function module.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Write the code for the function module.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Define the destination of the RFC server in the RFC client system&lt;/P&gt;&lt;P&gt;that calls the remote function ( via SM59 transaction).&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Declaring Parameters: All parameter fields for a remote function&lt;/P&gt;&lt;P&gt;module must be defined as reference fields, that is, like ABAP&lt;/P&gt;&lt;P&gt;Dictionary fields.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Exceptions: The system raises COMMUNICATION_FAILURE&lt;/P&gt;&lt;P&gt;and SYSTEM_FAILURE internally. You can raise exceptions in a&lt;/P&gt;&lt;P&gt;remote function just as you would in a locally called function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Writing remote function modules&lt;/P&gt;&lt;P&gt;writing remote function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging Remote function calls&lt;/P&gt;&lt;P&gt;&amp;#149; It is not possible to debug a remote function call to another system.&lt;/P&gt;&lt;P&gt;&amp;#149; However, when testing ABAP-to-ABAP RFC calls, you can use the&lt;/P&gt;&lt;P&gt;ABAP debugger to monitor the execution of the RFC function in the&lt;/P&gt;&lt;P&gt;remote system.&lt;/P&gt;&lt;P&gt;&amp;#149; With remote calls, the ABAP debugger (including the debugging&lt;/P&gt;&lt;P&gt;interface) runs on the local system. Data values and other run&lt;/P&gt;&lt;P&gt;information for the remote function are passed in from the remote&lt;/P&gt;&lt;P&gt;system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI&amp;#146;s&lt;/P&gt;&lt;P&gt;What -&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;BAPIs are standardized programming interfaces (methods) enabling&lt;/P&gt;&lt;P&gt;external applications to access business processes and data in the R/3&lt;/P&gt;&lt;P&gt;System.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;BAPIs provide stable and standardized methods to achieve seamless&lt;/P&gt;&lt;P&gt;integration between the R/3 System and external applications, legacy&lt;/P&gt;&lt;P&gt;systems and add-ons.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;BAPIs are defined in the BOR(Business object repository) as&lt;/P&gt;&lt;P&gt;methods of SAP business object types that carry out specific business&lt;/P&gt;&lt;P&gt;functions.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;BAPIs are implemented as RFC-enabled function modules and are&lt;/P&gt;&lt;P&gt;created in the Function Builder of the ABAP Workbench.&lt;/P&gt;&lt;P&gt;BAPI Explorer- ( Transaction :- BAPI )&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;The BAPI Explorer is the R/3 System working environment for&lt;/P&gt;&lt;P&gt;developing BAPIs.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;A BAPI interface is defined by:&lt;/P&gt;&lt;P&gt;-Import parameters&lt;/P&gt;&lt;P&gt;-Export parameters&lt;/P&gt;&lt;P&gt;-Import/export (table) parameters&lt;/P&gt;&lt;P&gt;Each function module underlying a BAPI:&lt;/P&gt;&lt;P&gt;· Supports the Remote Function Call (RFC) protocol&lt;/P&gt;&lt;P&gt;· Has been assigned as a method to an SAP Business Object in the BOR&lt;/P&gt;&lt;P&gt;· Is processed without returning any screen dialogs to the calling&lt;/P&gt;&lt;P&gt;application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI Programming&lt;/P&gt;&lt;P&gt;The process of defining and implementing a BAPI consists of the&lt;/P&gt;&lt;P&gt;following steps&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Describing the Scenario the BAPI is Used in&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Reviewing the BAPI Concept and BAPI Scenario&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Defining a BAPI and Its Interface&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Creating Individual Programming Objects&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Testing the BAPI&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Releasing and Freezing the BAPI .&lt;/P&gt;&lt;P&gt;Some BAPIs and methods provide basic functions and can be used for&lt;/P&gt;&lt;P&gt;most SAP Business Objects.These are called STANDARDIZED&lt;/P&gt;&lt;P&gt;BAPI&amp;#146;s.&lt;/P&gt;&lt;P&gt;Standardized BAPIs&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;BAPIs for Reading Data&lt;/P&gt;&lt;P&gt;GetList() , GetDetail() , GetStatus() , ExistenceCheck()&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;BAPIs for Creating or Changing Data&lt;/P&gt;&lt;P&gt;Create() or CreateFromData(),Change(),Delete() and Undelete() ,&lt;/P&gt;&lt;P&gt;Cancel() ,Addsales order.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Step 2: Refer to the documentation of the method to know how to use&lt;/P&gt;&lt;P&gt;the BAPI.&lt;/P&gt;&lt;P&gt;Eg : In order to create a sales order, select the BAPI CreateFromDat2.&lt;/P&gt;&lt;P&gt;(BAPI_SALESORDER_CREATEFROMDAT1).&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Step 3: Simulate the desired output using SE37 transaction. Do&lt;/P&gt;&lt;P&gt;sample testing with the function module found. SAP does not specify&lt;/P&gt;&lt;P&gt;flag population part to control the update. That you can achieve by&lt;/P&gt;&lt;P&gt;some trial run of the function module.&lt;/P&gt;&lt;P&gt;&amp;#149; Example :&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;all function &amp;#145;BAPI_SALESORDER_CREATEFROMDAT1&amp;#146;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;Order_header_in = s_order_header&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;Salesdocument = w_sales_docno&lt;/P&gt;&lt;P&gt;Return = s_return&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;Order_items_in = t_order_item&lt;/P&gt;&lt;P&gt;Order_partners = t_order_partner&lt;/P&gt;&lt;P&gt;Order_item_out = t_order_item_out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, in the &amp;#145;s_order_header&amp;#146; structure we fill all the header data of&lt;/P&gt;&lt;P&gt;the sales order to be created.&lt;/P&gt;&lt;P&gt;Eg:- s_order_header-sales_org = &amp;#145;FR03&amp;#146;,&lt;/P&gt;&lt;P&gt;s_order_header_distr_chan = &amp;#146;01&amp;#146;. Etc..&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;In t_order_item table we fill all the item data of the sales order, eg.&lt;/P&gt;&lt;P&gt;T_order_item-material = &amp;#145;M13321&amp;#146;,&lt;/P&gt;&lt;P&gt;T_order_item-plant = &amp;#145;0033&amp;#146;.&lt;/P&gt;&lt;P&gt;append t_order_item.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Similarly we fill, t_order_item_out,t_order_partner tables.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;In the structure s_return, we will get the return messages from the&lt;/P&gt;&lt;P&gt;BAPI , eg. &amp;#145;Sales order created successfully&amp;#146; or&lt;/P&gt;&lt;P&gt;&amp;#145;Error in item &amp;#145;020&amp;#146;&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the BAPI is successful, the number of the sales order created will&lt;/P&gt;&lt;P&gt;be returned in the field, &amp;#145;w_sales_docno&amp;#146;.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Once , the BAPI is successful, to commit the changes to the&lt;/P&gt;&lt;P&gt;database, we must use the function module,&lt;/P&gt;&lt;P&gt;&amp;#145;BAPI_TRANSACTION_COMMIT&amp;#146;.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Eg,&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;#145;BAPI_TRANSACTION_COMMIT&amp;#146;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;wait = &amp;#145;X&amp;#146;.&lt;/P&gt;&lt;P&gt;&amp;#149;&lt;/P&gt;&lt;P&gt;Thus, we can create a sales order, using the appropriate BAPI, and&lt;/P&gt;&lt;P&gt;similarly, we can use BAPI&amp;#146;s for many other applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm | &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/&lt;/A&gt;&lt;/P&gt;&lt;SPAN __jive_macro_name="code"&gt;
en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm]

[http://help.sap.com/saphelp_nw04/helpdata/en/5c/f3f0371bc15d73e10000009b38f8cf/frameset.htm | http://help.sap.com/saphelp_nw04/helpdata/en/5c/f3f0371bc15d73e10000009b38f8cf/frameset.htm]

&lt;/SPAN&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa"&gt;http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u like my work plz reward me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Trupti Zanwar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 12:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213529#M766130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T12:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: RFC and  bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213530#M766131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi giridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check it out these answers.&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. 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;another points,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI is object oriented. It is placed under Business objects as methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC is just a Function module or a call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC: is just a FM that can be called from remote system too(destination defined in transaction SM59).&lt;/P&gt;&lt;P&gt;******************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI: Business Application Programming Interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A BAPI is a method of a business object defined in the Business Object Repository (BOR). For example, in the BOR, you can find a business object called SalesOrder, which conceptually represents a sales order in the system. A business object typically has several methods that can be used to read, create, modify a particular instance of the business object, or list instances of the business object matching certain selection criteria. These methods are BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically, a BAPI is implemented using a RFM. But, unlike the non-BAPI RFMs, a BAPI is usually well documented, has nicer parameter names, and is supported by SAP for several SAP software releases. You can browse Business objects and BAPIs in the SAP system using transaction BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sakthi C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;&lt;/STRONG&gt;&lt;DEL&gt;&lt;STRONG&gt;Rewards if useful&lt;/STRONG&gt;&lt;/DEL&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-and-bapi/m-p/3213530#M766131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:07:30Z</dc:date>
    </item>
  </channel>
</rss>

