<?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 single problem... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118530#M1187124</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;declare a work area for this instead of table and try appending to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT single bukrs hkont gjahr monat shkzg prctr FROM bsis INTO wa_itab&lt;/P&gt;&lt;P&gt;WHERE hkont IN hkont&lt;/P&gt;&lt;P&gt;AND bukrs IN bukrs&lt;/P&gt;&lt;P&gt;AND prctr IN prctr&lt;/P&gt;&lt;P&gt;AND gjahr IN gjahr&lt;/P&gt;&lt;P&gt;AND monat IN monat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S-&amp;gt;the wrokarea should have all the fields that u mentioned in ur quey in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2009 10:21:24 GMT</pubDate>
    <dc:creator>former_member404244</dc:creator>
    <dc:date>2009-01-28T10:21:24Z</dc:date>
    <item>
      <title>select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118528#M1187122</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;i have to take first value of table BSIS according to condition. i m using &lt;STRONG&gt;select single&lt;/STRONG&gt; statement in table BSIS, but problem is that i m getting the value only in header by which i m not able to apply loop at itab. can anyone please help me?&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;SELECT single &lt;STRONG&gt;bukrs hkont gjahr monat shkzg prctr&lt;/STRONG&gt; FROM bsis INTO itab&lt;/P&gt;&lt;P&gt;                                WHERE hkont IN hkont&lt;/P&gt;&lt;P&gt;                                AND   bukrs IN bukrs&lt;/P&gt;&lt;P&gt;                                AND   prctr IN prctr&lt;/P&gt;&lt;P&gt;                                AND   gjahr IN gjahr&lt;/P&gt;&lt;P&gt;                                AND   monat IN monat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here sy-subrc is 0. but value is only in header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards saurabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118528#M1187122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T10:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118529#M1187123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to APPEND the internal table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;APPEND itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118529#M1187123</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2009-01-28T10:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118530#M1187124</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;declare a work area for this instead of table and try appending to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT single bukrs hkont gjahr monat shkzg prctr FROM bsis INTO wa_itab&lt;/P&gt;&lt;P&gt;WHERE hkont IN hkont&lt;/P&gt;&lt;P&gt;AND bukrs IN bukrs&lt;/P&gt;&lt;P&gt;AND prctr IN prctr&lt;/P&gt;&lt;P&gt;AND gjahr IN gjahr&lt;/P&gt;&lt;P&gt;AND monat IN monat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S-&amp;gt;the wrokarea should have all the fields that u mentioned in ur quey in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:21:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118530#M1187124</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-01-28T10:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118531#M1187125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear Eric Cartman ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append is working only when i have single value in select-options. but when i m passing more than single value then its only appending first one. suppose i given 5 values of HKONT in select-options then i need 5 rows in itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest me accordingle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards saurabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118531#M1187125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T10:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118532#M1187126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;either declare itab with occurs 0 or create separate work area and append as shown above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118532#M1187126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T10:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118533#M1187127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, because you coded: SELECT SINGLE =&amp;gt; this means only one record will be selected, even if the conditions would allow more records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change the SELECT to: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT bukrs hkont gjahr monat shkzg prctr FROM bsis INTO TABLE itab...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you don't need APPEND, all lines will be selected directly to the internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118533#M1187127</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2009-01-28T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118534#M1187128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can you expect 5 records with select single ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118534#M1187128</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-01-28T10:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118535#M1187129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all thanx for reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually if i paas 5 diffrent values of HKONT in select-options then i need only 5 values in itab. when i use &lt;STRONG&gt;select bukrs hkont.....&lt;/STRONG&gt; then its taking number of records.&lt;/P&gt;&lt;P&gt;so plz tell me accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards saurabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118535#M1187129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T10:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118536#M1187130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE is used to get a unique record based on the key fields. In your select stmt you are using multiple values in your WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As pointed by Gautham, you want to select single record but your stmt will return multiple recs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;As per your post, plz remove the SELECT SINGLE and use SELECT into ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then SORT your table by HKONT &amp;amp; then DELETE ADJACENT DUPLICATES COMPARING hkont.&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jan 28, 2009 4:04 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Jan 28, 2009 7:40 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118536#M1187130</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-28T10:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118537#M1187131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then I would do this, but hope this is only for practice (at least I don't see the business relevance):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT hkont.
SELECT SINGLE bukrs hkont gjahr monat shkzg prctr FROM bsis INTO itab
WHERE hkont EQ hkont-low
AND bukrs IN bukrs
AND prctr IN prctr
AND gjahr IN gjahr
AND monat IN monat.
IF sy-subrc EQ 0.
APPEND itab.
ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again: SELECT in LOOP - don't use it in real programs, as I told I hope, this is only for practice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118537#M1187131</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2009-01-28T10:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118538#M1187132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT bukrs hkont gjahr monat shkzg prctr FROM bsis INTO table itab
WHERE hkont IN hkont
AND bukrs IN bukrs
AND prctr IN prctr
AND gjahr IN gjahr
AND monat IN monat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118538#M1187132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118539#M1187133</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;if you may get more than 1 record, then why use select single, especially when you are using "IN" operator? this query returns missing data even if you put single value to a non-key field, it gets the first suitable row and returns it back even if there are other rows that fits the selection criteria? create an internal table and change your query like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bukrs hkont gjahr monat shkzg prctr FROM bsis &lt;/P&gt;&lt;P&gt;INTO TABLE itab&lt;/P&gt;&lt;P&gt;WHERE hkont IN hkont&lt;/P&gt;&lt;P&gt;AND bukrs IN bukrs&lt;/P&gt;&lt;P&gt;AND prctr IN prctr&lt;/P&gt;&lt;P&gt;AND gjahr IN gjahr&lt;/P&gt;&lt;P&gt;AND monat IN monat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can loop at itab and process data as you like. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murat Kaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118539#M1187133</guid>
      <dc:creator>murat_kaya</dc:creator>
      <dc:date>2009-01-28T10:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118540#M1187134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better still if you try to SELECT into ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then SORT your table by HKONT &amp;amp; then DELETE ADJACENT DUPLICATES COMPARING hkont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also dont see any business relevance &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118540#M1187134</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-28T10:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118541#M1187135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have many number of records for that specific 5 HKONT values.&lt;/P&gt;&lt;P&gt;so in what way you want to restrict them ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

Total Posts:  287  
Total Questions:  160 (89 unresolved)  

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz be specific in question to expect better replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118541#M1187135</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-01-28T10:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118542#M1187136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello kaya and eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i m using this query then its taking too much time while i m giving only 3 values of HKONT in select-options. and after all its picking 14 same values from table BSIS. can u please tell me that how would i improve the performance of this query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards saurabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118542#M1187136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T10:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118543#M1187137</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;This is bound to happen if you do a SELECT inside a LOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric wrote:&lt;/P&gt;&lt;P&gt;"then I would do this, but hope this is only for practice (at least I don't see the business relevance)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118543#M1187137</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-28T10:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118544#M1187138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the idea from Suhas Saha, that might be faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 10:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118544#M1187138</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2009-01-28T10:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118545#M1187139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't know what your program does but if you process the data you retrieve from table bsis more than once, it may be useful to create your internal table identical to table bsis;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab like bsis occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then get all the data from table bsis to your internal table at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select * from bsis&lt;/P&gt;&lt;P&gt;    into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then process itab with your selection criteria as you wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avoid using the statement ...into corresponding fields of table (i assume you already are not using this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well i don't know what else you can do..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murat Kaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 12:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118545#M1187139</guid>
      <dc:creator>murat_kaya</dc:creator>
      <dc:date>2009-01-28T12:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: select single problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118546#M1187140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT single bukrs hkont gjahr monat shkzg prctr FROM bsis INTO  &lt;STRONG&gt;&lt;U&gt;table&lt;/U&gt;&lt;/STRONG&gt;  itab&lt;/P&gt;&lt;P&gt;WHERE hkont IN hkont&lt;/P&gt;&lt;P&gt;AND bukrs IN bukrs&lt;/P&gt;&lt;P&gt;AND prctr IN prctr&lt;/P&gt;&lt;P&gt;AND gjahr IN gjahr&lt;/P&gt;&lt;P&gt;AND monat IN monat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 13:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-problem/m-p/5118546#M1187140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T13:04:02Z</dc:date>
    </item>
  </channel>
</rss>

