<?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: select command on dfkkop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871234#M1477170</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;please post your execution plan and table and index statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime figures from ST05 (number of records selected, time, ...) would be interesting as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 May 2010 13:22:34 GMT</pubDate>
    <dc:creator>HermannGahm</dc:creator>
    <dc:date>2010-05-12T13:22:34Z</dc:date>
    <item>
      <title>select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871233#M1477169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just started learning ABAP and thankfull for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When do a selection over the DFKKOP Table by using one of its Indizes (AUGST, VKONT, BUKRS and AUGDT) it still takes 2 Minutes to get results when testing in a real-data-environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select * from dfkkop into table tab_dfkkop&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;    &lt;EM&gt;where augst ne 9&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;    &lt;EM&gt;and vkont = p_vkont&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;    &lt;EM&gt;and bukrs = p_bukrs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;    &lt;EM&gt;and augdt &amp;lt;= sy-datum.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to get my code more efficient?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;beckersk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871233#M1477169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T13:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871234#M1477170</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;please post your execution plan and table and index statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime figures from ST05 (number of records selected, time, ...) would be interesting as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871234#M1477170</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2010-05-12T13:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871235#M1477171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hermann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your fast help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean with "execution plan and table and index statistics"? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;beckersk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871235#M1477171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T13:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871236#M1477172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The augst ne 9 is probably causing the problem. Change this to augst eq space and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871236#M1477172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T13:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871237#M1477173</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;&amp;gt; What do you mean with "execution plan and table and index statistics"? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the content you get when you click on "explain" for the statement in the SQL trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a little description how and where to get an execution plan generally:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/hermann.gahm/blog/2010/03/04/explaining-the-explain-plan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:34:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871237#M1477173</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2010-05-12T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871238#M1477174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; What do you mean with "execution plan and table and index statistics"? &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN __default_attr="green" __jive_macro_name="color"&gt;Moderator message - Welcome to SCN.

Unfortunately, this forum is not a place to learn ABAP. I suggest that you get one of the good ABAP books that are out there and maybe join an internet forum that caters to beginners

Also please read &lt;SPAN __jive_macro_name="thread" id="927634"&gt;&lt;/SPAN&gt; and &lt;SPAN __jive_macro_name="thread" id="1283414"&gt;&lt;/SPAN&gt; before posting

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871238#M1477174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T13:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871239#M1477175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; "The augst ne 9 is probably causing the problem. Change this to augst eq space and see what happens."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;says the experienced developer with application knowledge. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like those situations where try to apply pure "dumb" technical analysis and methods and then an experienced&lt;/P&gt;&lt;P&gt;developer with application knowledge says something like you did. Often enough they know quick and efficient&lt;/P&gt;&lt;P&gt;changes (e.g. seleting other tables, not selecting tables at all, ...) that are just not "visible" for us technology guys &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871239#M1477175</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2010-05-12T13:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: select command on dfkkop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871240#M1477176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot - your "space-tip" worked perfectly. Now the selection needs only 1 -1 2 secs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks both of you for your help. If I might have posted in a wrong manner or way, I'm sorry and I'll try to obey the rules the next time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;beckersk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-command-on-dfkkop/m-p/6871240#M1477176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T13:50:46Z</dc:date>
    </item>
  </channel>
</rss>

