<?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 A018 Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a018-table/m-p/8094780#M1615805</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;I am extracting the data for the info record condition price from the table A018 like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT lifnr&lt;/P&gt;&lt;P&gt;           matnr&lt;/P&gt;&lt;P&gt;           knumh&lt;/P&gt;&lt;P&gt;    FROM a018&lt;/P&gt;&lt;P&gt;    INTO TABLE i_a018&lt;/P&gt;&lt;P&gt;    FOR ALL ENTRIES IN i_data&lt;/P&gt;&lt;P&gt;    WHERE kschl = 'PB00'&lt;/P&gt;&lt;P&gt;    AND   lifnr = i_data-lifnr&lt;/P&gt;&lt;P&gt;    AND   matnr = i_data-matnr&lt;/P&gt;&lt;P&gt;    AND   datab LE p_prsdt&lt;/P&gt;&lt;P&gt;    AND   datbi GE p_prsdt.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT i_a018 IS INITIAL.&lt;/P&gt;&lt;P&gt;      SORT i_a018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT knumh&lt;/P&gt;&lt;P&gt;             kbetr&lt;/P&gt;&lt;P&gt;      FROM konp&lt;/P&gt;&lt;P&gt;      INTO TABLE i_konp&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN i_a018&lt;/P&gt;&lt;P&gt;      WHERE knumh = i_a018-knumh&lt;/P&gt;&lt;P&gt;      AND kschl = 'PB00'&lt;/P&gt;&lt;P&gt;      AND loevm_ko NE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The i_data table is having apprx. 705000 materials. I scheduled the job for this program and it is running from last 4 days.&lt;/P&gt;&lt;P&gt;and i cant minimize the size of data as user wants to run it for all material. When i checked in the SM51 it is showing Action Sequential Read on Table KAPOL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is it mean my program is stuck at the Select query on A018. If so then what should i do to finished the job ASAP?&lt;/P&gt;&lt;P&gt;Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Abhishek Ingole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 10:04:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-20T10:04:39Z</dc:date>
    <item>
      <title>A018 Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a018-table/m-p/8094780#M1615805</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;I am extracting the data for the info record condition price from the table A018 like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT lifnr&lt;/P&gt;&lt;P&gt;           matnr&lt;/P&gt;&lt;P&gt;           knumh&lt;/P&gt;&lt;P&gt;    FROM a018&lt;/P&gt;&lt;P&gt;    INTO TABLE i_a018&lt;/P&gt;&lt;P&gt;    FOR ALL ENTRIES IN i_data&lt;/P&gt;&lt;P&gt;    WHERE kschl = 'PB00'&lt;/P&gt;&lt;P&gt;    AND   lifnr = i_data-lifnr&lt;/P&gt;&lt;P&gt;    AND   matnr = i_data-matnr&lt;/P&gt;&lt;P&gt;    AND   datab LE p_prsdt&lt;/P&gt;&lt;P&gt;    AND   datbi GE p_prsdt.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT i_a018 IS INITIAL.&lt;/P&gt;&lt;P&gt;      SORT i_a018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT knumh&lt;/P&gt;&lt;P&gt;             kbetr&lt;/P&gt;&lt;P&gt;      FROM konp&lt;/P&gt;&lt;P&gt;      INTO TABLE i_konp&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN i_a018&lt;/P&gt;&lt;P&gt;      WHERE knumh = i_a018-knumh&lt;/P&gt;&lt;P&gt;      AND kschl = 'PB00'&lt;/P&gt;&lt;P&gt;      AND loevm_ko NE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The i_data table is having apprx. 705000 materials. I scheduled the job for this program and it is running from last 4 days.&lt;/P&gt;&lt;P&gt;and i cant minimize the size of data as user wants to run it for all material. When i checked in the SM51 it is showing Action Sequential Read on Table KAPOL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is it mean my program is stuck at the Select query on A018. If so then what should i do to finished the job ASAP?&lt;/P&gt;&lt;P&gt;Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Abhishek Ingole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 10:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a018-table/m-p/8094780#M1615805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-20T10:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: A018 Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a018-table/m-p/8094781#M1615806</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;As far as i know you cannot do most to get the job finished until it gets finished by its own. But what you can try next time is that: select all the key fields from the A018 table though you donot require them. And also one more thing is that before you go for FOR ALL ENTRIES you should always sort the internal table which you are using by key fields and delete the adjacent duplicates comparing all fields of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkatesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 10:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a018-table/m-p/8094781#M1615806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-20T10:13:07Z</dc:date>
    </item>
  </channel>
</rss>

