<?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: Bad performance with eCATT table parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bad-performance-with-ecatt-table-parameters/m-p/5117364#M1186957</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 agree to you there are certain instance while the time taken is more..even i have faced that.&lt;/P&gt;&lt;P&gt;But 120 seconds is lot more..&lt;/P&gt;&lt;P&gt;I strongly recommend you to give a trial and run in the ABAP and ENDABAP block code.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Replace the "type" by "like" Command and give a try&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Define the table in the beginning by Tables : &amp;lt;TableName&amp;gt;&lt;/P&gt;&lt;P&gt;and define  &amp;lt;Table parameter&amp;gt; type as &amp;lt;Tablename&amp;gt;&lt;/P&gt;&lt;P&gt;Hope any of the ways should help to reduce the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 01:50:41 GMT</pubDate>
    <dc:creator>venkatesh_sakthivel</dc:creator>
    <dc:date>2009-02-17T01:50:41Z</dc:date>
    <item>
      <title>Bad performance with eCATT table parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bad-performance-with-ecatt-table-parameters/m-p/5117363#M1186956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My team has been using eCATTs for some months, but today we experienced a strange problem that I would like to share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working in a eCATT to change one field in table ANLB (Assets - depreciation terms), for some thousands of records (+/-5000), with different characteristics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, or first idea was to use inline abap to make the selections to ANLA and ANLB, and then use a DO cicle to call the TCD commands to make the change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We defined eCATT parameters for the table and work area:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_ANLA      type ANLA[]&lt;/P&gt;&lt;P&gt;WA_ANLA   type ANLA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also similar parameters inside the ABAP block:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;LT_ANLA      type standard table of ANLA,&lt;/P&gt;&lt;P&gt;LWA_ANLA   type ANLA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our problem of performance is coming from the eCATT command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_ANLA = LT_ANLA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This command is taking about 120 seconds to process, and for what we could see, is consuming a lot of memory. When we comment this command, the problem disappears, even with the selects inside the ABAP block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We made a change and defined a smaller ANLA type, lets say ANLA_SMALL, with only 6 fields, but the problem remains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if there are some memory parameters that should be mantained for eCATTs, to overcome this problem? Is there another option to run the TCD's, if not with eCATT parameters of type table([]) ?&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;Davide, Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 19:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bad-performance-with-ecatt-table-parameters/m-p/5117363#M1186956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T19:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bad performance with eCATT table parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bad-performance-with-ecatt-table-parameters/m-p/5117364#M1186957</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 agree to you there are certain instance while the time taken is more..even i have faced that.&lt;/P&gt;&lt;P&gt;But 120 seconds is lot more..&lt;/P&gt;&lt;P&gt;I strongly recommend you to give a trial and run in the ABAP and ENDABAP block code.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Replace the "type" by "like" Command and give a try&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Define the table in the beginning by Tables : &amp;lt;TableName&amp;gt;&lt;/P&gt;&lt;P&gt;and define  &amp;lt;Table parameter&amp;gt; type as &amp;lt;Tablename&amp;gt;&lt;/P&gt;&lt;P&gt;Hope any of the ways should help to reduce the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 01:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bad-performance-with-ecatt-table-parameters/m-p/5117364#M1186957</guid>
      <dc:creator>venkatesh_sakthivel</dc:creator>
      <dc:date>2009-02-17T01:50:41Z</dc:date>
    </item>
  </channel>
</rss>

