<?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: diff between in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597703#M866395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sriharitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the F1 key, I couldn't explain better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Mar 2008 14:05:34 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2008-03-30T14:05:34Z</dc:date>
    <item>
      <title>diff between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597700#M866392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi plz tell me the&lt;/P&gt;&lt;P&gt;diff between normal and rfc function module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 07:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597700#M866392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T07:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: diff between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597701#M866393</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;Function modules are routines with a defined interface, supporting optional parameters and labelled exceptions, intended to perform specific tasks encouraging re-use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functions that are remotely callable via SAP's proprietary remote function call (RFC) protocol, have additional technical restrictions, primarily that the parameters cannot be changing and/or passed by reference, as previously mentioned. When a function module is marked as RFC-enabled, SAP checks that the function's interface meets the restrictions and also generates an internal stub routine to allow the RFC communication to take place (but we don't really need to know anything about that stub).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a function module raises an exception, control is passed back to the calling program. When the calling program is an external RFC client, the caller receives only a return code indicating that an application exception was raised and the name of the exception as an upper-case text string. The caller is then responsible for inspecting the exception text to see what kind of error occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI stands for Business API and are implemented as function modules that follow SAP-specified standards. They do not need to be RFC-enabled, but since the purpose of BAPI's is to expose business functionality internally and externally, then you will find that most are RFC-enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main standards that BAPI's must implement are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The interface remains static between releases, or at least backwards-compatible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Exceptions are not used, instead outcome information is returned to caller via a special parameter called a RETURN parameter (the structure of which is somewhat standardised, there are a couple of alternatives). The RETURN parameter provides more information, particularly the SAP message details and text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Database updates are not to be performed directly by a BAPI. Instead the BAPI is to perform the necessary validations and then queue the updates to be processed by the next COMMIT WORK (usually done by calling a subroutine via syntax PERFORM ... ON COMMIT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In cases where a single BAPI call processes multiple transactions, it is common for the RETURN information to be passed as a table parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling application must remember to invoke the ABAP COMMIT WORK statement. This can be done externally by calling RFC function module BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This brings me to me biggest pet peave about BAPI's and the RFC protocol. For some reason that is beyond my understanding of the RFC protocol (upon which many other things such as ABAP to Java and .NET integration are based), is that the end of each function call performs an implicit database commit. This is the reason why BAPI transactions are not allowed to perform database updates directly, because doing so would otherwise prevent chaining multiple BAPI calls into a single unit of work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this is really a catch 22 situation, because the problem with the BAPI approach of queueing updates is that chances are the subsequent BAPI call, which I'd like to be part of the same unit of work, will fail because the database updates of the first BAPI call have not been made yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take for example the following scenario (please note that I'm not an SD person):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a customer &lt;/P&gt;&lt;P&gt;Create a sales order for that customer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can't be done in a single unit of work, because the call to the "Create Customer" BAPI (whatever that is) will not create the customer in the database (it will just queue it for update) and so the second BAPI call to "Create Sales Order" will fail because the customer number does not exist yet.&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;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 07:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597701#M866393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T07:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: diff between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597702#M866394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RFC is Remote Function Call which can be used to execute &lt;/P&gt;&lt;P&gt;the function module on remote system to get the required &lt;/P&gt;&lt;P&gt;data.To call the function module remotely,we have to enable &lt;/P&gt;&lt;P&gt;the remote call radio button located in the attribute of &lt;/P&gt;&lt;P&gt;the function module.&lt;/P&gt;&lt;P&gt;  Normal function module is one which can be used to &lt;/P&gt;&lt;P&gt;execute the function module in the local system to get the &lt;/P&gt;&lt;P&gt;required data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 08:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597702#M866394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: diff between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597703#M866395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sriharitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the F1 key, I couldn't explain better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 14:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597703#M866395</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-03-30T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: diff between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597704#M866396</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;RFC is used to call the function module from the remote&lt;/P&gt;&lt;P&gt;system, where as normal functin module is used within the &lt;/P&gt;&lt;P&gt;system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC is Remote Function Call which can be used to execute &lt;/P&gt;&lt;P&gt;the function module on remote system to get the required &lt;/P&gt;&lt;P&gt;data.To call the function module remotely,we have to enable &lt;/P&gt;&lt;P&gt;the remote call radio button located in the attribute of &lt;/P&gt;&lt;P&gt;the function module.&lt;/P&gt;&lt;P&gt;  Normal function module is one which can be used to &lt;/P&gt;&lt;P&gt;execute the function module in the local system to get the &lt;/P&gt;&lt;P&gt;required data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC stands for REMOTE FUNCTION CALL RFCs are used to&lt;/P&gt;&lt;P&gt;establish a connection between two different application&lt;/P&gt;&lt;P&gt;servers rfc used for accessing functions of a function&lt;/P&gt;&lt;P&gt;module in a function group present on different application&lt;/P&gt;&lt;P&gt;servers with in a landscape i.e., for transfer of data&lt;/P&gt;&lt;P&gt;directly between source and target client on remote systems&lt;/P&gt;&lt;P&gt;in sap system landscape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sap basis rfc is used for remote client copies.&lt;/P&gt;&lt;P&gt;Tcode RFC- sm59 display/maintain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION MODULE contains functions in particular to a module&lt;/P&gt;&lt;P&gt;like finance , HR , MM....... .Function module is always&lt;/P&gt;&lt;P&gt;created under function group. one group can contain one or&lt;/P&gt;&lt;P&gt;more function modules a function module can be accessed from&lt;/P&gt;&lt;P&gt; remote system where u can call it as RFC call.&lt;/P&gt;&lt;P&gt;u create function module in following way &lt;/P&gt;&lt;P&gt;1.tcode- sm37&lt;/P&gt;&lt;P&gt;2.create a function group &lt;/P&gt;&lt;P&gt;3.activate the function group&lt;/P&gt;&lt;P&gt;4.create the function module &lt;/P&gt;&lt;P&gt;5. activate the function module &lt;/P&gt;&lt;P&gt;6. access the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If its useful reward points&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 03:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597704#M866396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T03:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: diff between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597705#M866397</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;Function modules are procedures that are defined in function groups (special ABAP programs with type F) and can be called from any ABAP program. Function groups act as containers for function modules that logically belong together,Function modules allow you to encapsulate and reuse global functions in the R/3 System. They are stored in a central library,Unlike subroutines, you do not define function modules in the source code of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)normal function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)remote function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference between FM and subroutines&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="960170"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2021706"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)update function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;vasavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 04:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between/m-p/3597705#M866397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T04:09:13Z</dc:date>
    </item>
  </channel>
</rss>

