<?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: Problem with A017 table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300229#M790004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;You might want to consider installing some sort of error handling.  For instance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if y_i_filedata is initial. 
  message exxx with 'No data in y_i_filedata. 
    else. 
    SELECT knumh datbi datab matnr lifnr ekorg werks 
       FROM a017  INTO table y_i_a017 
       FOR ALL ENTRIES IN y_i_filedata 
       WHERE lifnr EQ y_i_filedata-lifnr AND 
                   matnr EQ y_i_filedata-matnr AND 
                  ekorg EQ y_i_filedata-ekorg AND 
                   werks EQ y_i_filedata-werks.
 endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 15:43:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-28T15:43:36Z</dc:date>
    <item>
      <title>Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300226#M790001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am retriving the data form A017 table, My problem is when we are using more than 5000 entriess in the internal table(For all entries), then we are getting the dump "&lt;STRONG&gt;Time out ereror&lt;/STRONG&gt;", &lt;/P&gt;&lt;P&gt;How to improve the prformance to this querry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My querry is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT knumh datbi datab matnr lifnr ekorg werks&lt;/P&gt;&lt;P&gt;                                                FROM a017&lt;/P&gt;&lt;P&gt;                                       INTO table y_i_a017&lt;/P&gt;&lt;P&gt;                                  FOR ALL ENTRIES IN y_i_filedata&lt;/P&gt;&lt;P&gt;                                 WHERE lifnr EQ y_i_filedata-lifnr AND&lt;/P&gt;&lt;P&gt;                                 matnr EQ y_i_filedata-matnr AND&lt;/P&gt;&lt;P&gt;                                 ekorg EQ y_i_filedata-ekorg AND&lt;/P&gt;&lt;P&gt;                                 werks EQ y_i_filedata-werks.&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;Regards,&lt;/P&gt;&lt;P&gt;Sundya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 11:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300226#M790001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300227#M790002</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;Have you checked whether the itab &lt;STRONG&gt;y_i_filedata is not initial&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the select only if the itab y_i_filedata is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then for improving performance use all the key fields. If it still gives error, contact your basis team to increase the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 11:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300227#M790002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T11:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300228#M790003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not using the index, so that is the main drag on pewrformance. You should be able to speed it up a bit by eliminating duplicates from the table (comparing the fields you are SELECTing on) before doing the SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 14:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300228#M790003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T14:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300229#M790004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;You might want to consider installing some sort of error handling.  For instance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if y_i_filedata is initial. 
  message exxx with 'No data in y_i_filedata. 
    else. 
    SELECT knumh datbi datab matnr lifnr ekorg werks 
       FROM a017  INTO table y_i_a017 
       FOR ALL ENTRIES IN y_i_filedata 
       WHERE lifnr EQ y_i_filedata-lifnr AND 
                   matnr EQ y_i_filedata-matnr AND 
                  ekorg EQ y_i_filedata-ekorg AND 
                   werks EQ y_i_filedata-werks.
 endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 15:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300229#M790004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T15:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300230#M790005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello John,&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already i have data more than 5000 records, whenever if the file is having more than 5000 rec's i am getting time out error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other wise my code is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sandya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 04:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300230#M790005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T04:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300231#M790006</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;Ask your basis to increase the time. Your problem will get solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 05:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300231#M790006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T05:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300232#M790007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renjith Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Increasing the time is not possible. Because, we are getting the problem only with this query. Remainig all are working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Ragards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 05:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300232#M790007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T05:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300233#M790008</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;The performance will be increase much if you can provide KAPPL, and KSCHL also in the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b'coz it will take all the entries which are there without these keys also unnecessarly making the perfomance low. So it will be nice if u can provide those too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 05:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300233#M790008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T05:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300234#M790009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you cannot add index fields to the query (and the internal table y_i_filedata has entries), you'll have to run it in the background.&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, 29 Jan 2008 15:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300234#M790009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T15:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with A017 table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300235#M790010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your SELECT statement does not use all the key fields like KAPPL, KSCHL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KAPPL can have values like 'M', 'V' etc. KSCHL can have values like 'PB00', VKP0 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once those are used, the query could be be faster. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 12:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-a017-table/m-p/3300235#M790010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T12:53:51Z</dc:date>
    </item>
  </channel>
</rss>

