<?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: about select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1623445#M278732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jagadish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code1 -&amp;gt;hkont between gr_hkont-low and gr_hkont-high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it means it will not consider gr_hkont-low and gr_hkont-high, only the values in btwn them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code2 -&amp;gt;hkont in gr_hkont it means , its considering both gr_hkont-low and gr_hkont-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thsts the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls mark points if helepd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Sep 2006 06:46:09 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-09-24T06:46:09Z</dc:date>
    <item>
      <title>about select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1623444#M278731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the below code when i use the code2 performance is very poor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with code1 perfomance is good but iam getting the no of records is little more in code 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example with code1 iam getting 20100 records &lt;/P&gt;&lt;P&gt;with code2 iam getting 20000 only &lt;/P&gt;&lt;P&gt;actually the code2 is correct way of getting the records but i want to improve the performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to chage the select-option into parameter without duplicates &lt;/P&gt;&lt;P&gt;below i want to change gr_hkont into parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code1............&lt;/P&gt;&lt;P&gt;  loop at gr_hkont.&lt;/P&gt;&lt;P&gt;  SELECT bukrs hkont gjahr belnr buzei budat shkzg gsber dmbtr&lt;/P&gt;&lt;P&gt;          aufnr bewar vbund monat&lt;/P&gt;&lt;P&gt;          into table t_glall&lt;/P&gt;&lt;P&gt;          FROM bsis&lt;/P&gt;&lt;P&gt;          WHERE bukrs IN s_bukrs&lt;/P&gt;&lt;P&gt;                AND hkont between gr_hkont-low and gr_hkont-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     delete t_glall where budat not between g_firstday and g_lastday.&lt;/P&gt;&lt;P&gt;        append lines of t_glall to t_glall1.&lt;/P&gt;&lt;P&gt;        endloop.&lt;/P&gt;&lt;P&gt;   delete adjacent duplicates from t_glall1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code2.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     SELECT bukrs hkont gjahr belnr buzei budat shkzg gsber dmbtr&lt;/P&gt;&lt;P&gt;         aufnr bewar vbund monat&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE t_glall&lt;/P&gt;&lt;P&gt;    FROM bsis&lt;/P&gt;&lt;P&gt;    WHERE bukrs IN s_bukrs&lt;/P&gt;&lt;P&gt;      AND hkont in gr_hkont&lt;/P&gt;&lt;P&gt;      AND budat &amp;gt;= g_firstday&lt;/P&gt;&lt;P&gt;      AND budat &amp;lt;= g_lastday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please send me  where the no of records getting the difference and how can we get the same no of recs&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;jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2006 02:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1623444#M278731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-24T02:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: about select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1623445#M278732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jagadish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code1 -&amp;gt;hkont between gr_hkont-low and gr_hkont-high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it means it will not consider gr_hkont-low and gr_hkont-high, only the values in btwn them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code2 -&amp;gt;hkont in gr_hkont it means , its considering both gr_hkont-low and gr_hkont-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thsts the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls mark points if helepd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2006 06:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1623445#M278732</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-24T06:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: about select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1623446#M278733</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;&lt;/P&gt;&lt;P&gt;Code1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the select statment from the loop.And u can use for all entries in stament.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;SELECT bukrs hkont gjahr belnr buzei budat shkzg gsber dmbtr&lt;/P&gt;&lt;P&gt;aufnr bewar vbund monat&lt;/P&gt;&lt;P&gt;into table t_glall&lt;/P&gt;&lt;P&gt;FROM bsis for all entries in gr_hkont&lt;/P&gt;&lt;P&gt;WHERE bukrs IN s_bukrs&lt;/P&gt;&lt;P&gt;AND hkont between gr_hkont-low and gr_hkont-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code2:&lt;/P&gt;&lt;P&gt;Please let me know waht condition u want there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check and let me knww.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 04:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/1623446#M278733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T04:35:27Z</dc:date>
    </item>
  </channel>
</rss>

