<?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: Modifying Query program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274009#M494271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Why you modified the Query program?&lt;/P&gt;&lt;P&gt;Were the needed fields which you added were not there in those tables&lt;/P&gt;&lt;P&gt;You can verywell change the query/infosets and add the fields/delete the fields as per you requirement?&lt;/P&gt;&lt;P&gt;Better to change the query/infoset instead of modifying the query related program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to read the Tables in the loop with the correct key fields to avoid time taking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2007 09:24:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-29T09:24:06Z</dc:date>
    <item>
      <title>Modifying Query program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274008#M494270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I modifed the query genarated program(copied to SE38), by adding additional 2 fields.. the performance of the program became very bad..&lt;/P&gt;&lt;P&gt;the actual program is taking 44 seconds.. where as modified program is taking &lt;/P&gt;&lt;P&gt;1600 seconds.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I tried to find the problem, the data selection(select stmts)  is very fast.. but the read statements inside the loop taking very much time eventhough I used binary search or hashed key internal table.. even the display statements also taking very long time..(The records it is printing is 40k).. so in debugging I am not finding any difference..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution for this.. what might be the actuall problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me..&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 09:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274008#M494270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T09:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Query program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274009#M494271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Why you modified the Query program?&lt;/P&gt;&lt;P&gt;Were the needed fields which you added were not there in those tables&lt;/P&gt;&lt;P&gt;You can verywell change the query/infosets and add the fields/delete the fields as per you requirement?&lt;/P&gt;&lt;P&gt;Better to change the query/infoset instead of modifying the query related program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to read the Tables in the loop with the correct key fields to avoid time taking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 09:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274009#M494271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T09:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Query program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274010#M494272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looping at the internal table with header line and which container k's of record then will need(take) lot of time to be printed, what you can do is you can use fieldsymbols or workarea to reduce a bit of run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 09:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274010#M494272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T09:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Query program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274011#M494273</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 added the fields PO Released person name, where I can find this value from CDPOS and CDHDR.. I added some fields by adding to field groups of query.. those are not causing problem.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I tried to add PO Released Person it is giving problem..&lt;/P&gt;&lt;P&gt;how to change the query infoset for this field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 10:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-query-program/m-p/2274011#M494273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T10:00:31Z</dc:date>
    </item>
  </channel>
</rss>

