<?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 RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256364#M777670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      I am new to SAP and have to work on Portal Devlopment. Can any one please help me in how to create RFC, I need step by step information from basics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2008 06:47:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-08T06:47:03Z</dc:date>
    <item>
      <title>RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256364#M777670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      I am new to SAP and have to work on Portal Devlopment. Can any one please help me in how to create RFC, I need step by step information from basics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 06:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256364#M777670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T06:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256365#M777671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;Have a look at this link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE2/BCFESDE2.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE2/BCFESDE2.pdf&lt;/A&gt;&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;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 06:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256365#M777671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T06:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256366#M777672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi umang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basics&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;RFC CLIENT and RFC SERVER &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; -&amp;gt;  Converting all parameter data to the representation needed in the remote system&lt;/P&gt;&lt;P&gt;-&amp;gt;Calling the communication routines needed to talk to the remote system.&lt;/P&gt;&lt;P&gt;-&amp;gt;Handling communications errors, and notifying the caller, if desired ( using EXCEPTIONS paramater of  the CALL FUNCTION). &lt;/P&gt;&lt;P&gt;-&amp;gt;Calling Remote function modules&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;-&amp;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;-&amp;gt;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;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;gt;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 function module), or any function module loaded with the caller.&lt;/P&gt;&lt;P&gt; -&amp;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's&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;writing remote function modules:&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;&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;&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;&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;debbugging remote functional calls:&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;reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 07:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256366#M777672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T07:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256367#M777673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls check these links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/26/64f63bfa8911d386e70000e82011b8/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/26/64f63bfa8911d386e70000e82011b8/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_sm40/helpdata/en/b3/dd773dd1210968e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_sm40/helpdata/en/b3/dd773dd1210968e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 07:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256367#M777673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T07:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256368#M777674</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;Purpose&lt;/P&gt;&lt;P&gt;Communication between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous RFC&lt;/P&gt;&lt;P&gt;The first version of RFC is synchronous RFC (sRFC). This type of RFC executes the function call based on synchronous communication, which means that the systems involved must both be available at the time the call is made. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactional RFC (tRFC)&lt;/P&gt;&lt;P&gt;Transactional RFC (tRFC, also originally known as asynchronous RFC) is an asynchronous communication method that executes the called function module in the RFC server only once. The remote system need not be available at the time when the RFC client program is executing a tRFC. The tRFC component stores the called RFC function, together with the corresponding data, in the SAP database under a unique transaction ID (TID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a call is sent, and the receiving system is down, the call remains in the local queue until a later time. The calling dialog program can proceed without waiting to see whether or not the remote call was successful. If the receiving system does not become active within a certain amount of time, the call is scheduled to run in batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tRFC is always used if a function is executed as a Logical Unit of Work (LUW). Within a LUW, all calls are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         executed in the order in which they are called&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         executed in the same program context in the target system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         run as a single transaction: they are either committed or rolled back as a unit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation of tRFC is recommended if you want to guarantee that the transactional order of the calls is preserved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disadvantages of tRFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·       tRFC processes all LUWs independent of one another. Due to the amount of activated tRFC processes, this procedure can reduce performance significantly in both the send and the target systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·       In addition, the sequence of LUWs defined in the application cannot be kept. Therefore, there is no guarantee that the transactions are executed in the sequence dictated by the application. The only guarantee is that all LUWs are transferred sooner or later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Queued RFC (qRFC)&lt;/P&gt;&lt;P&gt;To guarantee that multiple LUWs are processed in the order specified by the application, tRFC can be serialized using queues (inbound and outbound queues). This type of RFC is called queued RFC (qRFC). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qRFC is therefore an extension of tRFC. It transfers an LUW (transaction) only if it has no predecessors (in reference to the sequence defined in different application programs) in the participating queues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation of qRFC is recommended if you want to guarantee that several transactions are processed in a predefined order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC: Data Transfer&lt;/P&gt;&lt;P&gt;All RFC types are transferred by means of CPI-C or  TCP/IP. They constitute a form of gateway communication.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info refer :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/22/0424fe488911d189490000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/22/0424fe488911d189490000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 07:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256368#M777674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T07:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256369#M777675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 05:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc/m-p/3256369#M777675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T05:10:51Z</dc:date>
    </item>
  </channel>
</rss>

