<?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: How to avoid select single inside Loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970501#M948398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you should use READ statement only in that for first go you need to have values in some other variable.so can use if sy-subrc EQ 0..&amp;amp; exit from it...So that you can get only one value like SELECT SINGLE statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2008 12:22:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-19T12:22:32Z</dc:date>
    <item>
      <title>How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970497#M948394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         This is Pavan. I need to use select single inside a loop. Can anyone help me out inavoiding usage of select single inside Loop. for reference see the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM data_ssn .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;gt; if program is in test run mode then display&lt;/P&gt;&lt;P&gt;  LOOP AT i_hr INTO wa_hr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;gt; Read the Personnel number from pa0002&lt;/P&gt;&lt;P&gt;    SELECT SINGLE pernr FROM pa0002&lt;/P&gt;&lt;P&gt;                        INTO wa_hr1-pernr&lt;/P&gt;&lt;P&gt;                        WHERE perid = wa_hr-retiree_ssn.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   READ TABLE pa0002 INTO wa_hr1-pernr WITH TABLE KEY perid = wa_hr-retiree_ssn.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&amp;gt; Check sy-subrc&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;*&amp;gt; Read infotype  0000&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          pernr           = wa_hr1-pernr&lt;/P&gt;&lt;P&gt;          infty           = c_0000&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          infty_tab       = i_0000&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          infty_not_found = 1&lt;/P&gt;&lt;P&gt;          OTHERS          = 2.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;*&amp;gt; Sort Begda by Descending&lt;/P&gt;&lt;P&gt;      SORT i_0000 BY begda DESCENDING.&lt;/P&gt;&lt;P&gt;*&amp;gt; Read  Internal table&lt;/P&gt;&lt;P&gt;      READ TABLE i_0000 INTO wa_0000 INDEX 1.&lt;/P&gt;&lt;P&gt;*&amp;gt; Check if stat2 EQ 2&lt;/P&gt;&lt;P&gt;      IF wa_0000-stat2 EQ c_2.&lt;/P&gt;&lt;P&gt;*&amp;gt; Read Infotype  0001&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            pernr           = wa_hr1-pernr&lt;/P&gt;&lt;P&gt;            infty           = c_0001&lt;/P&gt;&lt;P&gt;            begda           = wa_0000-begda&lt;/P&gt;&lt;P&gt;            endda           = wa_0000-endda&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            infty_tab       = i_0001&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            infty_not_found = 1&lt;/P&gt;&lt;P&gt;            OTHERS          = 2.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;gt; Read  record form infotype 0001&lt;/P&gt;&lt;P&gt;        READ TABLE i_0001 INTO wa_0001 INDEX 1.&lt;/P&gt;&lt;P&gt;*&amp;gt; Check Employee Group&lt;/P&gt;&lt;P&gt;        IF wa_0001-persg EQ c_4 OR wa_0001-persg EQ c_6.&lt;/P&gt;&lt;P&gt;*&amp;gt; Read infotype  0105&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              pernr           = wa_hr1-pernr&lt;/P&gt;&lt;P&gt;              infty           = c_0105&lt;/P&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;P&gt;              infty_tab       = i_0105&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              infty_not_found = 1&lt;/P&gt;&lt;P&gt;              OTHERS          = 2.&lt;/P&gt;&lt;P&gt;          IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;gt; Read the record form infotype 0105&lt;/P&gt;&lt;P&gt;          READ TABLE i_0105 INTO wa_0105 WITH KEY usrty = c_9005.&lt;/P&gt;&lt;P&gt;*&amp;gt; Check sy-subrc&lt;/P&gt;&lt;P&gt;          IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;*&amp;gt; Move Communication ID/Number to Workcomp&lt;/P&gt;&lt;P&gt;            wa_hr1-workcomp = wa_0105-usrid .&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;*&amp;gt; Move the records SSN NAME MEDICAL_DED LIFE_DED PENSION_PLAN to Final&lt;/P&gt;&lt;P&gt;*&amp;gt; internal table&lt;/P&gt;&lt;P&gt;          MOVE : wa_hr-retiree_ssn TO wa_hr1-ssn,&lt;/P&gt;&lt;P&gt;                 wa_hr-retiree_name TO wa_hr1-name,&lt;/P&gt;&lt;P&gt;                 wa_hr-medical_ded TO wa_hr1-health_pre,&lt;/P&gt;&lt;P&gt;                 wa_hr-life_ded  TO wa_hr1-life_pre,&lt;/P&gt;&lt;P&gt;                 wa_hr-pension_plan TO wa_hr1-pension_plan.&lt;/P&gt;&lt;P&gt;          CLEAR wa_hr.&lt;/P&gt;&lt;P&gt;        ENDIF.&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;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;gt; Append Work area to Internal table&lt;/P&gt;&lt;P&gt;    APPEND wa_hr1 TO i_hr1.&lt;/P&gt;&lt;P&gt;    CLEAR wa_hr1.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970497#M948394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970498#M948395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you yourself have given the answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using SELECT SINGLE  retrieve all the personal number from P0002 in one shot outside the loop using FOR ALL ENTRIES of the internal tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use&lt;/P&gt;&lt;P&gt;READ TABLE pa0002 INTO wa_hr1-pernr WITH TABLE KEY perid = wa_hr-retiree_ssn. &lt;/P&gt;&lt;P&gt;within the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970498#M948395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970499#M948396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;U can use FOR ALL ENTRIES for that table on which are you looping and later on u can delete adjacent duplicates to remove multiple values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970499#M948396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970500#M948397</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; create an internal table it_pernr with the field pernr,&lt;/P&gt;&lt;P&gt;Use the below code and fill the internal table&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select pernr from pa0002 into table it_pernr for all entries in i_hr
where perid = i_hr-retiree_ssn.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now inside the loop use the read statment instead of select single&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Tamilselvan.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970500#M948397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970501#M948398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you should use READ statement only in that for first go you need to have values in some other variable.so can use if sy-subrc EQ 0..&amp;amp; exit from it...So that you can get only one value like SELECT SINGLE statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970501#M948398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970502#M948399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use the select statement with all entries clause .&lt;/P&gt;&lt;P&gt;and then use read statement in a loop. This will avoid hitting the database for each loop pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can write your code as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select pernr from pa002 into table pa002 for all entries in i_hr&lt;/P&gt;&lt;P&gt;where perid = i_hr-retiree_ssn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you can do your all operation by putting a loop on the internal table pa002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970502#M948399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970503#M948400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And what is so wrong about using SELECT SINGLE inside a LOOP, so long as it is an efficient and properly indexed SELECT SINGLE?  Doing this is sometimes a lot better than the cumbersome 'select everything you could ever possibly need into an itab and then read the itab' solution that is often proposed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970503#M948400</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-06-19T13:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970504#M948401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with you as long as the table is buffered. If it's not buffered according to technical settings, and it's not too large, I'd prefer buffering it myself in an internal, sorted table.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970504#M948401</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-06-19T13:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970505#M948402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if the table is not buffered, a properly indexed SELECT SINGLE can be very, very quick.  And you get only the single record you need at the time you need it rather than filling up your memory with an itab full of records all of which you don't need at the time and some of which you may not need at all.  It just feels cleaner somehow ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970505#M948402</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-06-19T13:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970506#M948403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True, it does not make sense to buffer 1,000 records if you only need 10 distinct ones along the way. There has been a suggestion in this thread to check whether the entry exists in the internal buffer table, if not SELECT SINGLE that one from the DB and insert it into the internal table according to sort key. I like that approach in this specific case. Again, this only applies to non-buffered tables.&lt;/P&gt;&lt;P&gt;I personally keep an eye on minimizing the trips to the database as much as possible, within a reasonable frame, of course.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: All this depends very much on the number of outer loops. If it's a few hundred, not worth bothering. If it's many thousands or even millions, it makes a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970506#M948403</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-06-19T13:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970507#M948404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd be more concerned about the logic. Why SELECT from PA0002 based only on PERNR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:10:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970507#M948404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T14:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970508#M948405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dunno, I'm having a general discussion here &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Isn't he selecting on PERID?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:16:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970508#M948405</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-06-19T14:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970509#M948406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good catch Thomas, but I think that makes it worse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970509#M948406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T14:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970510#M948407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, there is a secondary index "MCC" on PERID and PERMO...but it's non-unique...so SELECT SINGLE is not clean, you're right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970510#M948407</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-06-19T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970511#M948408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm astonished that anyone has actually bothered to read the code, considering the mess of the layout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970511#M948408</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-06-19T14:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970512#M948409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas - that was my point. Without specifying begin and end date, the results will not be predictable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christime - what can I say? It just jumped out at me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970512#M948409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970513#M948410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah, I don't know what's so difficult to put "" before and after those snippets...but for Rob it's early in the day, so he's fresh enough to wade through it &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970513#M948410</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-06-19T14:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid select single inside Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970514#M948411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wading not required. It's right at the top. No idea though what you'd find further down. Probably not worth wasting more time on though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 14:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-select-single-inside-loop/m-p/3970514#M948411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T14:35:04Z</dc:date>
    </item>
  </channel>
</rss>

