<?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: How to Create a Remotely Enabled Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673448#M617469</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;in the attributes of the FM u have to specify the radio button Remote enabled function module thats it..rest evryting is same like normal function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while calling in the program u need to call like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;Function module name&amp;gt; destination &amp;lt;destination name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 11:03:04 GMT</pubDate>
    <dc:creator>former_member404244</dc:creator>
    <dc:date>2007-08-09T11:03:04Z</dc:date>
    <item>
      <title>How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673447#M617468</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;How to Create a Remotely Enabled Function Module.&lt;/P&gt;&lt;P&gt;I Want to Create a FM Using Sample Data , This for Practice &lt;/P&gt;&lt;P&gt;What Fields can i give in the Import and Export Parameters.&lt;/P&gt;&lt;P&gt;Please Give me one Example&lt;/P&gt;&lt;P&gt;Can Any one Give me the Steps to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673447#M617468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T11:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673448#M617469</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;in the attributes of the FM u have to specify the radio button Remote enabled function module thats it..rest evryting is same like normal function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while calling in the program u need to call like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;Function module name&amp;gt; destination &amp;lt;destination name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673448#M617469</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-08-09T11:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673449#M617470</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;I Don't Know How to create a Sample FM&lt;/P&gt;&lt;P&gt;Will u Please Help me Regarding this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Aim is to create a FM in SE37 And Remotely Enable it.&lt;/P&gt;&lt;P&gt;So that I can Use it as a BAPI Cal in XI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673449#M617470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T11:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673450#M617471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;RFC function modules are is normal function modules, just if you select the Remote Enabled radio button then it will work as RFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to call a function module, which is registered as being remote in an SAP system, in the same SAP system, you have two options for making this call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        As a remote call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        As a local call &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CALL FUNCTION statement and the parameter handling is different for both cases (this is explained in more detail under Parameter Handling in Remote Calls). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remote Call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        CALL FUNCTION...DESTINATION = 'NONE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a remote call, even though DESTINATION = 'NONE' means that the remote function will run in the same system as the caller. As a remote call, the function module runs in its own roll area, and parameter values are handled as for other remote calls (described in Parameter Handling in Remote Calls.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the below function modules&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/22/04255e488911d189490000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/22/04255e488911d189490000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673450#M617471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T11:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673451#M617472</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;   1.create one Function Groupthen right click on that and create Function Module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2.Double click on that Function Module in that there is a tab called &amp;lt;b&amp;gt;Attribute&amp;lt;/b&amp;gt; click on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.There one Tab called processing type in that choose the option Remote-enabled module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the following link for more information.&lt;/P&gt;&lt;P&gt;     &lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudha S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673451#M617472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T11:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673452#M617473</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;I will tel u What I Want to Do Exactly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Created Function Group in Se80&lt;/P&gt;&lt;P&gt;2) Created Function Module in Se37&lt;/P&gt;&lt;P&gt;3) Given in Import-----Para1 ,,para2 Variables&lt;/P&gt;&lt;P&gt;4)Given in Export---para3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I want to do is that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to Add para1 and para2 values and keep it into para3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then How can i Write the Code in Source  code TAB&lt;/P&gt;&lt;P&gt;Should i Uncomment the Lines in the Source code Or Should I Write it separately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673452#M617473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T12:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673453#M617474</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;in the source code tab write directly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;para3 = para1 + para2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673453#M617474</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-08-09T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673454#M617475</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;Should I Declare those Variables in the Source code???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly Can I Wtite para3 = para1 + para2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:15:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673454#M617475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T12:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Remotely Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673455#M617476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets do simple example where you will first create a RFC in one server (say A) and create normal program in othere server (say B). Finally you will call the RFC in A from B.&lt;/P&gt;&lt;P&gt;Do the following steps for creating RFC in server A.&lt;/P&gt;&lt;P&gt;1. log on to server A&lt;/P&gt;&lt;P&gt;2. go to se37&lt;/P&gt;&lt;P&gt;3. Edit -&amp;gt; function groups-&amp;gt; create function group and give the function group name (say ZGRP).&lt;/P&gt;&lt;P&gt;4. create a FM ( say Z_TEST_RFC) in se37 providing the function group which is created just now.&lt;/P&gt;&lt;P&gt;5. go to attribute tab -&amp;gt; choose remote-enabled module from processing type.&lt;/P&gt;&lt;P&gt;so that your FM will become RFC.&lt;/P&gt;&lt;P&gt;6. provide the import parameter in import tab.&lt;/P&gt;&lt;P&gt;we will provide only two import parameters.&lt;/P&gt;&lt;P&gt; - parameter name : P_NUM1, typing: TYPE, associated type : I &amp;amp; &amp;lt;b&amp;gt;check the pass value&amp;lt;/b&amp;gt; (all the parameters of RFC must pass by value).&lt;/P&gt;&lt;P&gt; - parameter name : P_NUM2, typing: TYPE, associated type : I &amp;amp; &amp;lt;b&amp;gt;check the pass value&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;7. provide the export parameter in export tab.&lt;/P&gt;&lt;P&gt;parameter name : P_SUM, typing: TYPE, associated type : I &amp;amp; &amp;lt;b&amp;gt;check the pass value&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;8. write the given simple code in source code tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION Z_TEST_RFC.&lt;/P&gt;&lt;P&gt;P_TOT = P_NUM1 + P_NUM2.&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the following steps for creating ABAP program which will call the RFC in server B.&lt;/P&gt;&lt;P&gt;1. se38 - &amp;gt; creat a program.&lt;/P&gt;&lt;P&gt;2. write the given simple code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data tot type i.&lt;/P&gt;&lt;P&gt;call function 'Z_TEST_RFC' destination '&amp;lt;b&amp;gt;XXXXXX&amp;lt;/b&amp;gt;'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    p_num1 = 10&lt;/P&gt;&lt;P&gt;    p_num2 = 15&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;    p_tot = tot.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;write tot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please note that &amp;lt;b&amp;gt;XXXXXX&amp;lt;/b&amp;gt; is RFC connection which is avialable in &amp;lt;b&amp;gt;sm59&amp;lt;/b&amp;gt; transaction in server A.&lt;/P&gt;&lt;P&gt;-go to sm59 - &amp;gt; abap connection (list of RFC connection configurations are avialable). choose server B connection and replace it of &amp;lt;b&amp;gt;XXXXXX&amp;lt;/b&amp;gt; in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally you can execute the normal abap program that will call the RFC and display the result.&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;Sukhee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-remotely-enabled-function-module/m-p/2673455#M617476</guid>
      <dc:creator>sukhbold_altanbat</dc:creator>
      <dc:date>2007-08-09T12:30:36Z</dc:date>
    </item>
  </channel>
</rss>

