<?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: Performance in function module interfaces in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735761#M635416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean pass parameters back and forth thousands of times a day, or pass them once in a table, I'd pass them once in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is that what you meant?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2007 20:43:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-04T20:43:19Z</dc:date>
    <item>
      <title>Performance in function module interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735760#M635415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know if there is any significant performance difference between passing a set of export parameters back from a function module as opposed to putting the parameters in a table and passing back the table.  I am working on a function that interprets barcodes and is called thousands of times daily, so performance will be critical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 20:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735760#M635415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T20:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Performance in function module interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735761#M635416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean pass parameters back and forth thousands of times a day, or pass them once in a table, I'd pass them once in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is that what you meant?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 20:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735761#M635416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T20:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance in function module interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735762#M635417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for my lack of clarity.  The information has to be passed immediately when the function is called.  There will be thousands of calls and each time 6-10  variables need to be passed back either as parameters or as rows in a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 20:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735762#M635417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T20:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Performance in function module interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735763#M635418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you ask is there a "significant" difference. I suspect not, but it should be pretty easy to test using the runtime analysis. Create two FMs that do it each way and execute them multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 20:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735763#M635418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T20:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Performance in function module interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735764#M635419</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;declaring under the table parameter , it will take lots of memory to execute &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP advises don't use tables in table parameter use them as exporting or in importing parameters &lt;/P&gt;&lt;P&gt;then only it will be good in the point of performance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't declare any tables in the table tab&lt;/P&gt;&lt;P&gt;declare that tables under importing or exporting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 04:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735764#M635419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T04:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Performance in function module interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735765#M635420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is surely just a difference between some microsecos till some millisecond depending of the application server load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fastest way to do so is to use pointers (type ref to data) and changing parms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example for calling the function module:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:
wa_1_ref type ref to data,
wa_2_ref type ref to data.

get referenence of wa_1 into wa1_ref.
get referenence of wa_2 into wa2_ref.

call function 'example_function'
changing
ch_parm1 = wa1_ref
ch_parm2 = wa2_ref.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your function have to do something like that:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Field-symbols: 
&amp;lt;ch_parm1&amp;gt; type YOUR_EXPECTED_TYPE,
&amp;lt;ch_parm2&amp;gt; type YOUR_EXPECTED_TYPE.

assign ch_parm1-&amp;gt;* to &amp;lt;ch_parm1&amp;gt;.
assign ch_parm2-&amp;gt;* to &amp;lt;ch_parm2&amp;gt;.

*now you can use the field symbols normally

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing it so, minimize the memory handling for the runtime environment.&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;Gianpietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 12:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-in-function-module-interfaces/m-p/2735765#M635420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T12:36:38Z</dc:date>
    </item>
  </channel>
</rss>

