<?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>Question Re: RFC Function Module in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339010#M1006548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to indentify whether function module or code being called through other system to do some programming for local call and RFC call on a program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 05:33:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T05:33:13Z</dc:date>
    <item>
      <title>RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaq-p/2339003</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 need to create a RFC Function module, I have the RFC destination given, May I know any further seetings needed for a RFC Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mungala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 04:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaq-p/2339003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T04:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339004#M1006542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;While you are creating Function module,it attributes make it as Remote Enabled call.&lt;/P&gt;&lt;P&gt;Go to Tcode SM59  and configure the settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 04:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339004#M1006542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T04:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339005#M1006543</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;&amp;lt;b&amp;gt;RFC ( Remote Function calls )&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A remote function call is a call to a function module running in a system different from the caller's. The remote function can also be called from within the same system (as a remote call).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC consists of two interfaces : A calling interface for ABAP Programs and a calling interface for Non-SAP programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ABAP program can call a remote function using the CALL FUNCTION...DESTINATION statement. The DESTINATION parameter tells the SAP System that the called function runs in a system other than the caller's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RFC CLIENT and RFC SERVER&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC client is the instance that calls up the Remote Function Call to execute the function that is provided by an RFC server.&lt;/P&gt;&lt;P&gt;&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 remote system&lt;/P&gt;&lt;P&gt;Calling the communication routines needed to talk to the remote system.&lt;/P&gt;&lt;P&gt;Handling communications errors, and notifying the caller, if desired ( using EXCEPTIONS paramater of  the CALL FUNCTION). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Calling Remote function modules&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the CALL FUNCTION statement to call remote functions by including an additional DESTINATION clause.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;The field &amp;#145;dest&amp;#146; can be either a literal or a variable. Logical destinations are defined in the RFCDES table via transaction SM59 or via the menu path: Tools -&amp;gt;Administration,Administration-&amp;gt;Network-&amp;gt;RFC destinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Calling remote functions locally :-&amp;lt;/b&amp;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;CALL FUNCTION...DESTINATION = 'NONE'&lt;/P&gt;&lt;P&gt;CALL FUNCTION... [no DESTINATION used]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Calling remote function modules BACK :-&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    The remote function can invoke its own caller (if the caller is itself a 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;&amp;lt;b&amp;gt;Types of RFC&amp;#146;s&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous RFC &amp;#150; The calling program continues the execution only after the called function is complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous RFC - The calling program continues the execution 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 &amp;#145;taskname&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactional RFC - The called function module is executed exactly once in the RFC server system.Each function call is seen as a transaction in the target system. Transactional RFCs use the suffix IN BACKGROUND TASK . &lt;/P&gt;&lt;P&gt;       Eg : CALL FUNCTION &amp;#145;remotefunction&amp;#146; IN BACKGROUND TASK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Writing remote function modules&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function module attributes tab (transaction code SE37), set the processing type as Remote-enabled module to create a remote function module.&lt;/P&gt;&lt;P&gt;Write the code for the function module. &lt;/P&gt;&lt;P&gt;Define the destination of the RFC server in the RFC client system that calls the remote function ( via SM59 transaction).&lt;/P&gt;&lt;P&gt;Declaring Parameters: All parameter fields for a remote function module must be defined as reference fields, that is, like ABAP Dictionary fields.&lt;/P&gt;&lt;P&gt;Exceptions: The system raises COMMUNICATION_FAILURE and SYSTEM_FAILURE internally. You can raise exceptions in a remote function just as you would in a locally called function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Debugging Remote function calls&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to debug a remote function call to another system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when testing ABAP-to-ABAP RFC calls, you can use the ABAP debugger to monitor the execution of the RFC function in the remote system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With remote calls, the ABAP debugger (including the debugging interface) runs on the local system. Data values and other run information for the remote function are passed in from the remote system.&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;ravish&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 04:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339005#M1006543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T04:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339006#M1006544</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;There is no much difference between normal Function Module.But after developing a FM, to make it RFC enabled you have to take care of the following things: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In attributes click the radiobutton 'REMOTE ENABLED' .&lt;/P&gt;&lt;P&gt;2. Pass all the parameters by 'Pass By Value' . &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;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 04:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339006#M1006544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T04:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339007#M1006545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mungala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please checkout the below URL&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION - RFC (RFC Variants) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous RFC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. CALL FUNCTION func DESTINATION dest &lt;/P&gt;&lt;P&gt;                     parameter_list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous RFC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. CALL FUNCTION func STARTING NEW TASK task &lt;/P&gt;&lt;P&gt;                &lt;A href="{IN GROUP {group"&gt;DESTINATION {dest&lt;/A&gt; &lt;/P&gt;&lt;P&gt;                parameter_list &lt;/P&gt;&lt;P&gt;                &lt;A href="{CALLING meth} ON END OF TASK"&gt;{PERFORMING subr}&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactional RFC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. CALL FUNCTION func IN BACKGROUND TASK &lt;/P&gt;&lt;P&gt;                     &lt;A href="DESTINATION dest"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;                     parameter_list &lt;/P&gt;&lt;P&gt;                     &lt;A href="AS SEPARATE UNIT"&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;Displaying, Maintaining, and Testing Destinations &lt;/P&gt;&lt;P&gt;To display, create, or change destinations, choose the following from the SAP menu: Tools ®  Administration ® Administration ® Network ® RFC Destinations  (transaction SM59). &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Remote destinations are stored in the table RFCDES. The table RFCDES describes logical destinations for remote function calls (RFCs). You cannot maintain the table RFCDES directly.&lt;BR /&gt; &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aby Jacob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 05:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339007#M1006545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T05:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339008#M1006546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mungala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please checkout this previous Forum posting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3109523"&gt;&lt;/A&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aby Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 05:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339008#M1006546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T05:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339009#M1006547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE2/BCFESDE2.pdf&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aby Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 05:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339009#M1006547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T05:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Module</title>
      <link>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339010#M1006548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to indentify whether function module or code being called through other system to do some programming for local call and RFC call on a program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rfc-function-module/qaa-p/2339010#M1006548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T05:33:13Z</dc:date>
    </item>
  </channel>
</rss>

