<?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 Execution of function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511126#M1423536</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;In a report Function module is inside a loop and the internal table of the loop is having 4 records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need is instead of running the function module 4 times for each record i want to run the function module only once for the 4 records ata time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because it will improve the performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i approach do this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jan 2010 05:09:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-15T05:09:17Z</dc:date>
    <item>
      <title>Execution of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511126#M1423536</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;In a report Function module is inside a loop and the internal table of the loop is having 4 records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need is instead of running the function module 4 times for each record i want to run the function module only once for the 4 records ata time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because it will improve the performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i approach do this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 05:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511126#M1423536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T05:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511127#M1423537</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;You can pass complete table to your FM. No need to keep it in loop and pass work area everytime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 05:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511127#M1423537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T05:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511128#M1423538</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 cant change the  code of the function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 05:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511128#M1423538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T05:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511129#M1423539</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;it is not possible to do that for all records if you are using SAP's standard function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu have two option&lt;/P&gt;&lt;P&gt;1. if you are using your own function module  , instead of passing 1 record at a time , pass full inernal table in table parametrs.modify your FM accordinly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you are using  SAP's FM . Try to find out any other FM which can help you to process all the records at single call.If it is not possible the final soluton is create a new FM and pass the whole interal Table (if internal table is very big . pass it by refrence to improve the performance).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 05:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-of-function-module/m-p/6511129#M1423539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T05:24:32Z</dc:date>
    </item>
  </channel>
</rss>

