<?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: Regarding RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-rfc/m-p/3668682#M883649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can create,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for SAP Help they give you the information in much details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exercise 1: Creating a Function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules are ABAP routines that are administered in a central function library. They apply across applications and are available throughout the system. You must assign function modules to a function pool that is called a function group. A function group is nothing but a container for the function modules. Now create a function group and then a function module, which you can use for the next exercise steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Function Group:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To open the Object Navigator choose from the SAP Menu Overview ® Object Navigator. &lt;/P&gt;&lt;P&gt;From the Object Selection window select Function group, enter FG_Tutorial as name of your function group, and choose Display. &lt;/P&gt;&lt;P&gt;Since the function group FG_Tutorial does not yet exist, the system asks you whether to create it. Confirm with Yes. &lt;/P&gt;&lt;P&gt;Enter a short description and choose Save. &lt;/P&gt;&lt;P&gt;In the window Create Object Catalog Entry choose Local object.&lt;/P&gt;&lt;P&gt;You created a local function group. Before it can receive function modules, you must activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the object list, use the right mouse button to select the function group FG_Tutorial you just created and choose Activate. &lt;/P&gt;&lt;P&gt;On the next screen choose Continue.&lt;/P&gt;&lt;P&gt;The function group is now active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Global Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the function group you can declare global data. All function modules of this function group share this global data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Object Selection window open the directory tree Includes and double-click on LFG_TutorialTOP. &lt;/P&gt;&lt;P&gt;Choose Create « Change ( STRG+F1 ) and enter the following data declarations in the tool area: &lt;/P&gt;&lt;P&gt;TABLES spfli.&lt;/P&gt;&lt;P&gt;DATA spfli_workarea LIKE spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check ( STRG&lt;EM&gt;F2 ) and activate ( STRG&lt;/EM&gt;F3 ) the include file.&lt;/P&gt;&lt;P&gt;Create a Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a function module that reads data from table SPFLI .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not yet in the Object Navigator, choose from the SAP Menu Overview à Object Navigator and display the function group FG_Tutorial . &lt;/P&gt;&lt;P&gt;In the Object selection window, use the right mouse button to select function group FG_Tutorial , and choose Create à Function module. &lt;/P&gt;&lt;P&gt;Enter as function module name XX_RFC_READ_SPFLI and replace XX with the initials of your name. &lt;/P&gt;&lt;P&gt;Enter a short description and choose Save. &lt;/P&gt;&lt;P&gt;The system lists the function module in the object list in a new directory Function modules, and displays it on the right side in the Function Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the Attributes tab and under Processing type choose Remote-enabled module.&lt;/P&gt;&lt;P&gt;Select the Import tab and enter in the appropriate columns the names of the import parameters: carrid with reference type like spfli-carrid and connid with reference type like spfli-connid . For each parameter set the Pass value flag. &lt;/P&gt;&lt;P&gt;Select the Export tab and enter in the appropriate columns the names of the export parameters: ex_spfli with reference type like spfli and sys with reference type like sy-sysid . For each parameter set the Pass value flag. &lt;/P&gt;&lt;P&gt;Select the Exceptions tab and enter the exception invalid_data . &lt;/P&gt;&lt;P&gt;Select the Source code tab. &lt;/P&gt;&lt;P&gt;The system copies the entries you made in the other tabs and creates a source text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complete the function module with the actual flight data retrieval. &lt;/P&gt;&lt;P&gt;Compare your function with the model solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the function module ( STRG+S ). When the note on remote-enabled function modules appears, choose Continue. &lt;/P&gt;&lt;P&gt;Check the function for errors ( STRG&lt;EM&gt;F2 ) and then activate it ( STRG&lt;/EM&gt;F3 ).&lt;/P&gt;&lt;P&gt;Test the Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Test/Execute ( F8 ) or Function module à Test à Test function module. &lt;/P&gt;&lt;P&gt;As import parameter for CARRID enter LH ; for CONNID enter 400 . Leave the RFC target system line empty. &lt;/P&gt;&lt;P&gt;Choose Execute ( F8 ).&lt;/P&gt;&lt;P&gt;The system displays the export parameters EX_SPFLI and SYS in an additional table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a detailed display of the data select the value in line EX_SPFLI.&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You created a function module and assigned it to a function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continue With&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exercise 2: Implementing a Local Function Call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make RFC function module, please set remote enabled in the attributes of function module.&lt;/P&gt;&lt;P&gt;Please check this online document.&lt;/P&gt;&lt;P&gt;&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;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE5/BCFESDE5.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE5/BCFESDE5.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESRFC/BCFESRFC.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESRFC/BCFESRFC.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE4/BCFESDE4.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE4/BCFESDE4.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2008 07:11:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-14T07:11:00Z</dc:date>
    <item>
      <title>Regarding RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-rfc/m-p/3668681#M883648</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;   Can anyone please tell me is it possible to create rfc from SAP ECC 6 to 4.7 .If possible how to do it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 06:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-rfc/m-p/3668681#M883648</guid>
      <dc:creator>former_member197425</dc:creator>
      <dc:date>2008-04-14T06:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-rfc/m-p/3668682#M883649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can create,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for SAP Help they give you the information in much details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exercise 1: Creating a Function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules are ABAP routines that are administered in a central function library. They apply across applications and are available throughout the system. You must assign function modules to a function pool that is called a function group. A function group is nothing but a container for the function modules. Now create a function group and then a function module, which you can use for the next exercise steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Function Group:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To open the Object Navigator choose from the SAP Menu Overview ® Object Navigator. &lt;/P&gt;&lt;P&gt;From the Object Selection window select Function group, enter FG_Tutorial as name of your function group, and choose Display. &lt;/P&gt;&lt;P&gt;Since the function group FG_Tutorial does not yet exist, the system asks you whether to create it. Confirm with Yes. &lt;/P&gt;&lt;P&gt;Enter a short description and choose Save. &lt;/P&gt;&lt;P&gt;In the window Create Object Catalog Entry choose Local object.&lt;/P&gt;&lt;P&gt;You created a local function group. Before it can receive function modules, you must activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the object list, use the right mouse button to select the function group FG_Tutorial you just created and choose Activate. &lt;/P&gt;&lt;P&gt;On the next screen choose Continue.&lt;/P&gt;&lt;P&gt;The function group is now active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Global Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the function group you can declare global data. All function modules of this function group share this global data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Object Selection window open the directory tree Includes and double-click on LFG_TutorialTOP. &lt;/P&gt;&lt;P&gt;Choose Create « Change ( STRG+F1 ) and enter the following data declarations in the tool area: &lt;/P&gt;&lt;P&gt;TABLES spfli.&lt;/P&gt;&lt;P&gt;DATA spfli_workarea LIKE spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check ( STRG&lt;EM&gt;F2 ) and activate ( STRG&lt;/EM&gt;F3 ) the include file.&lt;/P&gt;&lt;P&gt;Create a Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a function module that reads data from table SPFLI .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not yet in the Object Navigator, choose from the SAP Menu Overview à Object Navigator and display the function group FG_Tutorial . &lt;/P&gt;&lt;P&gt;In the Object selection window, use the right mouse button to select function group FG_Tutorial , and choose Create à Function module. &lt;/P&gt;&lt;P&gt;Enter as function module name XX_RFC_READ_SPFLI and replace XX with the initials of your name. &lt;/P&gt;&lt;P&gt;Enter a short description and choose Save. &lt;/P&gt;&lt;P&gt;The system lists the function module in the object list in a new directory Function modules, and displays it on the right side in the Function Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the Attributes tab and under Processing type choose Remote-enabled module.&lt;/P&gt;&lt;P&gt;Select the Import tab and enter in the appropriate columns the names of the import parameters: carrid with reference type like spfli-carrid and connid with reference type like spfli-connid . For each parameter set the Pass value flag. &lt;/P&gt;&lt;P&gt;Select the Export tab and enter in the appropriate columns the names of the export parameters: ex_spfli with reference type like spfli and sys with reference type like sy-sysid . For each parameter set the Pass value flag. &lt;/P&gt;&lt;P&gt;Select the Exceptions tab and enter the exception invalid_data . &lt;/P&gt;&lt;P&gt;Select the Source code tab. &lt;/P&gt;&lt;P&gt;The system copies the entries you made in the other tabs and creates a source text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complete the function module with the actual flight data retrieval. &lt;/P&gt;&lt;P&gt;Compare your function with the model solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the function module ( STRG+S ). When the note on remote-enabled function modules appears, choose Continue. &lt;/P&gt;&lt;P&gt;Check the function for errors ( STRG&lt;EM&gt;F2 ) and then activate it ( STRG&lt;/EM&gt;F3 ).&lt;/P&gt;&lt;P&gt;Test the Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Test/Execute ( F8 ) or Function module à Test à Test function module. &lt;/P&gt;&lt;P&gt;As import parameter for CARRID enter LH ; for CONNID enter 400 . Leave the RFC target system line empty. &lt;/P&gt;&lt;P&gt;Choose Execute ( F8 ).&lt;/P&gt;&lt;P&gt;The system displays the export parameters EX_SPFLI and SYS in an additional table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a detailed display of the data select the value in line EX_SPFLI.&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You created a function module and assigned it to a function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continue With&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exercise 2: Implementing a Local Function Call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make RFC function module, please set remote enabled in the attributes of function module.&lt;/P&gt;&lt;P&gt;Please check this online document.&lt;/P&gt;&lt;P&gt;&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;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE5/BCFESDE5.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE5/BCFESDE5.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESRFC/BCFESRFC.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESRFC/BCFESRFC.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE4/BCFESDE4.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE4/BCFESDE4.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 07:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-rfc/m-p/3668682#M883649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T07:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-rfc/m-p/3668683#M883650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Acually my doubt is SAP 4.7 sever and ECC 6 servers are different then how can we connect the both by RFC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 08:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-rfc/m-p/3668683#M883650</guid>
      <dc:creator>former_member197425</dc:creator>
      <dc:date>2008-04-14T08:57:32Z</dc:date>
    </item>
  </channel>
</rss>

