<?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 Issue with the RFC function module - parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270537#M493152</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;    When i am creating RFC enabled function module, it was throwing an error like &amp;lt;b&amp;gt;'Reference parameters are not allowed with RFC'.&amp;lt;/b&amp;gt;. I am implementing the test scenario to create BAPI, for that i have created table with 2 fields. My main intension is through RFC enabled function module planning to update the ztable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   When i was creating RFC enabled function module, it was giving error. I remembered that  i need to use new structure when i create RFC enabled function module, so even i created structure also with the same fields of table fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   can you please let me know the solution for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 18:03:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T18:03:53Z</dc:date>
    <item>
      <title>Issue with the RFC function module - parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270537#M493152</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;    When i am creating RFC enabled function module, it was throwing an error like &amp;lt;b&amp;gt;'Reference parameters are not allowed with RFC'.&amp;lt;/b&amp;gt;. I am implementing the test scenario to create BAPI, for that i have created table with 2 fields. My main intension is through RFC enabled function module planning to update the ztable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   When i was creating RFC enabled function module, it was giving error. I remembered that  i need to use new structure when i create RFC enabled function module, so even i created structure also with the same fields of table fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   can you please let me know the solution for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 18:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270537#M493152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T18:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the RFC function module - parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270538#M493153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a "Pass by Value" checkbox, just check that and you wont get the error. The basic reason behind is since an RFC is called by a different system the parameters have to be sent as values than as references.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 18:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270538#M493153</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-22T18:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the RFC function module - parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270539#M493154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Your solution is perfect. can you please explain the below information...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Call by value                                                                                &lt;/P&gt;&lt;P&gt;You pass the parameter with values. This means that the parameter      &lt;/P&gt;&lt;P&gt;     contents are copied both when the parameter is passed and when it is   &lt;/P&gt;&lt;P&gt;     transferred back to the calling parameter. For structures that contain &lt;/P&gt;&lt;P&gt;     tables, performance may be reduced considerably. Therefore, you should &lt;/P&gt;&lt;P&gt;     not do this.                                                                                &lt;/P&gt;&lt;P&gt;I created the parameters with reference to table-fields, what do you mean by 'Call by value'check box usage there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it mean ...if i change the contents of the field in FM will it pass back to the structure which i refered to this parameter, in this case its table-field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 18:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270539#M493154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T18:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the RFC function module - parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270540#M493155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I explained earlier, since an RFC is called by a different system the parameters have to be sent as values than as references. In other word, you need at least to pass back a value to calling system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i change the contents of the field in FM will it pass back to the structure which i refered to this parameter, in this case its table-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, it will not change the content of table-field.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 18:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270540#M493155</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-22T18:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the RFC function module - parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270541#M493156</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 RFC function module, data will be passed through parameters using "Pass by Value" concept. And most important thing is from whichever system this RFC enabled function module is called,  that system compulsorily expects a return value. Hence we have to pass data using Pass-by-value and get result using Pass-by-value. for this you have to check the checkbox "Pass by value" compulsorily in the function module import/export parameters section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sksingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 19:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-rfc-function-module-parameters/m-p/2270541#M493156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T19:19:03Z</dc:date>
    </item>
  </channel>
</rss>

