<?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 process an internal table with huge data volume in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833240#M1884168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fa/096e92543b11d1898e0000e8322d00/frameset.htm" title="http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fa/096e92543b11d1898e0000e8322d00/frameset.htm"&gt;Implementing Parallel Processing - Background Processing - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been gone through the above document about parallel processing.&lt;/P&gt;&lt;P&gt;My problem may be a typical one. For example， in my report, the structure of which is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_data."get data from DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT internal_table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORM process_data."process every line of internal table&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM output_data."download the internal table as a txt file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I use parallel tech in my report?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jan 2015 15:34:45 GMT</pubDate>
    <dc:creator>raffinkira</dc:creator>
    <dc:date>2015-01-09T15:34:45Z</dc:date>
    <item>
      <title>process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833240#M1884168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fa/096e92543b11d1898e0000e8322d00/frameset.htm" title="http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fa/096e92543b11d1898e0000e8322d00/frameset.htm"&gt;Implementing Parallel Processing - Background Processing - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been gone through the above document about parallel processing.&lt;/P&gt;&lt;P&gt;My problem may be a typical one. For example， in my report, the structure of which is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_data."get data from DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT internal_table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORM process_data."process every line of internal table&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM output_data."download the internal table as a txt file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I use parallel tech in my report?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833240#M1884168</guid>
      <dc:creator>raffinkira</dc:creator>
      <dc:date>2015-01-09T15:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833241#M1884169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ming, &lt;/P&gt;&lt;P&gt; Can you please share your full coding(statements inside subroutine), that help us to know more about the problem. &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;Rajkumar Narasimman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 16:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833241#M1884169</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2015-01-09T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833242#M1884170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ming Yu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give détails about the "process of data"?&lt;/P&gt;&lt;P&gt;Just calculations/transformations of data or any call of transaction/function?..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thomas &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 16:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833242#M1884170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-09T16:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833243#M1884171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 16:41:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833243#M1884171</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2015-01-09T16:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833244#M1884172</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;perform of processing data is like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT lt_ab1 INTO ls_ab1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ls_ab2-xxx = ls_ab1-xxx.&lt;/P&gt;&lt;P&gt;&amp;nbsp; APPEND ls_ab2 TO lt_ab2.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample, the real logic is much more complicated.&lt;/P&gt;&lt;P&gt;My problem is if lt_ab1 is large, can I use aRFC tech to reduce the time consumption?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2015 08:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833244#M1884172</guid>
      <dc:creator>raffinkira</dc:creator>
      <dc:date>2015-01-10T08:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833245#M1884173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please refer to the above, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2015 08:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833245#M1884173</guid>
      <dc:creator>raffinkira</dc:creator>
      <dc:date>2015-01-10T08:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833246#M1884174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ming, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Ming Yu wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My problem is if lt_ab1 is large, can I use a RFC tech to reduce the time consumption?&lt;/STRONG&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You are expecting for performance in the program, in order to do that, use &lt;STRONG&gt;runtime analysis tool(SM30) &lt;/STRONG&gt;that helps to find at where it is taking more time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parallel Cursor method increases the performance during nested loop. It is based on index search.&amp;nbsp; Please find the below link for Parallel cursor .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+Code+for+Parallel+Cursor+-+Loop+Processing" title="http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+Code+for+Parallel+Cursor+-+Loop+Processing"&gt;ABAP Code for Parallel Cursor - Loop Processing - Code Gallery - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use subroutines instead of RFC FM inside loop, that helps to increase the performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before using Internal table, sort the internal table based on key. Use Binary search in READ Statement, that helps to increase the performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajkumar Narasimman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2015 09:13:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833246#M1884174</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2015-01-10T09:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: process an internal table with huge data volume</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833247#M1884175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="active_link"&gt;Hi Ming,&lt;/P&gt;&lt;P class="active_link"&gt;&lt;/P&gt;&lt;P class="active_link"&gt;Yes, you can implement parallel processing of RFC, dividing your internal table in different groups and then calling parallel RFC, like that:&lt;/P&gt;&lt;P class="active_link"&gt;&lt;A href="http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096e92543b11d1898e0000e8322d00/content.htm"&gt;http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096e92543b11d1898e0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P class="active_link"&gt;&lt;/P&gt;&lt;P&gt;The problem is:&lt;/P&gt;&lt;P&gt;If you "simply" need to populate another internal table, you will have to wait to receive the different results and then you'll have to collect all of them in 1 unique table, so I'm not sure it will improve so much your performances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it would be better first to rework your code for example with field symbols, mass moves (lt_ab2[] = lt_ab1[])...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 09:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-an-internal-table-with-huge-data-volume/m-p/10833247#M1884175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-13T09:27:54Z</dc:date>
    </item>
  </channel>
</rss>

